Introduction
One of the most common and tricky concepts in Operating Systems is understanding the difference between a Program and a Process. Competitive exams often test this concept because both terms sound similar but have very different meanings.
These questions are usually simple one-liners but can easily confuse learners if the core idea is not clear.
Pattern: Process vs Program
Pattern
A Program is a passive set of instructions stored on disk, whereas a Process is an active program that is currently under execution.
Step-by-Step Example
Question
Which of the following correctly differentiates a program from a process?
Options:
A. Program is active, Process is passive
B. Program is stored on disk, Process is in execution
C. Program requires CPU, Process does not
D. Program is temporary, Process is permanent
Solution
-
Step 1: Recall the basic definitions
A program is a set of instructions written to perform a task, while a process is the execution of those instructions. -
Step 2: Identify active vs passive state
A program remains stored on disk and does nothing by itself, whereas a process is active and uses CPU and memory resources. -
Final Answer:
Program is stored on disk, Process is in execution → Option B -
Quick Check:
Same program can create multiple processes when executed multiple times ✅
Quick Variations
1. Questions may ask which one is active and which is passive.
2. Sometimes framed as identifying which one consumes CPU and memory.
3. Match-the-following questions between program and process characteristics are common.
Trick to Always Use
- Step 1 → If it is just written code, think Program.
- Step 2 → If it is running and using resources, think Process.
Summary
Summary
- A Program is a passive set of instructions stored on disk.
- A Process is an active instance of a program in execution.
- Multiple processes can be created from the same program.
- This is a simple but frequently asked conceptual exam pattern.
