Difference Between Program and Process

Difference Between Program and Process in tabular form

The  Major Difference Between Program and Process is that A program is a set of instructions. and A process is a program in execution.

Difference Between Program and Process


Comparison Chart

PROGRAMPROCESS
A program is a set of instructions.A process is a program in execution.
A program is a passive/ static entity.A process is an active/ dynamic entity.
A program has a longer life span. It is stored on disk forever.A process has a limited life span. It is created when execution starts and
terminated as execution is finished.
A program is stored on disk in some file. It does not contain any other resource.A process contains various resources
like memory address, disk, printer etc… as per requirements.
A program requires memory space on the disk to store all instructions.A process contains memory address which is called address space.
Longer LifespanLimited Lifespan

Process

  • The process is a program under execution.
  • It is an instance of an executing program, including the current values of the program counter, registers & variables.
  • The process is an abstraction of a running program.

Related Differences:

  1. Difference Between Monolithic Kernel and Microkernel
  2. Difference Between Hard and Soft Real-Time System
  3. Difference Between Paging and Segmentation



LEAVE A REPLY

Please enter your comment!
Please enter your name here