In: Computer Science
Explain the difference between volatile and non-volatile storage media. Provide an example of each.
Volatile memory is used to store computer programs and data that require a CPU in real time and is erased after the computer shuts down. RAM and cache memory is volatile memory. Where non-volatile memory is stable and remains in the computer even when the computer is turned off. ROM and HDD are non-volatile memory.