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

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



play-rounded-fill play-rounded-outline play-sharp-fill play-sharp-outline
pause-sharp-outline pause-sharp-fill pause-rounded-outline pause-rounded-fill
00:00
ยฉ 2018 Flowplayer ABAbout FlowplayerGPL based license

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 [hide]

๐Ÿ‘ค 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: