A process goes through different states from creation to termination.

1. New

Example: You double-click Chrome.

2. Ready

Example: Chrome is loaded into memory but waiting for the CPU to execute it.

3. Running

Example: Chrome is opening a webpage.

4. Waiting (Blocked)

Example:


5. Terminated (Exit)

Example: You close Chrome.

Process Lifecycle

New
  │
  ▼
Ready
  │
  ▼
Running
 ├─────────────► Terminated
 │
 ▼
Waiting
 │
 ▼
Ready

State Transitions


Interview Tip

A process spends most of its lifetime alternating between Ready, Running, and Waiting until it eventually reaches Terminated.