In a computer memory hierarchy, most data is first loaded into Random Access Memory (RAM) before it is processed by the CPU. When a user opens a program or file, the operating system transfers the required data from secondary storage,... Read More
In a computer memory hierarchy, most data is first loaded into Random Access Memory (RAM) before it is processed by the CPU. When a user opens a program or file, the operating system transfers the required data from secondary storage, such as a hard disk or SSD, into RAM. Since RAM is much faster than permanent storage, it allows the processor to access data quickly and execute programs efficiently. Therefore, Option A (RAM) is the correct answer.
Once the required data is available in RAM, the CPU retrieves frequently used instructions and data from RAM and temporarily places them into cache memory. Because cache memory is even faster than RAM and is located much closer to the processor, it helps reduce access time and improves overall system performance. However, data generally reaches RAM first before being copied into the cache for immediate processing.
The remaining options do not fit this process. ROM (Read-Only Memory) stores permanent firmware instructions and is not used for loading user programs or temporary data. BIOS is firmware responsible for initializing hardware and starting the computer during the boot process; it is not a storage level in the memory hierarchy for application data. Cache memory stores only the most frequently accessed data after it has already been loaded into RAM.
Exam Tip:
Remember the flow of data during program execution:
Storage Device (HDD/SSD) → RAM → Cache Memory → CPU
Discussion
Leave a Comment