16CS52
16CS52
USN
RV COLLEGE OF ENGINEERING®
(An Autonomous Institution affiliated to VTU)
V Semester B. E. Examinations March / April-2023
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
PART-B
3 a
For Above given database, write Relational algebra queries for the
following:
i) Find the Name of sailors who sails boat id .
ii) Find the Name of sailors who has reserved red boats.
iii) Find the Name of sailors who has reserved Red or Green boats.
iv) Find the Name of sailors who has reserved Red and as well as
Green boats.
v) Find the id of sailors who has not reserved Red boats and age is
greater than . 10
b Discuss and anomalies with an example for each. 06
OR
8 a Draw a neat diagram and discuss the typical states that a transaction
goes through during execution. 08
b Differentiate the following:
i) Timestamp Ordering and Thomas Write Rule in concurrency
control.
ii) Steal/No steal and Force/no force approaches in recovery. 08