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?
- A5Correct answer
- B4
- C3
- D6
Answer
(A) 5
Approach
Use the worst-case resource allocation argument for deadlock freedom.
Reviewed by UGC IQ Editorial Team.