Professional KnowledgeHardIBPS SO IT

A system has 3 processes sharing 4 identical resource units, each needing at most 2 units. The system is:

  1. A. Possibly deadlocked
  2. B. Always deadlocked
  3. C. Deadlock-free
  4. D. Unsafe

Correct answer: C. Deadlock-free

Worst case each holds 1 (3 units), 1 left lets one finish, so no deadlock: need n(r-1)+1 <= 4 gives 4 <= 4.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic