Question:

In Operating Systems, which condition ensures that a process cannot be preempted from its resource until it completes its task?

Show Hint

Remember the four necessary conditions for deadlock using the mnemonic: {M H N C} → Mutual Exclusion, Hold and Wait, No Preemption, Circular Wait.
Updated On: Mar 10, 2026
  • Mutual Exclusion
  • Hold and Wait
  • No Preemption
  • Circular Wait
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation


Concept: In Operating Systems, deadlock occurs when a set of processes are blocked because each process is holding a resource and waiting for another resource held by another process. For a deadlock to occur, four necessary conditions must hold simultaneously:
  • Mutual Exclusion
  • Hold and Wait
  • No Preemption
  • Circular Wait
The condition described in the question corresponds to the No Preemption condition.
Step 1: Understand the No Preemption condition.
The No Preemption condition states that once a process acquires a resource, the operating system cannot forcibly take it away. The process must release the resource voluntarily after completing its task.
Step 2: Relate the condition to the question.
The question specifies that a process cannot be preempted from its resource until it completes its task. This directly matches the definition of the No Preemption condition.
Step 3: Conclusion.
Therefore, the operating system condition ensuring that a resource cannot be forcibly taken away from a process is: \[ \text{No Preemption} \]
Was this answer helpful?
0
0