Computer Science EngineeringHardISRO SC

3 processes each need a maximum of 2 units of the same resource (held one at a time). What is the minimum number of units that guarantees deadlock freedom?

  1. A. 3
  2. B. 4
  3. C. 5
  4. D. 6

Correct answer: B. 4

Worst case each holds 1: 3x1=3; one extra unit lets someone finish => 4.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic