1.

A set of processes is deadlock if __________(a) each process is blocked and will remain so forever(b) each process is terminated(c) all processes are trying to kill each other(d) none of the mentionedThis question was posed to me in unit test.Question is taken from Processes in portion Processes of Operating System

Answer»

Correct answer is (a) each process is blocked and will remain so forever

Best 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.



Discussion

No Comment Found

Related InterviewSolutions