NIMCET 2021 — Computer PYQ
NIMCET | Computer | 2021Which of the following is the fastest means of memory access for CPU?
Choose the correct answer:
- A. Registers(Correct Answer)
- B. cache
- C. Main memory
- D. Stack
Explanation
Computer memory is organized in a hierarchical structure based on speed, cost, and capacity. The closer a storage element is to the CPU core, the faster its access speed.
Here is the breakdown of the options from fastest to slowest:
Registers (Option A): These are small, high-speed storage locations located directly inside the CPU processor chip itself. They operate at the same speed as the processor cycle, making them the fastest possible means of data access.
Cache (Option B): Cache memory is located very close to the CPU (often on-chip like L1, L2, L3 caches) to store frequently used instructions. It is slower than internal registers but significantly faster than main memory.
Main Memory / RAM (Option C): Located outside the CPU chip on the motherboard. Accessing RAM requires traversing the system bus, which introduces wait cycles, making it slower than both registers and cache.
Stack (Option D): The stack is a logical data structure typically implemented inside the main memory (RAM). Therefore, its access speed is constrained by the speed of the main memory itself.
Comparison Table:
Memory Type | Location | Access Time / Speed | Capacity |
Registers | Inside the CPU | Fastest (Sub-nanosecond) | Extremely Small (Bytes) |
Cache | On/Near the CPU Chip | Faster (Nanoseconds) | Small (Megabytes) |
Main Memory (RAM) | On Motherboard | Slow (Tens of nanoseconds) | Large (Gigabytes) |
Therefore, Registers provide the fastest means of memory access for the CPU.
