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

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.

This question was previously asked in
UGC NET 2014 Paper 2 Computer Science and Applications Question Paper (28-Dec-2014)
The correct answer is

II and IV

A pessimistic (conservative) concurrency-control protocol checks for conflicts before each read or write is allowed, assuming conflicts are likely. An optimistic protocol lets a transaction run freely and checks for conflicts only at the end, in a validation phase.

Two phase locking makes a transaction acquire a lock before every access and blocks it when the lock conflicts, so it is pessimistic: I is false and II is true.

Timestamp ordering compares the transaction's timestamp with the read/write timestamps of the item at every operation and rejects (rolls back) a conflicting operation immediately, so it also checks before execution and is pessimistic: III is false and IV is true.

The optimistic family is the validation-based protocol, not locking or timestamping. So the true statements are II and IV.

Hence, the answer is II and IV.

Was this answer helpful?

Similar Questions

  1. 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
  2. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :

    I. 2-phase locking

    II. Time phase ordering

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

    (a) 2 - phase Locking

    (b) Time stamp - ordering

  4. 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:

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


Important Questions from Concurrency Control

  1. 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
  2. Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :

    I. 2-phase locking

    II. Time phase ordering

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

    (a) 2 - phase Locking

    (b) Time stamp - ordering

  4. 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:

  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