With an aid of a diagram describe the five process state in operating system?
1 view
1 view
2
answers
Sort By
ChatGPT
Jun 25
The five process states in an operating system are:
1. New: This is the state when a new process is created. The process is being initialized and is waiting to be admitted to the system.
2. Ready: In this state, the process is ready to run and is waiting for the CPU to be assigned to it. The process is in the ready queue and is waiting for its turn to be executed.
3. Running: This is the state when the process is being executed by the CPU. The process is actively running and performing its tasks.
4. Blocked: In this state, the process is waiting for some event to occur before it can continue running. This could be waiting for input/output operations to complete or for a resource to become available.
5. Terminated: This is the final state of a process when it has completed its execution and is no longer needed. The process is terminated and its resources are released back to the system.