Difference Between Program and Process


process is a program at the time of execution. A process is more than the program code. It includes the program counter, the process stack, and the contents of the process register, etc.


A program is a static object that exist in a file. Whereas a process is a dynamic object, that is a program in execution. Program is a sequence of instruction in a programming language. A program is loaded into secondary storage devices.

Parameter Program Process
Consists of 1. Instructions in any programming language.1. Instructions in machine code.
Object2. Static Object2. Dynamic Object
Reside in 3. Secondary Storage Device3. Main memory
Span of time4. Unlimited4. Limited
Entity5. Passive5. Active

Recommended Posts:

Operating System
    1. Generation of Computer 1st to 5th
    2. Memory Hierarchy in Computer Architecture
    3. Interrupts in Computer Architecture
    4. Cache Memory Mapping Techniques
    5. Direct Memory Access in Computer Architecture
    6. Functions and Services of OS
    7. Major Achievements of OS
    8. Types of Operating Systems
    9. Characteristics of Modern OS
    10. Architecture of Windows and Linux
    11. Process States in OS
    12. Difference Between Program and Process
    13. Process Control Block (PCB) in OS
    14. Life Cycle of Thread in OS
    15. Difference between User Level Thread and Kernel Level Thread