CS403P Assignment: 02 Solution

Assignment Details

Due Date:

Monday 23, June, 2025

Extended Date:

Tuesday 24, June, 2025


Assignment Question Details:

Assignment No. 02 (Graded)
Spring 2025
CS403P- Database Management System (Practical)

 

Instructions:

Please read the following instructions carefully before solving & submitting the assignment solution:

It should be clear that your assignment will not get any credit (zero marks) if:

o        The assignment is submitted after the due date.

o        The submitted assignment solution does NOT open or the file is corrupt.

o        The assignment is copied (from other students or ditto copy from handouts or the internet).

o        Please ensure that your assignment submission is in .doc or .docx format. Other formats such as scanned images, PDFs, .zip, .rar, .bmp, etc., will not be accepted.

 

Objectives:

The objectives of this assignment are:

  • Understanding and applying normalization (2NF and 3NF) to decompose relations, minimize redundancy, and eliminate partial and transitive dependencies in database design.
  • Developing real-world database design skills by identifying functional dependencies and creating structured, efficient, and scalable tables..

 

 

Content Covered:  This assignment covers Lectures 18-24 of your course CS403P.

Deadline:  Your assignment must be uploaded/submitted on or before the due date.

 

For any query about the assignment, contact at cs403p@vu.edu.pk

GOOD LUCK

Question No. 1                                                                                                                                 10 Marks

A library stores information about books and the genres they belong to. A book can belong to more than one genre. You are required to convert the following table into Second Normal Form (2NF).

Book Table:

BookID

Genre

PublicationYear

101

Fiction

2010

101

Mystery

2010

102

Science

2015

103

History

2018

103

Biography

2018

 

Question No. 2                                                                                                                                 Marks: 10

You are required to convert the following relation into Third Normal Form (3NF).

ProductRecord(ProductID, ProductName, Supplier, SupplierCountry)

The relation contains the following functional dependencies:

·  ProductID → ProductName, Supplier, SupplierCountry (ProductID is PK)

·  Supplier → SupplierCountry (Each supplier belongs to one country)

 

 

Syllabus Covered:  This assignment covers Lectures 18-24.

Deadline:  Your assignment must be uploaded/submitted on or before the due date 23rd June, 2025.

VuPark Approved

Tuesday 17, June, 2025