Question:

Which of the following is a characteristic of a deadlock in a computer system?

Show Hint

To identify deadlock conditions, recall the four key aspects: mutual exclusion, hold and wait, no preemption, and circular wait.
Updated On: Jun 16, 2025
  • Mutual exclusion
  • Hold and wait
  • Circular wait
  • All of the above
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

A deadlock in a computer system occurs when a set of processes are blocked because each one is waiting for another to release a resource. The four necessary conditions for a deadlock to occur are:
1. Mutual exclusion: At least one resource must be held in a non-shareable mode, i.e., only one process can use the resource at a time.
2. Hold and wait: A process holding at least one resource is waiting for additional resources held by other processes.
3. No preemption: Resources cannot be forcibly taken from a process; they can only be released voluntarily.
4. Circular wait: A set of processes exists such that each process is waiting for a resource that the next process in the set holds.
Since all of these conditions are necessary for a deadlock to occur, the correct answer is: \[ \boxed{(D) \, \text{All of the above}} \]
Was this answer helpful?
0
0