In this topic, you will learn about, Process In Operating System
PROCESS: A process is a program in execution. The execution of a process must progress in a sequential fashion. That is at any time at most one instruction is executed on behalf of the process
A process is more than the program code.it also includes the current activity, as represented by the value of the program counters and the contents of the processes register. A process generally also includes the process stack, containing temporary data (such as subroutine parameters, return addresses, and temporary variables and a data section containing global variables
Process State: As the process executes it changes state. The state of a process is defined in part by the current activity of the process. Each process may be in one of the following states:
- New: The process is being a creator.
- Running: Instruction is being executed.
- Waiting: The process is waiting to be assigned to a processor.
- Terminated: The process has finished execution.
Also Read: Differentiate between a program and a process
Comment below if you have queries related to the above topic, Process In Operating System.