CS FundamentalsHardGATE CS · Product placement

Under basic two-phase locking, a conflict-serializable schedule is equivalent to the serial schedule that orders transactions by their:

  1. A. Timestamps assigned at start
  2. B. Lock points (the moment each acquires its last lock)
  3. C. Start times
  4. D. Commit times, always

Correct answer: B. Lock points (the moment each acquires its last lock)

Under 2PL, if Ti → Tj in the precedence graph, Ti's lock point precedes Tj's, so ordering by lock points gives an equivalent serial order. Commit order works only for strict/rigorous variants.

More DBMS and SQL questions

Exams that ask this topic