

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Database Systems; Subject: Computer Science; University: University of Illinois - Chicago; Term: Unknown 1989;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


If you make any assumption, you need to explain it and ensure that it is reasonable.
Consider a business that rents movies (like Blockbuster). The business owns a number of stores at variou locations. Each store has a name(which is unique), location and one or more telephone numbers. Each movie is iden- tified by its name, and it also has one or more actors/actresses. Each movie belongs to some category, and one category can be a subcategory of another. Each movie has 1 to n copies in stores. In one specific store, the copies of one movie are identified by their serial numbers. Copies of one movie in different stores may have the same serial number. Customer borrow copies of movies, they are identified by their SSN. The information about each customer such as name, birthday, and age are stored in the system. The borrowing date and due date of each copy when it is borrowed is also included. (a) Identify the entity sets. For each entity set, identify the primary key. (b) Identify the relationship sets. For each relationship set, indicate the cardinality and other features, if there is any. (c) Draw an ER diagram to include the above information.
If you make any assumption, you need to explain it and ensure that it is reasonable.
Please specify in English the Campus Building system whose ER model is given in Figure 1. Describe all the information that you can gather from the diagram.
Location Name
Phone Building
street name
gender
street#
used_by
Room Size
Course
DoB Age
SSN name
instruct professor
name dept
call__ID
Room#
part_of
Figure 1: Campus Building System
Design an E-R diagram to model a college described below. (a) There are several departments in a college, and each of them has a unique name, one or more telephone numbers, and an address. (b) Each department gives some number of courses. Each course has a course number which can be used to identify a course only inside of the same department. Each course has its schedule and a certain number of credits. Each course is hold in some location in the campus, and uses 1 or more textbooks. (c) Students are identified by their SSN, other information such as name, date of birth, and age are also recorded. Each student belongs to one de- partment. Students take courses, and get scores for the courses they are taking. (d) Each course is instructed by one and only one professor. Professors are also identified by their SSN, other information such as name, date of birth and age are still recorded. Each professor belongs to one or more depart- ments.