← CS Visual Lab · Operating Systems
🔄 Process states
💡 The ideaA process moves through states: New → Ready → Running → (Waiting → Ready) → Terminated. The scheduler moves Ready to Running; an I/O request moves Running to Waiting; a timer interrupt moves Running back to Ready.
🏠 In real lifeA student in a lab: registers (New), waits for a free PC (Ready), uses it (Running), waits for the printer (Waiting), comes back to the queue (Ready), leaves (Terminated).
🎬 Watch it work
Step 1 of 7
New
NewReadyRunningWaitingTerminated
The program is loaded and the OS creates its PCB (process control block).