Вы находитесь на странице: 1из 2

ShaheedZulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Total Marks: 04

Obtained Marks:

Database Systems
Assignment # 04
Last date of Submission: 6th May, 2019

Submitted To: Aunsia Khan


______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Student Name: _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Reg Number: _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Database Systems BS(CS)-4 SZABIST-ISB


ShaheedZulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT


 Late submissions will result in marks deduction.
 Hand written assignments are should be on A4 page.
 If you have any questions, you can e-mail it on mailto:aunsia.khan@szabist-isb.edu.pk

*Copied assignments will get ZERO marks.

Problems

Problem 1: Normalize following relation based on functional dependencies (fds) information


given:

Bk-No Title Publisher Pub-Loc Bor-No Bor-Name Dept Ret-Date


ICS1 Java Programming McGraw London 18352 H. Yousef COE Jan 5
ICS2 C++ Programming Addison Berlin 18425 S. Sait COE Dec. 25
ICS1 Java Programming McGraw London 19587 T. Maghrabi ICS Jan. 10
ICS4 Database Systems Prentice-Hall Tokyo 18352 H. Yousef COE Jan 15

fd1: Bk-No, Bor-No  Title, Publisher, Pub-Loc, Bor-Name, Dept, Ret-Date


fd2: Bk-No  Title, Publisher, Pub-Loc
fd3: Bor-No  Bor-Name, Dept
fd4: Publisher  Pub-Loc

i) Show one example for an insertion, deletion and update anomaly on the above relation.
ii) Describe and illustrate the process of normalizing the above relation into 1NF, 2NF and 3NF.

Database Systems BS(CS)-4 SZABIST-ISB

Вам также может понравиться