CS FundamentalsHardGATE CS

A system has 3 identical printers. Processes P1, P2, P3 hold 1 printer each and each needs exactly 2 to finish; requests are made one at a time. Which statement is correct?

  1. A. No deadlock is possible with 3 printers
  2. B. Deadlock requires at least 4 printers
  3. C. The state is a deadlock if each now requests one more printer and none is free
  4. D. Banker's algorithm would have allowed this state as safe

Correct answer: C. The state is a deadlock if each now requests one more printer and none is free

All 3 printers are held and every process waits for one more: hold-and-wait, no preemption and circular wait on a single resource type. Avoidance would refuse the third allocation, since it leaves no process able to finish (unsafe).

More Operating Systems questions

Exams that ask this topic