Process Vs Program In Operating System

What Is Processes Explain, Difference Between Process And Program, Process Vs Program In Operating System

In This Topic & Blog Having Any Query Then Post your Comment and Suggestion Below

Processes• A “process” is a program at the time of
execution. A process is the more than the
program code, it includes the program
counter, the process stack and the content of
process register etc.
• The purpose of process stack is to store
temporary data, such as subroutines
parameters, return address and temporary
variables.

Process vs program
• A program is a static object that exist in a
file. Where as a process is a dynamic object,
that is a program in execution. A program is
a sequence of instructions, a process is a
sequence of instruction execution.
• A loaded into secondary storage device.
Where as process loaded into main memory.
Time span of program is unlimited. The time
span of process is limited.

Process vs program
program process
Consists of Instruction in any
programming
language
Instruction
execution in
machine code
Is Static object Dynamic object
Reside in Secondary storage
devices
Main memory
Span of time unlimited limited
Entity passive active

Labels: