Volatility generally means storage that is temporary. Often that is expressed by the data disappearing when the computer is turned off.
RAM | ROM | |
It stands for Random Access Memory. | It stands for Read Only Memory. | |
It is also called read/write or volatile memory. | It is also called dead store/ Field store or non-volatile memory. | |
It's contents lost if power is off. | It retains contents if power is off. | |
RAM is divided into- Static RAM and Dynamic RAM | ROM is divided into- PROM EPROM EEPROM Flash Memory | |
Costly or expensive | Cheap in price. |
Both RAM and ROM comes under primary memory.