You are on page 1of 2

CSE 370– Database Systems

Assignment 4
Summer 2022

Submission Instructions:
1. DO NOT add any additional cover page, simply write your name, id, section on top of the
first page and start writing your answer from below it.
2. Submit soft copy in the following link: https://forms.gle/xYFDki16jhDzDU319
3. Submission Deadline: 31st August, 2022
4. NO LATE SUBMISSION WILL BE ACCEPTED

Question 1 [10 Marks]

Find out which of the following dependencies are valid or not. For each dependency, briefly
write the reasons.
A. X -> YZ
B. X -> Z
C. XY -> A
D. A -> XYZ
E. YZ -> X
Question 2 [10 Marks]
Consider the following relation:
Computer_Repair(Comp_ID, Engineer_ID, Customer_name, Engineer_Name, Date_Assigned,
Date_Repaired, Issue, Priority_Level, Service_Charge, Commission_Percentage,
Total_Repairs)

The primary key of the relation is underlined

The relation has the following additional functional dependencies:

FD1: Engineer_ID→ Engineer_Name, Total_Repairs, Commission_Percentage


FD2: Comp_ID → Customer_name, Issue, Priority_Level, Service_Charge
FD3: Priority_Level → Service_Charge
FD4: Total_Repairs → Commission_Percentage

i. Give reasons to explain if this is in 1NF or not. If not, decompose it to 1NF. [2]
ii. Give reasons to explain if this is in 2NF or not. If not, decompose it to 2NF. [4]
iii. Give reasons to explain if this is in 3NF or not. If not, decompose it to 3NF. [4]

----------------------------------------------------------------------------------------------------

You have to make a PDF file containing your student id, section, name and the solution
of the problems. Then you will submit the pdf using the link provided above.

You might also like