📚 Practice Mode

Operating System (GATE)

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

An operating system has 11 tape drives. There are three processes P1, P2 and P3 with maximum tape drive requirements of 10, 4 and 7, respectively. Currently tape drives allocated to processes P1, P2 and P3 are 4, 2 and 2, respectively. Which of the following sequences represents a safe state?

  1. P2, P3, P1
  2. P1, P2, P3
  3. P2, P1, P3
  4. P1, P3, P2
  5. P3, P1, P2