You are on page 1of 2

Name: Yeasin Arafat

Roll: 3286
Reg Number: 0320513286

Assignment topic: Explain Process Control Block (PCB) with the diagram of
Process Cycle.
Process control block is something that we use to represent a particular process in
the Operating System. So let’s take an example a diagram of the process cycle to
see how the process control block represent the particular process in the OS.

Process State
Process Number
Process Counter
Register
Memory Limits
List of Open Files
-----------------------

Figure no 01: PCB Diagram.


So, this is just an example diagram showing a process control block and what are
thing present in the process control block .so, know let us see one by one:

Process Control Block cycle:


1) Process ID/Number: It shows the unique id or number of a particular process.
So, every process has to be represent by a unique ID.
2) Process State: Process state tells us the particular state in which a process at
that particular moment and that is a process can be in different states like the
new state, running state, waiting state, terminated state, etc.
3) Program Counter: The program counter it indicate the address of the next
instruction that has to be executed that particular process.
4) CPU Registers: This specifies the registers that are used by the process. They
may include accumulators, index registers, stack pointers, general purpose
registers etc.
5) CPU Scheduling Information: The process priority, pointers to scheduling
queues etc. is the CPU scheduling information that is contained in the PCB. This
may also include any other scheduling parameters.
6) Memory Management Information: The memory management information
includes the page tables or the segment tables depending on the memory system
used. It also contains the value of the base registers, limit registers etc.
7) Accounting Information: The time limits, account numbers, amount of CPU
used, process numbers etc. are all a part of the PCB accounting information.
8) I/O Status Information: This information includes the list of I/O devices used by
the process, the list of files etc.

You might also like