

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 - Urbana-Champaign; Term: Unknown 2006;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Out: 28th^ January, 2006. Due date: At the beginning of the lecture on 7th^ February, 2006. Please submit a hard copy of your homework. Bring it down to the lecture table (the one with the PC that I use to display the slides).
The hard copy should be as clearly readable as possible. You may be subtracted points for unreadability and ugly presentation.
Off-campus students: You should e-mail your solutions to Yoonkyong Lee in the pdf format. Send the pdf file as attachment with your email by 2 PM UIUC time (CST). Off-campus students in other time zones should note that the deadline is according to CST.
Please note: Late homework will not be accepted, barring exceptional circumstances.
Goal of this homework: To get you to practice and learn important concepts in conceptual design with ER model, and to get started on relational model.
Problem 1. (25 points) Consider the database of an online bookstore.
Design an ER diagram for such a bookstore. You are NOT required to identify keys or constraints for this problem.
Problem 2. (25 points) You are hired as a database consultant for an art gallery. In this problem, you have to design the ER diagram for their database. The information that galleries need to store are as follows:
Draw the ER diagram for the database. You are NOT required to identify keys or constraints for this problem.
Problem 3. (25 points) For this problem, duplicate the ER diagram you designed for Problem 2, and modify it to include following constraints. You have to submit only one ER diagram that includes all of the following constraints.
a) Identify keys for the entity sets. b) A piece of artwork is classified into at most one group. c) Each artwork has been painted by exactly one artist.
Problem 4. (10 points) We can convert any weak entity set to a strong entity set by adding appropriate attributes. What are these attributes? What is the resulting problem when we add these attributes?