Given a set of four processes and two resources with two units each, the…
2018
Given a set of four processes and two resources with two units each, the following resource allocation graph exists at a point in time. The graph indicates:


Answer: D. Cycle but no deadlock — Key idea: A cycle exists in the graph (for example P1 → R1 → P3 → R2 → P1). Identify the cycle: P1 → R1 → P3 → R2 → P1.
- A.
Cycle and deadlock
- B.
No cycle but deadlock
- C.
Neither cycle nor deadlock
- D.
Cycle but no deadlock
Attempted by 608 students.
Show answer & explanation
Correct answer: D
Key idea: A cycle exists in the graph (for example P1 → R1 → P3 → R2 → P1). Identify the cycle: P1 → R1 → P3 → R2 → P1.
Loading lesson…