1

which of the following memory has the shortest access time?

  1. Virtual memory
  2. Cache memory
  3. External memory
  4. Register

When I try to select the correct answer, I feel like it must be cache memory but answer is Register. Is it so? Please explain me more.

1 Answer 1

3

Register memory is build into the CPU, so it is the closest to the point of access with the lowest amounts of latency.

How Computer Memory Works

The final step in memory is the registers. These are memory cells built right into the CPU that contain specific data needed by the CPU, particularly the arithmetic and logic unit (ALU). An integral part of the CPU itself, they are controlled directly by the compiler that sends information for the CPU to process. See How Microprocessors Work for details on registers.

Structure:

enter image description here

There is a fairly good summary/article of that from the same page as the image if from. Source

2
  • Note that cache memory is almost always built in to the CPU these days, too. Commented Aug 22, 2013 at 14:07
  • @ChrisInEdmonton - True, I guess I should distinguish that the registers are actually where the operations are happening - not necessarily in all of them as some are used as holders for counters, offsets, etc. So the cache is still a step further, but is more memory typically.
    – nerdwaller
    Commented Aug 22, 2013 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .