← 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).

✅ Check yourself (2 of 3 to pass)

1. When its I/O completes, a waiting process moves to:
2. Which data structure stores a process's state, registers and IDs?
3. Running → Ready happens on:
Next: CPU scheduling →Get a free certificate in Operating Systems