Computer Knowledge · JKSSB Accounts Assistant (Finance) — November 2026 · Last updated:
View the full solved paper: JKSSB Accounts Assistant (Finance) — November 2026
In a timeshare operating system, when the time slot assigned to a process is completed, the process switches from the current state to?
- A. Suspended state
- B. Terminated state
- C. Ready state (Correct answer)
- D. Blocked state
Correct Answer
Option C — Ready state
Detailed Solution & Explanation
In a time-sharing (preemptive multitasking) operating system, the CPU scheduler allocates a fixed time quantum (time slice) to each running process:
- When a process is executing on the CPU (Running state) and its assigned time slot expires (timer interrupt) before it has finished execution, the scheduler preempts the process and moves it directly to the Ready state (ready queue, Option C) to await its next turn on the CPU.
- *Why other options fail:* A process enters the Blocked/Waiting state (Option D) only when it requests an I/O operation or waits for an event; the Terminated state (Option B) when it finishes execution completely; and the Suspended state (Option A) when swapped out to secondary storage.
Topics covered: Operating Systems & Open Source Technologies