[SOLVED] Assignment #4 COMP 440

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon ass4-moo8gz.zip (1187.7 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Problem 1) 20 points

Given the relational schema R(A, B, C, D, E, F, H) with the following functional dependencies.

Determine which of the following dependencies are implied by the inference axioms (Armstrong).

State the appropriate axioms if the dependency is implied.

A β†’ D, AE β†’ H, DF β†’ BC, E β†’ C, H β†’ E

  1. A β†’ AD
  2. A β†’ DH
  3. AED β†’ C
  4. DH β†’ C
  5. ADF β†’ E

Β 

Problem 2) – 35 points

Describe and illustrate the process of normalizing (step by step) the table shown below to BCNF. State any assumptions you make about the data shown in this table. Indicate the Primary Keys (PK) as well as the Foreign Keys (FK) for each new relations.

FD1: NIN, contarctNo β†’ hours

FD2: NIN β†’ eName

FD3: contarctNo β†’ hotelNo, hotelLocation

FD4: hotelNo β†’ hotelLocation

Β 

Β 

Problem 3) – 45 points

Describe and illustrate the process of normalizing (step by step) the table shown below to BCNF. State any assumptions you make about the data shown in this table. Indicate the Primary Keys (PK) as well as the Foreign Keys (FK) for each new relations.

Β 

FD1: staffNo, appDate, appTime β†’ patientNo, patientName

FD2: staffNo β†’ dentistName

FD3: patientNo β†’ patientName, surgeryNo

FD4: staffNo, appDate β†’ surgeryNo

FD5: patientNo, appDate, appTime β†’ staffNo, dentistName

Β 

  • ass4-moo8gz.zip