Which of the following statements is/are true about process states? (i) A…
2022
Which of the following statements is/are true about process states?
(i) A running process moves to ready state when it is interrupted.
(ii) A process moves to waiting state when it has completed its execution.
- A.
Only (i)
- B.
Only (ii)
- C.
Both (i) and (ii)
- D.
Neither (i) nor (ii)
Attempted by 382 students.
Show answer & explanation
Correct answer: A
In operating system process management, a running process transitions to the ready state when it is interrupted by an event or when its time slice expires. This ensures that other processes can utilize the CPU while keeping the interrupted process ready for resumption, making statement (i) true. However, when a process completes its execution, it moves to the terminated or exit state rather than the waiting state. The waiting (or blocked) state is specifically reserved for processes that are paused, typically awaiting I/O operations or other events to complete. Therefore, statement (ii) is incorrect because it misidentifies the final state of a completed process. Since only statement (i) accurately describes standard process state transitions, Option A is the correct answer.