0% found this document useful (0 votes)
178 views

East Delta University (Edu)

This document contains the final term examination for the Database Management System course at East Delta University's School of Science, Engineering & Technology. The exam contains 4 questions worth a total of 30 marks. Question 1 asks students to (a) create tables for Employees and Departments with primary and foreign keys, and add check constraints for (b) number of employees and (c) employee salary range. Question 2 asks students to measure information gain and Gini index for income attributes in a customer database. Question 3 defines (a) data normalization and lists/describes (b) three normal forms, asking students to (c) normalize a given relation up to third normal form. Question 4 asks students to (a) explain different RA

Uploaded by

asrar tamim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
178 views

East Delta University (Edu)

This document contains the final term examination for the Database Management System course at East Delta University's School of Science, Engineering & Technology. The exam contains 4 questions worth a total of 30 marks. Question 1 asks students to (a) create tables for Employees and Departments with primary and foreign keys, and add check constraints for (b) number of employees and (c) employee salary range. Question 2 asks students to measure information gain and Gini index for income attributes in a customer database. Question 3 defines (a) data normalization and lists/describes (b) three normal forms, asking students to (c) normalize a given relation up to third normal form. Question 4 asks students to (a) explain different RA

Uploaded by

asrar tamim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 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