Btech Cse 5 Sem Database Management Systems 2009
Btech Cse 5 Sem Database Management Systems 2009
com
Name : ……………………………………………………………
Roll No. : ………………………………………………………..
Invigilator's Signature : ………………………………………..
CS/B.Tech(CSE)/SEM-5/CS-502/2009-10
2009
DATABASE MANAGEMENT SYSTEMS
Time Allotted : 3 Hours Full Marks : 70
GROUP – A
d) all of these.
b) dependency preserving
d) none of these.
d) None of these.
55701 2
CS/B.Tech(CSE)/SEM-5/CS-502/2009-10
a) ALTER b) DROP
c) CREATE d) SELECT.
a) Compensation transaction
b) Roll back
c) Recovery
d) Error control.
xi) View is a
55701 4
CS/B.Tech(CSE)/SEM-5/CS-502/2009-10
GROUP – C
( Long Answer Type Questions )
Answer any three of the following. 3 × 15 = 45
example.
operation ? 5+3+4+3
example.
55701 6
CS/B.Tech(CSE)/SEM-5/CS-502/2009-10
read ( B ) ;
if A = 0, then B : = B + 1 ;
write ( B )
T2 : read ( B ) ;
read ( A ) ;
if B = 0, then A : = A + 1 ;
write ( A )
add lock and unlock instructions to transactions T 1
and T 2 , so that they observe the two-phase locking
ii) list all single rooms with a charge below Rs. 1000
per night.
iii) list the names of all guests who are going to stay at
ITC Hotel from 25th December to 1st January.
iv) list the price per night and type of all rooms at
Grand Hotel.
55701 8