CPU switches from one process to another after saving the current process states
The system terminates the currently running process
A process is moved from Ready to Running state
The process enters an infinite loop
Show Solution
The Correct Option isA
Solution and Explanation
Idea: Identify the essential action that defines a context switch.
The defining feature is preservation. To later resume a paused process correctly, the CPU state must be stored first:
\[\text{save } (PC, \text{registers}, \dots) \rightarrow \text{load next process state}\]
Termination discards a process, so it is not a switch. Moving Ready to Running alone omits the crucial saving of the outgoing process. An infinite loop is a fault, not a scheduling action. Only the option that saves the current state before switching describes the mechanism.
\[\boxed{\text{Save current state, then switch to another process}}\]
Was this answer helpful?
0
Top Questions on Operating Systems - Virtual Memory