Skip to content

UGC NET CS 2019System Software and Operating System › DeadlocksVerified

UGC NET CS 2019 PYQ: A computer has six tape drives with $n$ processes competing for them. Each process may need two drives. What…

A computer has six tape drives with $n$ processes competing for them. Each process may need two drives. What is the maximum value of $n$ for the system to be deadlock free?

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

Answer

(A) 5

Approach

Use the worst-case resource allocation argument for deadlock freedom.

Reviewed by UGC IQ Editorial Team.