Question
Easy

Which of the following is not a valid deadlock prevention scheme ?

1
Release all resources before requesting a new resource.
2
Number the resources uniquely and never request a lower numbered resource than the last one requested.
3
Never request a resource after releasing any resource.
4
Request and all required resources be allocated before execution.
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Operating Systems & Software Concepts
Topic: MS Window
Correct Answer
Option C
Explanation

The correct option is (3): Deadlock prevention is achieved by restricting the way processes request resources to ensure that at least one of the four necessary conditions for deadlock (Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait) can never occur. The policy "Never request a resource after releasing any resource" is not a standard, valid prevention scheme. This rule is overly restrictive, effectively making it impossible for a…Read More

Which of the following - HTET Level 3 | Clear Cutoff