Write note on process, process state?
A process is in excess of the program code which is sometimes known as text section. It as well includes the current activity as represented by the value of program counter and the contents of processor's register. In addition process in general includes the process stack which contains temporary data and a data section which contains global variables
Process state
The status of a process is defined in part by the current activity of that process.
- New- the process is being created.
- Running- instructions are being executed.
- Waiting- process is waiting for few events to occur.
- Ready- process is waiting to be assigning to the processor.