3. Draw the ER diagram for the following mini-world: Music companies keep data about each MUSICIAN, such as the name (which is unique), birthplace, birthdate, and the music genre. In addition, the pieces of MUSIC produced by the MUSICIAN is stored. For each piece of MUSIC, the production year, the unique title, the genre (e.g., Pop, Rock, Jazz, Blues), and production cost is stored. Companies also keep data about each ALBUM which typically contains several pieces of MUSIC. Each ALBUM is identified by a unique name. Finally, music companies keep data about each CLIENT, including a unique client id, name, address, and the MUSICIAN and ALBUM that the client tends to like. 4. Draw an EER diagram for a DVD rental COMPANY where people can borrow movie DVDs. The data requirements are summarized as follows: • The COMPANY has a unique name and manages several OFFICES each of which with an address and a unique number. Each office can be either a MAIN OFFICE or a BRANCH OFFICE. • Each DVD is described by a unique code number, a title and a producer. A DVD has COPY and the COMPANY may own one or more than one COPY of a DVD. The price that was paid for each COPY is recorded. • A BORROWER who has a unique ID, can borrow a COPY of a DVD.
Added by Justin S.
Close
Step 1
For the first question, we need to identify the entities and their attributes: Entities: Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 87 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Akash M.
From The ER Diagram, Fill in the blanks: Match A-M to the correct statements: 1) ____ Manufacturer entity type 2) ____ Computer Part entity type 3) ____ 'Makes' relationship type 4) ____ Production Date attribute of Makes 5) ____ primary key attribute of Manufacturer will be: 6) ____ primary key attribute of ComputerPart will be: 7) ____ the total participation constraint on the Makes relationship type 8) ____ the key constraint on the Makes relationship type List of options: A. becomes a productionDate attribute in Manufacturer B. becomes a foreign key in Manufacturer that references ComputerPart C. name D. is mapped as a relation Makes with attribute productionDate E. cannot be captured in the relational schema F. becomes a foreign key in ComputerPart that references Manufacturer G. is mapped as a relation with attributes Barcode and Price H. barcode I. is captured as a NOT NULL constraint on the foreign key J. makes this relationship a many-to-many relationship which must be mapped as a separate relation K. id L. makes this relationship a one-to-many relationship which must be mapped as a foreign key M. is mapped as a relation with attributes Name and Address N. becomes a productionDate attribute in ComputerPart producedDate name Manufacturer ComputerPart barcode address price
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD