Question

What is a deadlock in a computer system?

A A situation where a process is terminated unexpectedly. Correct Answer Incorrect Answer
B A condition where two or more processes are waiting indefinitely for a resource held by each other. Correct Answer Incorrect Answer
C A state where a process is in a suspended state. Correct Answer Incorrect Answer
D A situation where a process becomes unresponsive. Correct Answer Incorrect Answer
E None of these Correct Answer Incorrect Answer

Solution

A deadlock occurs when multiple processes are unable to proceed because each process is waiting for a resource that's held by another process in the group. This creates a circular waiting scenario, where none of the processes can release the resources they hold and therefore can't make progress.

Practice Next

Relevant for Exams:

×
×