Q.
A system with 5 processes P0 through P4 and three resource types A, B, C have A with 10 instances, B with 5 instances, and C with 7 instances. At time t0, the following snapshot has been taken:
Process
P0
P1
P2
P3
P4
Allocation (process-wise : P0 through P4 top TO bottom)
A B C
0 1 0
2 0 0
3 0 2
2 1 1
0 0 2
MAX (process-wise: P0 through P4 top TO bottom)
A B C
7 5 3
3 2 2
9 0 2
2 2 2
4 3 3
Available
A B C
3 3 2The sequence <P1, P3, P4, P2, P0> leads the system to ____________
Similar Questions
1. When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called?
2. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called?
3. Which one of the following is a synchronization tool?
4.
A semaphore is a shared integer variable __________
5. Mutual exclusion can be provided by the __________
6. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________
7. Process synchronization can be done on __________
8. A monitor is a module that encapsulates __________
9. To enable a process to wait within the monitor __________
10. Concurrent access to shared data may result in ____________
OPERATING SYSTEM TOPICS