Which type of memory is directly accessed by the CPU during program execution?
A. Cache Memory
B. RAM
C. Hard Disk
D. None of the above
Answer: Option B
Solution (By Examveda Team)
The correct answer is B: RAM (Random Access Memory)Let's break down why:
A: Cache Memory
While the CPU uses cache memory, it's not directly accessed for every instruction.
Think of it as a small, super-fast storage for frequently used data from RAM.
The CPU first checks the cache.
If the data is there ("cache hit"), it's used.
If not ("cache miss"), the CPU fetches it from RAM.
B: RAM (Random Access Memory)
RAM is the main memory of a computer.
When a program is running, its instructions and data are stored in RAM so the CPU can access them quickly and directly.
The CPU fetches instructions and data directly from RAM to execute the program.
C: Hard Disk
The hard disk is for long-term storage.
It's much slower than RAM.
Programs and data need to be loaded from the hard disk into RAM before the CPU can use them.
The CPU does not directly execute code or access data directly from the hard disk.
D: None of the above
Since RAM is directly accessed, this option is incorrect.
In summary: The CPU uses RAM to directly access and execute programs and their data during program execution.
Join The Discussion
Comments (1)
Related Questions on Computer Architecture
Which of the following is not a component of Von Neumann architecture?
A. CPU
B. ALU
C. Memory Unit
D. I/O Interface
What does SIMD stand for in computer architecture?
A. Single Input Multiple Drive
B. Single Input Multiple Data
C. Single Instruction Multiple Drive
D. Single Instruction Multiple Data
Which cache is typically smaller and faster compared to others in a computer system?
A. L2 Cache
B. L3 Cache
C. L1 Cache
D. Virtual Cache
Which register in the CPU stores the address of the next instruction to be fetched?
A. Instruction Register
B. Program Counter
C. Accumulator
D. None of the above

Cache Memory = For the CPU to quickly access frequently used data and instructions.
RAM = For temporarily storing programs and data so that the CPU can use them.
so, answer should be option A.