Question: Consider the following data schema that defines a library. Library Available Books : P Book Reviewed By: Book + PReviewer Categorized As : Book +
Consider the following data schema that defines a library. Library Available Books : P Book Reviewed By: Book + PReviewer Categorized As : Book + PCategory dom Reviewed By C Available Books dom Categorized As Available Books where the function Reviewed By provides the reviewerss of a book, and the function Categorized As provides the categories to which belongs a book. (a) Give the specification of the operation Add Book that adds to the library a given book reviewed by a given set of reviewerss and that belongs to a given set of categories. (b) Give the specification of the operation Search that returns the set of available books in the library that belong to a given category
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
