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

In concurrency control, phantom problem may occur, when-

This question was previously asked in
UGC NET 2024 Computer Science and Applications Question Paper (23-Aug-2024) (Shift 1)
The correct answer is

records are inserted

The phantom phenomenon arises when a transaction reads a set of tuples that satisfy a search condition and another concurrent transaction inserts a new tuple that also satisfies that condition.

Step 1 — T1 runs a predicate query, for example all accounts of one branch, and locks only the tuples that exist at that moment.

Step 2 — T2 inserts a new tuple for the same branch and commits; T1 holds no lock on this tuple because it did not exist.

Step 3 — T1 repeats the query and sees an extra “phantom” row, so the schedule is not serializable even though tuple-level two-phase locking was followed. Index locking or predicate locking is used to prevent this.

Modifying an existing record is a non-repeatable read or lost update, which tuple locks already prevent; indexing records does not change the data seen by a transaction. Deletions are covered by locks on the existing tuples, so the classic phantom case is the insertion of new records.

records are inserted 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. 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:


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

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