What Is the Difference Between RAM (Random Access Memory) and ROM (Read Only Memory)

RAM which stands for Random Access Memory and ROM which stands for Read Only Memory are the major categories or types of semiconductor memories.

RAM is responsible for storing or holding data which are temporary and can be erased when power is lost hence it is called volatile memory while ROM stores data permanently and can hold data even if power is turned off hence it is non-volatile.

Difference Between RAM and ROM


RAM

  1. RAM stands for Random Access Memory.

  2. RAM is a read/write memory.

  3. Data are stored temporarily in RAM.

  4. RAM is a volatile memory as it loses stored data when there is no power supply.

  5. Data in RAM can be modified.

  6. Data in RAM can be directly accessed by the CPU (Central Processing Unit).

  7. RAM is faster than ROM in terms of speed.

  8. There are two types of RAM – SRAM (Static RAM) and DRAM (Dynamic RAM).

  9. RAM is expensive or costlier.

  10. RAM has a larger data size capability.

  11. RAM can store data up to several Gigabytes.


ROM

  1. ROM stands for Read Only Memory.

  2. ROM is a read memory as oppose to RAM which is a Read/Write Memory.

  3. Data are stored permanently in ROM.

  4. ROM is a non-volatile memory as it retains the stored data when there is no power supply .

  5. Data in ROM cannot be modified.

  6. Data in ROM cannot be directly accessed by the CPU (Central Processing Unit) rather data in ROM is copied to the RAM.

  7. ROM is slower than RAM in terms of speed.

  8. There are five types of ROM – Mask ROM (or just ROM), Programmable ROM (PROM), Erasable Programmable ROM (EPROM), Ultraviolet EPROM (UV EPROM) and Electrically Erasable PROM (EEPROM).

  9. ROM is less expensive or cheaper.

  10. ROM has a smaller data size capability.

  11. ROM can store data up to several Megabytes.