0% found this document useful (0 votes)
38 views

CUIT 201 Assignment3 March2023

This document provides instructions for a group assignment on database systems due on March 17th at 1400 hours. It contains 4 questions regarding normalization of relations and functional dependencies. Question 1 involves determining attribute closure, using Armstrong's axioms, and finding candidate keys. Question 2 asks to find a minimal cover of functional dependencies for a given relation. Question 3 involves normalizing a table to 1NF and 2NF and identifying functional dependencies and the primary key. Question 4 determines functional dependencies, identifies the primary key, states the highest normal form, and explains anomalies from updates, deletions, and insertions before decomposing the relation to 3NF and BCNF.

Uploaded by

crybert zinyama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

CUIT 201 Assignment3 March2023

This document provides instructions for a group assignment on database systems due on March 17th at 1400 hours. It contains 4 questions regarding normalization of relations and functional dependencies. Question 1 involves determining attribute closure, using Armstrong's axioms, and finding candidate keys. Question 2 asks to find a minimal cover of functional dependencies for a given relation. Question 3 involves normalizing a table to 1NF and 2NF and identifying functional dependencies and the primary key. Question 4 determines functional dependencies, identifies the primary key, states the highest normal form, and explains anomalies from updates, deletions, and insertions before decomposing the relation to 3NF and BCNF.

Uploaded by

crybert zinyama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CUITM 201 Database Systems Group Assignment 3

Due date 17 March 2023 @1400hrs


Instructions

 Submit hardcopy to class rep before 1400 hours


 Maintain groups from previous assignments

Question 1
Given a relation schema R(A,B,C,D) and a set of FDs F= {A →B, B→C, C→D }
a) Determine attribute closure for attribute C [2]
b) Use Armstrong’s Axioms to show that AD [3]
c) Determine candidate key(s) for R [4]

Question 2
Consider relation R(ABCDE) with a set of FDs that hold on R:
F= {A → C, AC → B, BC → A, D → CE}
Find the minimal set of F. [10]

Question 3
Use the Part table given below to answer questions below
Part
PartNum Description VendorName VendorAddress VendorCity UnitCost
A1234 DRAM chip Keisy Tech 123 Mukwa Chinhoyi 10.00
street
Smart 5 Hove street Harare 12.00
Technologies
ABC Chips 25 Main street Masvingo 10.00
B5678 CPU Chip Keisy Tech 123 Mukwa Chinhoyi 25.00
street
Smart
Technologies 5 Hove street Harare 20.00
C1233 Logic Chip Mega Chips 6 Hove Street Harare 15.00
a) Normalise table to 1NF [5]
b) Specify all the FDs for table in a) [6]
c) Determine the primary key for table in a) [2]
d) Normalise the table in a) to 2NF [6]

Question 4
Project Project Project Project Employee Employee Dept Dept Name Hr
Code Title Manager Budget No Name No Rate

1
PC010 Pensions M. Phillips 24.500 S10001 A. Smith L004 IT 22.00
System
PC010 Pensions M. Phillips 24.500 S10030 L. Jones L023 Pensions 18.00
System
PC010 Pensions M. Phillips 24.500 S21010 P. Lewis L004 IT 21.00
System
PC010 Pensions M. Phillips 24.500 S00232 R. Smith L003 Programming 26.00
System

a) Determine all FDs that hold on the Project Management relation given above [10]
b) Determine primary key for the relation [2]
c) State and justify the highest normal form of the Project Management Table [2]
d) Use the table to explain the following anomalies
i. Insertion [3]
ii. Deletion [3]
iii. Update [3]
e) Perform a loss less decomposition of Project Management relation into
i. 3NF [5]
ii. BCNF [5]

You might also like