UGC NET CS 2018System Software and Operating System › DeadlocksVerified
UGC NET CS 2018 PYQ: Suppose a system has 12 instances of some resource with $n$ processes competing for that resource.…
Suppose a system has 12 instances of some resource with $n$ processes competing for that resource. Each process may require 4 instances of the resources. The maximum value of $n$ for which the system never enters into deadlock is
- A3Correct answer
- B4
- C5
- D6
Answer
(A) 3
Approach
Use the worst-case allocation argument for deadlock freedom.
Reviewed by UGC IQ Editorial Team.