Q) Explain Process Control Block. Draw The Block Diagram: of Process Transition States
Q) Explain Process Control Block. Draw The Block Diagram: of Process Transition States
New State
Ready State
Exit State
The diagram shows the four basic states that a process can be in: New, Ready, Running, Blocked, and Exit. The arrows show the possible transitions
between these states.
New State: This is the state when a new process is
created, but it has not yet been admitted to the system.
Ready State: This is the state when a process is
waiting for a CPU to become available.
Running State: This is the state when a process is
currently being executed by the CPU.
Blocked State: This is the state when a process is waiting for an event
to occur, such as input/output completion, before it can proceed.
Exit State: This is the state when a process has
completed its execution and has terminated.
The PCB is used to store information about the current state of a process, and it is updated by
the operating system as the process moves between different states. This information is used
by the operating system to manage the process and allocate resources as necessary
Q).What is system call? Explain briefly about
various types
process is created?
-- A thread