...
GATE 1994
March 11, 2024
Process-Scheduling
March 11, 2024
GATE 1994
March 11, 2024
Process-Scheduling
March 11, 2024

Question 7995 – Operating-Systems

A system shares 9 tape drives. The current allocation and maximum requirement of tape drives for three processes are shown below:

Which of the following best describe current state of the system?

Correct Answer: B

Question 24 Explanation: 

Available: (9 – (3 + 1 + 3)) = 2, P3 can be satisfied.
New available = 3 + 2 = 5
Now, P2 can be satisfied.
New available: 5 + 1 = 6
Now, P1 can be satisfied. Thus safe sequence: P3 → P2 → P1
That is not deadlocked.

A
Safe, Deadlocked
B
Safe, Not Deadlocked
C
Not Safe, Deadlocked
D
Not Safe, Not Deadlocked

Leave a Reply

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