filmov
tv
What is Process? | Parts of Process | | Process VS Program |
Показать описание
What is Process? | Parts of Process | | Process VS Program |
#Process
When a program is loaded in memory for execution is called Process.
A program in its execution is called Process.
A Program does not perform any action itself. When a program runs on computer it perform an action.
Program is an static entity(passive entity) while Process is active entity.
Parts of Process:
Program Code(Text Section): It contains set of instructions. It is used to perform an activity.
Stack: It contains temporary data for process. For example, it contains parameters of procedures, return address and local variables.
Program Counter: It keeps track of the address of the next instruction to be executed in memory.
Data Section: It contains global variables.
Heap: Memory space that is dynamically allocated during process execution.
Like, Share and Subscribe!
#Process
When a program is loaded in memory for execution is called Process.
A program in its execution is called Process.
A Program does not perform any action itself. When a program runs on computer it perform an action.
Program is an static entity(passive entity) while Process is active entity.
Parts of Process:
Program Code(Text Section): It contains set of instructions. It is used to perform an activity.
Stack: It contains temporary data for process. For example, it contains parameters of procedures, return address and local variables.
Program Counter: It keeps track of the address of the next instruction to be executed in memory.
Data Section: It contains global variables.
Heap: Memory space that is dynamically allocated during process execution.
Like, Share and Subscribe!