Which of the following is a volatile memory?
- A.ROM
- B.Hard disk
- C.RAM
- D.EPROM
Show answer
Correct answer: C. RAM
Explanation
The correct answer is C, RAM. Random access memory holds the programs and data the processor is working on at that moment, and it is volatile: the instant the power supply is cut, everything stored in it disappears. That is why unsaved work is lost in a power failure.
Option A, ROM, is read-only memory, written normally at manufacture and non-volatile, so it keeps the start-up instructions safely when the machine is switched off. Option B, the hard disk, is secondary storage and is non-volatile by design, since its whole purpose is to hold data permanently. Option D, EPROM, is erasable programmable read-only memory, a ROM variant whose contents can be wiped with ultraviolet light and rewritten, but it too retains data without power. The single word to test in such a question is volatile, and only RAM carries it.