Chapter 2

Process Concept, States, and Transitions

Learn what a process is and how it moves across ready, running, blocked, and other states.

Estimated time: 22 min

A process is a running program; OS keeps moving it between states based on CPU and events.

State transitions are the base for scheduling, synchronization, and performance reasoning.

What Is a Process?

From notes

Clear explanation

A process is a program in execution with its own context (program counter, registers, stack, and memory regions).

What it really means

The code file is a blueprint; process is the live instance doing work right now.

Example

Opening two browser windows creates separate process contexts in modern systems.

Key takeaway

Process is execution + state, not just code.

State Movement

From notes

Clear explanation

Running processes move to blocked when waiting for I/O; blocked processes return to ready when event completes; ready enters running when scheduled.

What it really means

Like checkout queues: waiting for payment terminal (blocked), waiting in line (ready), being served (running).

Example

A process requesting disk read transitions running -> blocked until disk interrupt occurs.

Key takeaway

Events and scheduling decisions drive process flow.

  • - Confusing program (passive) with process (active)
  • - Assuming blocked means terminated
  • - Ignoring event-driven transitions from blocked to ready
  • - Core states: ready, running, blocked
  • - Extended model adds new and terminated
  • - Scheduler chooses ready -> running

Exam lens for this topic

What evaluators usually expect in structured exam answers.

Must-use keywords

  • - process state
  • - life cycle
  • - ready
  • - running
  • - blocked

Answer flow

  • - Write exact definition in first line
  • - Explain mechanism in ordered bullets
  • - Add one short example or scenario
  • - Close with key takeaway and one exam keyword

Practice Questions

  • Describe Process Life Cycle with diagram.

    Source: Summer 2023 Q2(B) OR

    Answer focus: State diagram + transition causes.

  • Explain Process state transitions with diagram.

    Source: Summer 2024 Q2(B)

    Answer focus: Transition labels: dispatch, timeout, event wait, event occurs.

Practice from papers (end-of-topic set)

These paper questions map directly to this topic. Solve now, then compare your structure with linked topics.

Question Bank Linked Here

Open all questions

How to answer linked exam questions

Full question bank