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).
Find the next two terms of the series:
The given series is: \( A, C, F, J, ? \).
(A) O
(B) U
(C) R
(D) V
Choose the correct answer from the options given below:
Find the number of triangles in the given figure.
