Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Database Exercise: book authors Refer back to the library book exercise below if necessary . Remember that we couldnt include authors in the CatalogEntry class

Database Exercise: book authors

Refer back to the library book exercise below if necessary. Remember that we couldnt include authors in the CatalogEntry class because there might be more than one author for each book.

In a real (old-fashioned) library catalog, there was an additional card for each author of a book. (Author and title cards were contained in different sets of card drawers.)

Design a class diagram that shows the catalog entry plus authors, the attributes of each class, and the association between the classes.

Describe each class in English.

Draw the class diagram.

Describe each association in English (both directions).

Draw the relation scheme.

Your first version of this model might not have included a way to identify which author should be listed first, second, and so on. In real life, authors are very sensitive about this. Revise your model if necessary to accommodate this requirement.

Reference to Library Book Exercise:

image text in transcribed

Exercise: library books You are building a very simplified beginning of the database for a library. The library, of course, owns (physical) books that are stored on shelves and checked out by customers. Each of these books is represented by a catalog entry (now in the computer, but think of an old-fashioned card file as a model of this). Assume that there is only one "title" card for each book in the catalog, but there can be many physical copies of that book on the shelves. Call the title card class a "CatalogEntry" and the physical book class a "Bookonshelf." You might think of the book's publisher as a simple attribute of the catalog entry-but in fact, the library will probably want to know more than just the publisher's name (for example, the phone number where they can contact a sales representative) Describe each class in English. Draw the class diagram Describe each association in English (both directions) Draw the relation scheme. The solution to this exercise will be discussed in class or online at a later date

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

3rd Edition

0471418455, 978-0471418450

More Books

Students also viewed these Databases questions

Question

What are the potential downsides to firm growth?

Answered: 1 week ago

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago