Vous êtes sur la page 1sur 3

Department of Computer Science

CSC-220: Database Management System


BSIT- Semester 3/4 Section A (Spring 2019)

ASSIGNMENT 01
Marks: 10

Theoretical Assignment
Read Carefully:

• The deadline for this assignment is on or before Monday 18 Mar, 2019.

WARNING: This is an individual assignment; you must solve it by yourself. Any form of
plagiarism will result in receiving zero in the assignment.

WARNING: Late submission will not be accepted. Any assignment submitted after the cutoff
time will get zero.

• This assignment has 6 questions that you have to answer and submit in the form of Hard Cop.

1|Page
BU, CS Department 2/3 BSIT Semester – 3/4 (Spring 2019)
CSC-220: DBMS Assignment 01

Assignment Description

1. Normalize the data of the Imtiaz Super Store given on next page, up to 3NF along with the
following business rules:
a. Imtiaz Super Store has multiple branches.
b. Each branch has multiple salesmen.
c. A salesman can work only at one branch at a time.
d. Each salesman has a unique employee id.
e. Two of the salesmen can have similar names.
f. Each branch has a unique branch code.
g. Each store is located in a region.
h. Each region has a unique store.
i. There may be multiple branches in a region.
j. Each saleman performance is measured by the sales he/she does in an year.
(Marks 3)

2. For each table in 3NF(Final step), do the tables exhibit entity integrity? Answer yes, no or
not applicable and then explain why.
(Marks 1)

3. For each table in 3NF(Final step),Do the tables exhibit referential integrity? Answer yes, no
or not applicable and then explain why.
(Marks 1)

4. Describe the type(s) of relationship(s) (One to One, One to Many, Many to Many) between
tables using ERD.
(Marks 2)

5. Create a new user ASSIGN-1 in Oracle database and get login with it. User must not be given
DBA rights.
(Marks 1)

6. Create all the tables in ORACLE database by user ASSIGN-1 and show the output.
(Marks 2)
Department of Computer Science
CSC-220: Database Management System
BSIT- Semester 3/4 Section A (Spring 2019)

Emp_Code Emp_Title Emp_Firstname Emp_Lastname Emp_DOB Branch_Code Branch_Name Branch_yearly_sales Region_code Region_Desc
E-101 Mr. Asad Umer 5-Jan-92 3 imtiaz-gulshan 100000 R-1 East
E-102 Mr. Waseem Ahmed 25-Sep-90 4 imtiaz-defense 200000 R-2 North
10-Mar-
E-103 Ms. Salma Mukhtar 94 3 imtiaz-gulshan 400000 R-1 East
23-Aug-
E-104 Mr. Akhter Khan 93 1 imtiaz-nazimabad 300000 R-3 Central
E-105 Ms. Rumaisa Javaid 9-Dec-92 4 imtiaz-defense 250000 R-2 North
13-May- imtiaz-awami
E-106 Ms. Rabia Saleem 94 5 markaz 300000 R-4 West
E-107 Ms. Sania Wajih 24-Jun-95 3 imtiaz-gulshan 120000 R-1 East
E-108 Mr. Rashid Sami 7-Feb-93 2 imtiaz-SITE area 140000 R-2 North
10-Mar-
E-109 Mrs. Fatima Hussain 95 3 imtiaz-gulshan 170000 R-1 East
imtiaz-awami
E-110 Mr. Irtiza Saeed 5-May-91 5 markaz 180000 R-4 West

3|Page

Vous aimerez peut-être aussi