
01914955028
sahina akter
Process:
• A program in execution
• An instance of a program running on a computer
• The entity that can be assigned to and executed on a processor
• A unit of activity characterized by the execution of a sequence of instructions, a current state, and
an associated set of system instructions
Consist of three segments
» Text
-contains the code (instructions)
» Data
-Global variables
» Stack
-Activation records of procedure
-Local variables
•Note:
» data can dynamically grow up
» The stack can dynamically grow down
Consists of three components
» An executable program
- Text
» Associated data needed by the program
- Data and stack
» Execution context of the program
- All information the operating system needs to manage the process
• Registers, program counter, stack pointer, etc…
- A multithread program has a stack and execution context for each thread