Question: EIE 3 3 4 3 Question 1 : Functional Dependency and Normalization ( 3 0 marks ) The FD diagram below depicts relationships among attributes
EIE
Question : Functional Dependency and Normalization marks
The FD diagram below depicts relationships among attributes in an order entry database. It shows FDs with determinants CustNo, OrderNo, ItemNo, the combination of OrderNo and ItemNo, the combination of ItemNo and PlantNo, and the combination of OrderNo and LineNo. In the bortom FDs the combination of LineNo and OrderNo determines ItemNo and the combination of Onden No stad ltemiVo determines LineNo.
a Convert the dependency diagram into a list of dependencies organized by LHSs marks
b Using the FD diagram and the FD list the solution of a as guidelines, make a table with sample data. There are two candidate keys for the underlying table: the combination of OrderNo, ItemNo, and PlantNo and the combination of OrderNo, LineNo, and PlantNo. Using sample data, identify insertion, update, and deletion anomalies in the table. marks
c Derive NF tables starting with the FD list from the answer of a and b marks
d Derive NF tables starting with the FD list from the answer of a and the NF tables from c marks
e Find out the possible BCNF tables with the information in a to d marks
f Modify your table design if the shipping address ShipAddr attribute determines customer number CustNo Do you think that this additional FD is reasonable? Briefly explain. marks
Question : Functional Dependency and Normalization marks
The FD diagram below depicts relationships among attributes in an order entry database. It shows FDs with determinants CustNo, OrderNo, ItemNo, the combination of OrderNo and ItemNo, the combination of ItemNo and PlantNo, and the combination of OrderNo and LineNo. In the bottom FDs the combination of LineNo and OrderNo determines ItemNo and the combination of OrderNo and ItemNo determines LineNo.
a Convert the dependency diagram into a list of dependencies organized by LHSs marks
b Using the FD diagram and the FD list the solution of a as guidelines, make a table with sample data. There are two candidate keys for the underlying table: the combination of OrderNo, ItemNo, and PlantNo and the combination of OrderNo, LineNo, and PlantNo. Using sample data, identify insertion, update, and deletion anomalies in the table. marks
c Derive NF tables starting with the FD list from the answer of a and b marks
d Derive NF tables starting with the FD list from the answer of a and the NF tables from c marks
e Find out the possible BCNF tables with the information in a to d marks
f Modify your table design if the shipping address ShipAddr attribute determines customer number CustNo Do you think that this additional FD is reasonable? Briefly explain. marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
