Page 32 - AIS access_chang_ingraham
P. 32
30 CHAPTER 2 DATA MODELS AND RELATIONAL DATABASES
(c) Each table must have a primary key and a foreign key.
(d) Two of the above are correct.
(e) None of the above is correct.
2.2 In designing a database, what is the entity integrity rule?
(a) The primary key in a table should not be null.
(b) The foreign key in a table should not be null.
(c) Each table must have a primary key and a foreign key.
(d) Two of the above are correct.
(e) None of the above is correct.
2.3 Which table has repeating groups?
(a) Student Table (Student ID, Student Name, Major, GPA)
(b) Student Table (Student ID, Student Name, Major, Course#, Course Title)
(c) Student Table (Student ID, Student Name, Major, Faculty Advisor)
(d) Two of the above have repeating groups.
(e) None of the above have repeating groups.
2.4 Which table has transitive dependency?
(a) Student Table (Student ID, Student Name, Major, Courses Taken, Grade)
(b) Student Table (Student ID, Student Name, Major, Course#, Course Title, Grade)
(c) Student Table (Student ID, Student Name, Major, Faculty Advisor, Faculty Office#)
(d) Two of the above have transitive dependency.
(e) None of the above have transitive dependency.
2.5 How many tables are necessary to build a database according to the following data model?
(a) 6
(b) 7
(c) 8
(d) 9
(e) 10
Inventory Sale
Cash
(Bank Cash
Account) Receipt
Cashier

