Skip to content

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

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

Answer

(A) 3

Approach

Use the worst-case allocation argument for deadlock freedom.

Reviewed by UGC IQ Editorial Team.