AlgoPlus//structures / process-states
Read the theory

Process States

Every process moves through a five-state lifecycle, driven by the scheduler, I/O, and interrupts.

Running
Ready queue
0
Waiting
0
Legend
Ready
Running
Waiting (blocked)
AI Tutor Workspace
In a nutshell
A running program passes through a fixed set of life stages. It is created (New), admitted to a line of programs waiting for the CPU (Ready), and eventually given the CPU to actually run (Running). From running it may pause for slow work like a disk read (Waiting), get bumped off when its time slice ends (back to Ready), or finish (Terminated). With one CPU core, only one process runs at any instant.
Ready
Press play to begin the cinematic walkthrough.
A process is a program in motion, tracked by its PCB. It cycles New → Ready → Running, and from Running it can block on I/O (Waiting), be preempted by a timer (back to Ready), or finish (Terminated). Only one process runs per core at a time.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for Process States.