Bangladesh Army University of Engineering & Technology: (Bauet)
Bangladesh Army University of Engineering & Technology: (Bauet)
Bangladesh Army University of Engineering & Technology: (Bauet)
Section-A
Marks
Q.1 (a) Define database management system. 1
(b) Illustrate the significant applications of database management system. 3
(c) The main entities of the BAUET database management system for the entity- 3
relationship (E-R) model are Teacher, Student, Department and Course. The entities
have the primary key, the weak attribute and the multivalued attribute(s). Using this
descriptions, now construct an E-R diagram.
(d) Identify the database schema(s) using the E-R diagram from the Q.1(c). 3
Q.3 (a) Define primary key and foreign key with example. 2
(b) Consider the following two relations: 4
Employee Parking
ID Name Office ID Parking_lot P_space
1001 A 10 1001 p 6
1002 B 100 1002 q 14
1005 E 12 1005 p 13
1
(c) Assume the following tables: 4
Now using relational algebra, demonstrate the names of all instructors in the ‘Music’
department, along with the titles of the courses that they teach. Also explain how you
could optimize this query.
Section-B
(d) Imagine BAUET has a database management system then, list out the benefits that it 3
will provide us.
(c) Apply the serializability technique to prove the following schedule is serializable or 4
not.
T4 T5 T6
read(Q)
write(Q)
write(Q)
write(Q)
Q.6 (a) Design an E-R diagram of hospital management system having the following 4
entities: hospital, patient, doctor, nurse, appointment and medicine.