GATE 1994
March 11, 2024Process-Scheduling
March 11, 2024Question 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.
Safe, Deadlocked
Safe, Not Deadlocked
Not Safe, Deadlocked
Not Safe, Not Deadlocked