Consider the following process and resource requirement of each process.…
ISRO Scientist/Engineer SC · 2013 · Computer Science
Consider the following process and resource requirement of each process.
Process | Type 1 Used | Type 1 Max | Type 2 Used | Type 2 Max |
|---|---|---|---|---|
P1 | 1 | 2 | 1 | 3 |
P2 | 1 | 3 | 1 | 2 |
P3 | 2 | 4 | 1 | 4 |
Predict the state of this system, assuming that there are a total of 5 instances of resource type 1 and 4 instances of resource type 2.
- A.
Can go to safe or unsafe state based on sequence
- B.
Safe state
- C.
Unsafe state
- D.
Deadlock state
Attempted by 298 students.
Sign up free to check your answer
Sign up freeLoading lesson…