Multiple choice

Which are the different phases in two-phase locking protocol?

  1. Read and write phase

  2. Locking and unlocking phase

  3. Growing and shrinking phase

  4. Growing and locking phase

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The two-phase locking protocols are:

  1. Growing phase- Here transaction may obtain lock but not able to release any lock.
  2. Shrinking phase- Here transaction may release lock but not able to obtain any lock.