MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Deadlock Prevention
Q
To ensure that the hold and wait condition never occurs in the system, it must be ensured that ____________
AA. Whenever a resource is requested by a process, it is not holding any other resources
BB. Each process must request and be allocated all its resources before it begins its execution
CC. A process can request resources only when it has none
DD. All of the mentioned
Correct Answer:
D. D. All of the mentioned
Explanation:
c – A process may request some resources and use them. Before it can can request any additional resources, however it must release all the resources that it is currently allocated.