Consider a system with five processes 𝑃0 through 𝑃4 and three resource types…
PYQ UGC NET 2014
Consider a system with five processes 𝑃0 through 𝑃4 and three resource types 𝑅1, 𝑅2 and 𝑅3 . Resource type 𝑅1 has 10 instances, 𝑅2 has 5 instances and 𝑅3 has 7 instances. Suppose that at time 𝑇0, the following snapshot of the system has been taken :
Allocation
𝑅1 𝑅2 𝑅3
𝑃0 0 1 0
𝑃1 2 0 0
𝑃2 3 0 2
𝑃3 2 1 1
𝑃4 0 2 2
Max
𝑅1 𝑅2 𝑅3
7 5 3
3 2 2
9 0 2
2 2 2
4 3 3
Available
𝑅1 𝑅2 𝑅3
3 3 2
Assume that now the process 𝑃1 requests one additional instance of type 𝑅1 and two instances of resource type 𝑅3. The state resulting after this allocation will be
- A.
Ready state
- B.
Safe state
- C.
Blocked state
- D.
Unsafe state
Attempted by 173 students.
Sign up free to check your answer
Sign up freeLoading lesson…

