ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2017329621064-é»Žčæę³½ >
homework-2 Version 0
šŸ‘¤ Author: by theliyunzealiyuncom 2019-09-19 03:03:05
Describe the life circle of process andĀ  why each process must have one PCB.

1)Ā New State :Ā When a user request for a Service from the System , then the System will first initialize the process or the System will call it an initial Process . So Every new Operation which is Requested to the System is known as the New Born Process.
2) Running State :Ā When the Process is Running under the CPU, or When the Program is Executed by the CPU , then this is called as the Running process and when a process is Running then this will also provides us Some Outputs on the Screen.
3) Waiting :Ā When a Process is Waiting for Some Input and Output Operations then this is called as the Waiting State. And in this process is not under the Execution instead the Process is Stored out of Memory and when the user will provide the input then this will Again be on ready State.
4) Ready State :Ā When the Process is Ready to Execute but he is waiting for the CPU to Execute then this is called as the Ready State. After the Completion of the Input and outputs the Process will be on Ready State means the Process will Wait for the Processor to Execute.
5) Terminated State :Ā After the Completion of the Process , the Process will be Automatically terminated by the CPU . So this is also called as the Terminated State of the Process. After Executing the Whole Process the Processor will Also deallocate the Memory which is allocated to the Process. So this is called as the Terminated Process.

AĀ PCBĀ keepsĀ allĀ theĀ informationĀ neededĀ toĀ keepĀ trackĀ ofĀ aĀ processĀ asĀ listedĀ belowĀ inĀ theĀ table

Please login to reply. Login

Reversion History

Loading...
No reversions found.