Computer Science EngineeringVery hard

Seven units of one resource type are shared by processes that each need at most 3 units. What is the largest number of processes that guarantees deadlock freedom?

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

Correct answer: C. 3

Deadlock freedom needs n(m-1)+1 <= R, i.e. 2n + 1 <= 7, so n <= 3.

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

Exams that ask this topic