Which of the following is the fastest memory in a computer system?
- A.Cache memory
- B.Register
- C.Main memory
- D.Hard disk
Correct answer
Explanation
The correct answer is B, register. A register is built into the CPU itself and holds the word the arithmetic and logic unit is operating on at that instant, so it is read and written in a single clock cycle. Nothing in the machine is closer to the processor, and nothing is faster.
Option A, cache memory, is the second fastest and is the right answer only when registers are missing from the options; it sits between the CPU and main memory and is built from static RAM. Option C, main memory, is the DRAM the processor addresses directly, which is fast but an order slower than cache because every cell has to be refreshed. Option D, the hard disk, is secondary storage with moving platters and heads, so its access time is measured in milliseconds against nanoseconds for the levels above it. The order to memorise is register, cache, main memory, secondary storage, magnetic tape.
Read the full article: Memory and Storage: RAM, ROM, Cache and Units
Practice Questions
View allHow many bits make one nibble?
- A.2 bits
- B.4 bits
- C.8 bits
- D.16 bits
Show answer
A nibble is half a byte, that is four binary digits, and it matters because one nibble is written as exactly one hexadecimal digit, from 0 to F. That is why memory addresses in hexadecimal are read four bits at a time.
Read the full explanation →Which type of memory has to be refreshed thousands of times per second to retain its contents?
- A.SRAM
- B.DRAM
- C.ROM
- D.Flash memory
Show answer
Dynamic RAM stores each bit as a charge on a very small capacitor, and that charge leaks away in a few milliseconds, so the memory controller has to read and rewrite every cell continuously.
Read the full explanation →The contents of an EPROM chip are erased by exposing it to
- A.An electrical signal
- B.Ultraviolet light
- C.A magnetic field
- D.Infrared radiation
Show answer
An Erasable Programmable Read Only Memory chip carries a small quartz window over the silicon; ultraviolet light shone through that window releases the trapped charge from every cell at once and returns the chip to its blank state, after which it can be programmed again.
Read the full explanation →One terabyte is equal to how many gigabytes?
- A.100 GB
- B.512 GB
- C.1,024 GB
- D.2,048 GB
Show answer
Every step in the ladder of storage units multiplies by 1,024, because 1,024 is 2 raised to the power 10 and memory is addressed in binary.
Read the full explanation →Which of the following is an example of volatile memory?
- A.ROM
- B.RAM
- C.Hard disk
- D.Pen drive
Show answer
Random Access Memory holds a bit only while it is powered, whether the cell is a flip-flop in static RAM or a leaking capacitor in dynamic RAM.
Read the full explanation →