All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · December 2022 Shift 1

Match List I with List II
List IList II
A. Timestamp protocolI. As long as the transaction is running, it obtains the required locks in the first phase.
B. Strict two-phase locking protocolII. Indicates the final lock of the schedule.
C. Two-phase lockingIII. Ensures freedom from deadlock.
D. Lock point in two-phase locking protocolIV. Ensures cascadeless rollback.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. A-III, B-IV, C-I, D-II

Explanation

The timestamp protocol is deadlock-free (III). Strict 2PL ensures cascadeless rollback (IV). In 2PL a running transaction acquires its locks in the first (growing) phase (I). The lock point is the transaction's final lock acquisition (II).

More Database Management Systems questions