JINNAH UNIVERSITY FOR WOMEN
DEPARTMENT OF COMPUTER SCIENCE & SOFTWARE ENGINEERING
SUMMER 2021
THEORY ASSIGNMENT
Course Title: Database System Batch: BS(SE/CS) 2014/15/18/19
Course Code: CSS 2102 Marks: 10
Instructor: Sana Iqbal
Instructions
The assignment must be submitted on JUW LMS.
Email submission will not be accepted
Each student has to solve the assignment individually
Plagiarism may lead to marks deduction
Question 1 [Marks: 5]
Draw an ER diagram of Bank that has the following description
Bank have Customer.
Banks are identified by a name, code, address of main office.
Banks have branches.
Branches are identified by a branch_no., branch_name, address.
Customers are identified by name, cust-id, phone number, address.
Customer can have one or more accounts.
Accounts are identified by acc_no., acc_type, balance.
Customer can avail loans.
Loans are identified by loan_id, loan_type and amount.
Account and loans are related to bank’s branch.
Page 1 of 2
JINNAH UNIVERSITY FOR WOMEN
DEPARTMENT OF COMPUTER SCIENCE & SOFTWARE ENGINEERING
SUMMER 2021
THEORY ASSIGNMENT
Question 2 [Marks: 5]
On the table (in Un-Normal form) given below, apply normalization upto 3 rd Normal form. Identify all
type of anomalies in each normal form.
Page 2 of 2