Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

East Delta University (Edu)

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

EAST DELTA UNIVERSITY (EDU)

Final Term Examination – Summer-2021


School of Science, Engineering & Technology
Department of Computer Science & Engineering
Course Title: Database Management System
Course Code: CSE 225 Section-01
Time: 2 Hours Full Marks: 30

Answer any three questions


01. [3+3+2
+2=10]
Department Employees
has

Department_ID (PK) Emploee_ID (PK)


Name Name
Location Address
head Salary
Department ID (FK)
(a) Create the Employees and Department tables based on the above information.
(b) Write SQL expression to add primary key and foreign key to the tables.
(c) Add a check constraint to confirm that number of employees is greater than 1 and less than
100.
(d) Add a check constraint to ensure that employee salary range is between 20,000 to 50,000
taka.
02. Class-Labeled Training Tuples from the AllElectronics Customer Database [10]
RID age incom student credit_rati Class:
e ng buys_computer
1 youth high no fair no
2 youth high no excellent no
3 middle high no fair yes.
4 senior mediu no fair yes
m
5 senior low yes fair yes
6 senior low yes excellent no
7 middle low yes excellent yes
8 youth mediu no fair no
m
9 youth low yes fair yes
10 senior mediu yes fair yes
m
Measure Information Gain and Gini Index for income attributes from the AllElectronics
Customer Database.

03. (a) Define data normalization. [02]


Page 1 of 2
(b) List and describe the three normal forms of data normalization. [03]
(c) Convert the following relation up to Third Normal: [05]
Student database (Student_ID, Student_Name, Batch, Advisor, Department_Name,
Department_Head, Course_No, Course_Title)

04. (a) Explain RAID 0, RAID 1, RAID 5, RAID 6, and RAID 10. [05]
(b) Select and explain the best RAID level for a banking system. [03]
(c) Write down the benefits of RAID. [02]

You might also like