DBMS Final
DBMS Final
DBMS Final
From Chapter 6
Introduction to Transaction Processing Concepts and Theory
Q4. Consider the following schedule S of transactions T1, T2, T3, T4:
Which one of the following statements is CORRECT?
(A) S is conflict-serializable but not recoverable
(B) S is not conflict-serializable but is recoverable
(C) S is both conflict-serializable and recoverable
(D) S is neither conflict-serializable nor is it recoverable
Answer: (C)
Q5. If a transaction obtains an exclusive lock on a row, it means that the
transaction wants to ……. that row. [ B ]
A. select B. update C. view D. read
Chapter-7
Concurrency Controlling Techniques
Q1. If transaction has -------- lock on item, can read but not update item.
A. Exclusive B. Shared Timestamp D. Checkpointing [B]
Q2. A transaction unlocks its locked data items one at a time and
releases locks but cannot acquire any new locks is --------- phase.
A. Growing B. 2PL C. Shrinking D. ALL [c]
An older transaction requesting an item held by a younger transaction preempts the younger
transaction by aborting it.
If TS(Ti) < TS(Tj), then (Ti older than Tj),Abort Tj (Ti wounds Tj) and restart Tj later with the
same timestamp