18CS53
18CS53
USN
RV COLLEGE OF ENGINEERING®
(An Autonomous Institution affiliated to VTU)
V Semester B. E. Examinations Apr-2024
Computer Science and Engineering
DATABASE DESIGN
Time: 03 Hours Maximum Marks: 100
Instructions to candidates:
1. Answer all questions from Part A. Part A questions should be answered in first three
pages of the answer book only.
2. Answer FIVE full questions from Part B. In Part B question number 2, 7 and 8 are
compulsory. Answer any one full question from 3 and 4 & one full question from 5
and 6.
PART-A M BT CO
PART-B
OR
7 a Justify with reasons that, the given schedules are recoverable and
conflict serializeable or not.
𝑆1 = 𝑟1(𝐴), 𝑤2(𝐴), 𝑟1(𝐵), 𝑐1, 𝑤3(𝐵), 𝑟3(𝐵), 𝑤3(𝐴), 𝑐3, 𝑟2(𝐶), 𝑐2
𝑆2 = 𝑟1(𝐴), 𝑤2(𝐵), 𝑟1(𝐵), 𝑐1, 𝑐2
𝑆3 = 𝑟1(𝐴), 𝑤1(𝐴), 𝑟2(𝐴), 𝑟1(𝐵), 𝑤2(𝐴), 𝑐2, 𝑎1
𝑆4 = 𝑟1(𝐴), 𝑤1(𝐴), 𝑟2(𝐴), 𝑟1(𝐵), 𝑤2(𝐴), 𝑐2, 𝑎1 08 5 4
b Illustrate the following with respect to execution of transactions with
examples:
i) Rules for Binary locking scheme
ii) Share and Exclusive locks 08 2 4