60 likes | 440 Views
MIS 320. Quiz 2 (Database Design) . Instructions. Write your student number (not your name) on a piece of paper. This quiz contains four situations. Each is a set of sample data that has been arranged in a database table. Each of these contains an error.
E N D
MIS 320 Quiz 2 (Database Design)
Instructions • Write your student number (not your name) on a piece of paper. • This quiz contains four situations. • Each is a set of sample data that has been arranged in a database table. • Each of these contains an error. • Your job is to identify the error (2 pts.) and suggest a solution (½ pt.). • You may use any notes you have made and the class lecture notes. • Each situation will be visible for 3 minutes [in this demo version, press enter to advance].
This is a derived attributeand should be removed. 1. Activity Table
This attribute does not depend on theprimary key (Department) and should be moved to a different table. 2. Department Table
This is a repeating group and should be moved to a new entity. 3. Employee Table
There is a M:M relationship between drinks and ingredients which requires a new entity (ingredients) and an intersection table. 4. Bartender’s Table