In an operating system, indivisibility of operation means:
2015
In an operating system, indivisibility of operation means:
- A.
Operation is interruptable
- B.
Race Condition may occur
- C.
processor can not be prempted
- D.
All of the above
Attempted by 395 students.
Show answer & explanation
Correct answer: C
Answer: processor can not be prempted
Reason: Indivisibility (atomicity) means an operation executes as a single, uninterruptible unit. The operation cannot be preempted or observed in a partial state by other processes.
Because the operation is not preempted, other processes cannot interleave with it.
This prevents race conditions that arise from concurrent interleaving of operations.
Therefore, the statement that the processor cannot be preempted correctly captures the meaning of indivisibility.