MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Processes
Q
A set of processes is deadlock if __________
AA. Each process is blocked and will remain so forever
BB. Each process is terminated
CC. All processes are trying to kill each other
DD. None of the mentioned
Correct Answer:
A. A. Each process is blocked and will remain so forever
Explanation:
Deadlock is a situation which occurs because process A is waiting for one resource and holds another resource (blocking resource). At the same time another process B demands blocking a resource as it is already held by a process A, process B is waiting state unless and until process A releases occupied resource.