...
ISRO-2016
February 26, 2025
2006 December UGC NET Paper 1
February 26, 2025
ISRO-2016
February 26, 2025
2006 December UGC NET Paper 1
February 26, 2025

GATE 1992

Question 21

A computer system has 6 tape drives, with n process completing for them. Each process may need 3 tape drives. The maximum value of n for which the system is guaranteed to be deadlock free is:

A
2
B
3
C
4
D
1
Question 21 Explanation: 
Lets give 2 tape driver to each process, so that there will be deadlock. So 3 processes will be given two drives each so that there will be deadlock. So to avoid deadlock maximum no. of process should be 1 less than the minimum no. of process that will cause deadlock. So for n=2, the system is guaranteed to be deadlock free.
Correct Answer: A
Question 21 Explanation: 
Lets give 2 tape driver to each process, so that there will be deadlock. So 3 processes will be given two drives each so that there will be deadlock. So to avoid deadlock maximum no. of process should be 1 less than the minimum no. of process that will cause deadlock. So for n=2, the system is guaranteed to be deadlock free.

Leave a Reply

Your email address will not be published. Required fields are marked *