GITAM School of Technology Hyderabad Campus
GITAM School of Technology Hyderabad Campus
Hyderabad Campus
Mid 2Examination
Programme : B.Tech Branch: CSE-CS(SET 3)
Sub Code : CSEN2061
Sub Name : Database Management System
Semester : VI
Year : 2023-24
Date:04/04/24
Maximum Marks: 15
SECTION – A
(Short Answer Questions for 1 mark)
Q.No. Question Marks
1 Consider the following schema
Instructor(id,name,dept_name,salary)
Write the following queries in DRC
1M
a)Find the instructor id,name,dept_name and salary whose salary is greater than
80000
b)Find all instructor id for instructors whose salary is less than 20000
2 List all functional dependencies satisfied by the relation of the figure given below
Rollno Name Cid Marks
101 Anu C01 78 1M
102 Suresh C02 67
103 Raja C02 47
104 Anu C01 78
3 What normal form the relation Contacts (Contact_Id, Contact_name,
Company_name, Company_location, phone_number) is in? decompose the 1M
relation into sub relations that preserve 4 NF.
4 Consider the following transaction
1M
Identify the conflict present in the transaction and justify your answer
5 Wait for graph for the transaction P1,P2,P3,P4,P5 in the given diagram below 1M
What will be the result of executing these transactions? Justify your answer.
SECTION – B
Answer any 2(Two) questions, each question carries 5 Marks each
3M
3M
Check whether the given schedule S is conflict serializable or not. If yes, then
determine all the possible serialized schedules
Consider two schedules S1 and S2 as follows, where S denotes a shared mode lock
and X denotes an exclusive mode lock.
2M
Identify the correct statement from the following which relates to whether the
schedules are deadlock free. Please note that if any schedule suffers from deadlock.