Volatile Vs. Non-Volatile Memory
Memory can also be classified into two categories whether data, stored on it, retains even when the power is turned off or interrupted.
Volatile (or Temporary) Memory
A memory is said to be volatile memory if the stored information is destroyed when power goes off. In almost all computer systems, the primary memory is volatile and the secondary memory is non-volatile. ROM is the exception in this case, though it is a primary memory, but non-volatile in nature.
Example of volatile memory: RAM, cache memory, register etc.
Non-Volatile (or Permanent) Memory
Nonvolatile memory can retain data stored on it, even when the power is turned off or interrupted. In almost all computer systems, the primary memory is volatile and the secondary memory is nonvolatile.
Example of nonvolatile memory: hard disk, floppy disk, compact disk (CD), digital versatile disk (DVD), ROM etc.
Statlearner
Statlearner