Docsity

CS6400 Database Concepts and Design Final Exam Questions - Prof. Shamkant Navathe, Exams of Computer Science

Toggle sidebar
bg1
N O N A M E P L E A S E
๎˜‰ ๎˜‰ ๎˜‰ ๎˜‰ ๎˜‰ ๎˜‰ Your SSN (last 4 digits):__________
CS6400: Database Concepts and Design (Navathe)
Final Exam โ€“ April 30 2002
Total Points: 70
Notes:
1. ๎˜‰ Please write only the last 4 digits of your SSN on the answer book. (No
names anywhere, please). Please write your SSN on this exam and return it too.
2.๎˜‰ Try to give precise, yet complete answers. Whenever you need to make any
assumptions, state them and proceed.
Questions:
1.๎˜‰relational model, dependencies
2.๎˜‰normalization and decomposition
3.๎˜‰query optimization
4.๎˜‰transaction processing
5.๎˜‰concurrency control
Question 1: Functional Dependencies / Relational Model ( 9 pts.)
(a)๎˜‰( 4 pts.)Given the set F: {BC->DE, A->B, AB->E, AE->H}, compute the
cover (AC)+.
(b)๎˜‰ ( 5 pts.) Find a minimum cover for the set of FDs:
G = {A->C, AB->C, C->DI, CD->I, EC->AB, EI->C}
Question 2: Normalization/ Decomposition (22 pts.)
a. ( 8 pts.)Consider the relation in an airline database:
RESERVATION (Flight #, Pass_name, Pass_phone, Date, City_of_origin, ๎˜‰ ๎˜‰
๎˜‰ Seat#, Frequent_flyer_id)
Assume that Pass_name gives unique passenger names.
Following F.d.'.s exist:
๎˜‰ Flight# -------> City_of_origin
๎˜‰ Flight#, Date, Seat # ----------> Pass_name
๎˜‰ Flight#, Date, Pass_name -----------> Seat#

Partial preview of the text

Download CS6400 Database Concepts and Design Final Exam Questions - Prof. Shamkant Navathe and more Exams Computer Science in PDF only on Docsity!

N O N A M E P L E A S E

Your SSN (last 4 digits):__________

CS6400: Database Concepts and Design (Navathe) Final Exam โ€“ April 30 2002 Total Points: 70

Notes:

  1. Please write only the last 4 digits of your SSN on the answer book. (No names anywhere, please). Please write your SSN on this exam and return it too.
  2. Try to give precise, yet complete answers. Whenever you need to make any assumptions, state them and proceed.

Questions:

  1. relational model, dependencies
  2. normalization and decomposition
  3. query optimization
  4. transaction processing
  5. concurrency control Question 1: Functional Dependencies / Relational Model ( 9 pts.)

(a) ( 4 pts.)Given the set F: {BC->DE, A->B, AB->E, AE->H}, compute the cover (AC)+.

(b) ( 5 pts.) Find a minimum cover for the set of FDs: G = {A->C, AB->C, C->DI, CD->I, EC->AB, EI->C}

Question 2: Normalization/ Decomposition (22 pts.)

a. ( 8 pts.)Consider the relation in an airline database:

RESERVATION (Flight #, Pass_name, Pass_phone, Date, City_of_origin, Seat#, Frequent_flyer_id)

Assume that Pass_name gives unique passenger names.

Following F.d.'.s exist:

Flight# -------> City_of_origin Flight#, Date, Seat # ----------> Pass_name Flight#, Date, Pass_name -----------> Seat#