OS Part 4
OS Part 4
OS Part 4
Stack
The process stack stores temporary information such as method or function arguments, the
return address, and local variables.
Heap
This is the memory where a process is dynamically allotted while it is running.
Text
This consists of the information stored in the processor's registers as well as the most recent
activity indicated by the program counter's value.
Data
In this section, both global and static variables are discussed.
Program
Program is a set of instructions which are executed when the certain task is allowed to complete
that certain task. The programs are usually written in a Programming Language like C, C ++,
Python, Java, R, C # (C sharp), etc.
A computer program is a set of instructions that, when carried out by a computer, accomplish
a certain task
S. Process Program
No
5 Process has its own control system known as Process Program does not have any
Control Block control system. It is just
called when specified and it
executes the whole program
when called
7 A process needs extra data in addition to the program Program is basically divided
data needed for management and execution. into two parts. One is Code
part and the other part is data
part.