All Exams Test series for 1 year @ ₹349 only
Question

Match List I with List II

List IList II
A. Timestamp protocolI. As long as the transaction is already running, it will try to obtain the required lock in the first part
B. Strict two-phase locking protocolII. Indicates final lock of the schedule
C. Two-phase lockingIII. Ensures freedom from deadlock
D. Lock point in two phase locking protocolIV. Ensures cascade -less rollback

Choose the correct answer from the options given below:

This question was previously asked in
UGC NET 2022 Computer Science and Applications Question Paper (15-Mar-2023) (Shift 1)
The correct answer is

A-III, B-IV, C-I, D-II

Concurrency-control protocols are judged by the guarantees they give: deadlock freedom, recoverability (cascade-less rollback) and the shape of their locking phases.

A. Timestamp protocol — every transaction gets a timestamp when it starts and conflicting operations are executed in timestamp order. A transaction that would violate this order is rolled back and restarted; it never waits for a lock. Since no transaction waits, no wait-for cycle can form, so the protocol ensures freedom from deadlock (III).

B. Strict two-phase locking — in addition to the two-phase rule, every exclusive lock is held until the transaction commits or aborts. No other transaction can read a value written by an uncommitted transaction, so an abort never forces other transactions to roll back: cascade-less rollback (IV).

C. Two-phase locking — in the first (growing) phase, as long as the transaction is running it obtains the locks it requires and releases none; releasing starts only in the second (shrinking) phase (I).

D. Lock point — the instant at which a two-phase transaction acquires its last lock, i.e. the end of the growing phase. It indicates the final lock (II), and the lock points give the serialization order.

Codes that pair the timestamp protocol with cascade-less rollback are wrong because basic timestamp ordering can let a transaction read an uncommitted write. Codes that pair strict two-phase locking with deadlock freedom or with the final lock are wrong because strict two-phase locking can still deadlock and the final lock is the lock point. A code that pairs two-phase locking with the final lock ignores that two-phase locking describes the whole growing/shrinking discipline.

A-III, B-IV, C-I, D-II option is correct.

Was this answer helpful?

Similar Questions

  1. Which of the following is correct ?

    I. Two phase locking is an optimistic protocol.

    II. Two phase locking is pessimistic protocol

    III. Time stamping is an optimistic protocol.

    IV. Time stamping is pessimistic protocol.

  2. Match the following :

    List - IList - II
    a. Timeout ordering protocoli. Wait for graph
    b. Deadlock preventionii. Roll back
    c. Deadlock detectioniii. Wait-die scheme
    d. Deadlock recoveryiv. Thomas Write Rule
  3. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :

    I. 2-phase locking

    II. Time phase ordering

  4. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock ?

    (a) 2 - phase Locking

    (b) Time stamp - ordering

  5. In concurrency control, phantom problem may occur, when-


Important Questions from Concurrency Control

  1. Which of the following is correct ?

    I. Two phase locking is an optimistic protocol.

    II. Two phase locking is pessimistic protocol

    III. Time stamping is an optimistic protocol.

    IV. Time stamping is pessimistic protocol.

  2. Match the following :

    List - IList - II
    a. Timeout ordering protocoli. Wait for graph
    b. Deadlock preventionii. Roll back
    c. Deadlock detectioniii. Wait-die scheme
    d. Deadlock recoveryiv. Thomas Write Rule
  3. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :

    I. 2-phase locking

    II. Time phase ordering

  4. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock ?

    (a) 2 - phase Locking

    (b) Time stamp - ordering

  5. In concurrency control, phantom problem may occur, when-

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App