What is a PCB?

The Process Control Block (PCB) is a core data structure used by the operating system to manage each active process. It stores all the necessary information required for process execution, scheduling, and resource tracking.


Why is the PCB Necessary?

Context Switching

When a process is interrupted (due to time expiration, I/O request, or arrival of a higher-priority process), the OS must:

This is done using the PCB, which records:

Without PCBs, the system could not support multitasking or process switching.


Where is PCB Stored?