States of Process
Q1. Explain different states of process?
Ans.
Figure: States of Process
As a process executes, it changes state. The state of a process is defined in part by the current activity of that process. Each process may be in one of the following states:
1. New
The process is being created.
2. Running
Instructions are being executed.
3. Waiting
The process is waiting for some event to occur (such as an I/O completion or reception of a signal).
4. Ready
The process is waiting to be assigned to a processor.
5. Terminated
The process has finished execution.
It is important to realize that only one process can be running on any processor at any instant. Many processes may be ready and limiting, however.