Question:

Which of the following is a way to recover from the deadlock which has already occurred?

Show Hint

When recovering from a deadlock, terminating processes involved in the deadlock is one of the quickest solutions.
Updated On: Sep 25, 2025
  • Process termination
  • Non preemption of resources
  • Banker's algorithm
  • Circular wait
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation


Step 1: Deadlock recovery strategies.
Once a deadlock has occurred, there are several ways to recover from it: - **Process termination**: Terminating one or more processes involved in the deadlock to break the circular wait condition.
- **Resource preemption**: Forcibly taking resources away from processes to break the hold and wait condition.

Step 2: Analysis of other options.
- (2) **Non preemption of resources**: This condition is part of the deadlock model, not a way to recover from deadlock.
- (3) **Banker's algorithm**: It is a prevention algorithm to avoid deadlock but does not apply for recovering from an already occurred deadlock.
- (4) **Circular wait**: This is one of the conditions that causes deadlock, not a recovery method.

Step 3: Conclusion.
The correct method to recover from a deadlock is **process termination** (1).

Was this answer helpful?
0
0

Questions Asked in CUET PG exam

View More Questions