CS 4347 — Database Systems, Homework 2

Download PDF

Zelda has a large DVD movie collection. Her friends like to borrow her DVD’s, and she needs a way to keep track of who has what. She maintains a list of friends, identified by unique FID’s (friend identifiers) and a list of DVD’s, identified by DVDID’s (DVD identifiers). With each friend is the name and the all-important telephone numbers which she can call to get the DVD back. With each DVD is the star actor name and title. Whenever a friend borrows a DVD, Zelda will enter that fact into her database along with the date borrowed. Whenever the DVD gets returned, that fact, too, gets noted along with the date returned. Zelda wants to keep a complete history of her friends’ borrowing habits so that she can ask favors of the heavy borrowers (or perhaps refuse to make further loans to those who habitually don’t return them quickly). Below is an ER diagram for a database to help Zelda out. Provide appropriate names for entities E1, E2; attributes A1, A2, A3, A4, A5, A6, relationship R1, keys K1, K2, and structural constraints C1min, C1max, C2min, C2max.

[10 points] Consider the ERD shown below for a Scholarship Application Database, which stores data about each individual application that the HGL Young Bowlers Foundation receives. Write any 4 business rules for this database.

Draw an Entity Relationship (ER) diagram that captures the following information:

[10 points] Carter blood bank depends on a number of different types of persons for its successful operation. Draw an Enhanced Entity Relationship (EER) diagram based on the below requirements: