The difference between RAM aka Random Access Memory and ROM aka Read Only Memory is as given below:
Random Access Memory (RAM)
The RAM memory refers to a memory device in which one can both read and write the desired data. It is a part of computer’s main memory. RAM holds the data and program that are being used by the computer at a given time.
- As it’s name suggests, any memory location can be accessed in a random way
- Access time is same for each and every memory location
- It is volatile memory i.e. it store information as long as power is supplied to it. It’s contents are lost when power supply is switched off.
- It is used where the data changes frequently
- RAM is also called direct access memory
- It is further classified into Static RAM (SRAM) and Dynamic RAM (DRAM)
Read Only Memory (ROM)
ROM is a permanent type of memory, it contains memory cells that are permanently programmed by the manufacturer with a specific patterns of 1′s and 0′s. It is a read only memory.
- ROM is not accessible to user and hence user can’t write anything into it.
- It is a non-volatile memory i.e. it’s contents are not lost when it’s power supply is switched off.
- ROM contents are written at the time of it’s IC fabrication.
- ROM is further classified into Masked ROM, Programmable ROM, Erasable Programmable ROM and Electrical Erasable Programmable ROM.
Hope you find the information presented here useful. Please leave your footprints in the comments section below for any queries, feedback or suggestions.