Deadlocks - deadlock characterization, prevention, avoidance, detection and recovery methods - Online Test

30:00
1. Which of the following conditions is NOT necessary for a deadlock to occur?
2. In deadlock prevention, which condition is violated by ensuring that every process requests all its resources before it starts execution?
3. Which deadlock prevention strategy involves ordering all resource types and requiring processes to request resources in increasing order of enumeration?
4. Which of the following is a characteristic of the 'Hold and Wait' condition for deadlock?
5. Which deadlock avoidance algorithm dynamically examines the resource allocation state to ensure that there is never a state where a circular wait condition can occur?
6. In the Banker's Algorithm, what does the 'Need' matrix represent?
7. Which of the following is a deadlock detection algorithm that uses a wait-for graph?
8. If a deadlock is detected, which of the following is NOT a common recovery strategy?
9. What is the primary goal of deadlock avoidance algorithms?
10. Which condition for deadlock is violated if a process can be forced to relinquish resources it holds?

Test Results

0/0