GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2024 set2

GATE 2024 set2 · CS · MSQ · 1 mark · Databases › Transactions & Concurrency Control

GATE 2024 set2 Computer Science and Information Technology question: Which of the following statements about the Two Phase Locking (2PL) protocol is/are TRUE?

Which of the following statements about the Two Phase Locking (2PL) protocol is/are TRUE?

  1. (A)

    2PL permits only serializable schedules

  2. (B)

    With 2PL, a transaction always locks the data item being read or written just before every operation and always releases the lock just after the operation

  3. (C)

    With 2PL, once a lock is released on any data item inside a transaction, no more locks on any data item can be obtained inside that transaction

  4. (D)

    A deadlock is possible with 2PL

Show answer

Official answer: A,C,D

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion