Course contentsShow
← Computer Science
Lesson 1218 of 2,87228. Operating Systems FundamentalsFree lesson

Process States: New and Ready

Explore the initial process states when a process is created and waiting to run.

Process States: New and Ready

You'll learn: How a process moves from creation into the queue of processes waiting for CPU time.

What Are Process States?

A process doesn't just instantly appear and start running. Like a passenger boarding a plane, it goes through distinct stages from creation to execution. The operating system tracks these stages as process states, which help manage which processes get CPU time and when.

The New State

When you launch a program (say, opening a web browser), the OS first creates a new process. In the New state, the process is being set up:

  • The OS allocates memory for the process
  • It creates the Process Control Block (PCB) we learned about earlier
  • It loads the program code into memory
  • It initializes the process's resources

Think of this like a traveler checking in at the airport—they're officially in the system, but not yet ready to board.

The Ready State

Once initialization completes, the process moves to the Ready state. Here, the process is:

  • Fully prepared to execute
  • Waiting in a queue for the CPU
  • Eligible to be selected by the scheduler

The process has everything it needs to run—it just needs permission to use the CPU. Multiple processes often compete in the Ready state, like passengers in the boarding area waiting for their row to be called.

The Transition

The move from New → Ready happens automatically once the OS finishes setup. The Ready state is crucial because most systems run many more processes than available CPU cores, so processes must wait their turn.

Key Takeaway: The New state represents process creation and initialization, while the Ready state means the process is fully prepared and waiting for CPU time—both states occur before any actual execution begins.