Business/02. Who executes the Program and where program is resides.

Business/02. Who executes the Program and where program is resides.

In the context of computers and programming, your question —
“Who executes the program and where the program resides?” — can be interpreted in the following way:


Contents

👤 Who Executes the Program?

The Central Processing Unit (CPU) executes the program.

  • The CPU is the core component of a computer that performs all the instructions of a program.
  • It fetches instructions from memory, decodes them, and then executes them.
  • In modern systems, the Operating System (OS) plays a crucial role in loading the program into memory and coordinating with the CPU.

🗂️ Where Does the Program Reside?

A program typically resides in different places at different stages:

Stage Where the Program Resides
Before Execution Secondary Storage (e.g., Hard Disk, SSD) — Stored as executable files (.exe, .out, .class, etc.)
During Execution Main Memory (RAM) — The OS loads the program into RAM so the CPU can access and execute it
Instruction Fetch CPU Registers / Cache — The CPU temporarily holds instructions/data here during execution

🔁 Summary

  • Executed by: CPU (under control of OS)
  • Resides in:
    • Stored on disk (before running)
    • Loaded into RAM during execution
    • Fetched by CPU from RAM into registers/cache for execution

Let me know if you meant this in a business or project management context (e.g., business program execution), and I can explain that too.

Business/02. Who executes the Program and where program is resides.

Structure and Interpretation of Computer Programs, 2nd ed.

Computer Organization [R18A0505] LECTURE NOTES

1 INTRODUCTION TO COMPUTER

Leave a Reply

Your email address will not be published. Required fields are marked *

error: