What is difference between ROM and RAM?

What is ROM?

ROM stands for Read-Only Memory. It is a memory chip with its electronics switches permanently on or off, so it can’t be changed. So it says Read-Only Memory (ROM). It can store the information permanently, even when the computer power turned off. But you can’t edit, rewrite, update, erase or delete its data after it is manufactured. ROM generally used in computers and other electronic devices such as Smartphones, Tablets, TV, AC, etc. The difference between ROM and RAM explained below in detail.

Types of ROM:

There are mainly four types of ROM:
MROM: It stands for Mask Read Only Memory. MROM was the first ROM in a hard-wired device. It contains a software mask that is burned onto the chip during the semiconductor design manufacturing process. So, It also says Masked ROM.

PROM: It stands for Programmable Read-Only Memory. It is essentially a blank version of ROM that you can purchase and program once with the help of a special tool called a programmer. It means that a user can program data into the PROM only once.

EPROM: It stands for Erasable Programmable Read-Only Memory. EPROM allows you to write and rewrite them many times. These EPROM chips’ main feature is a quartz window through which a specialized EPROM programmer emits a specific frequency of ultraviolet light (UV). This type of light burns out the previously stored data and thus empties it to fill with another program.

EEPROM: It stands for Electrically Erasable Programmable Read-Only Memory. It is the most sophisticated type of ROM that not only allows rewriting of the program several thousand times. EEPROM allows the programmer to write and rewrite programs onto it without needing to disassemble the ROM card from the main system.

What is RAM?

RAM stands for Random Access Memory. When a computer turns on, and it is running a program, This memory uses for displaying the program on the screen. But when the computer turns off, everything will be lost in it. It says Random Access Memory (RAM).

It can read and write the memory of a computer as we can write information to it as well as read from it. But when you shut down the computer, then the RAM loses all of the written data. When you turned on the computer, the instructions from the hard disk stored in the RAM. These instructions include the operating system and other programs needed to run a computer.

Types of RAM:

There are two types of RAM:
SRAM: It stands for Static random access memory. It is a type of RAM that stores data using a Six-transistor memory cell. SRAM is mostly used as a cache memory for the processor.

DRAM: It stands for Dynamic random access memory. It is a type of RAM which allows you to store each bit of data using a pair of transistors and capacitors.

Difference Between ROM and RAM:

What is difference between ROM and RAM

ROM
RAM
1. It stands for Read Only Memory
1. It stands for Random Access Memory
2. It is a read only memory2. It is a read write memory
3. It is a non-volatile memory3. It is a volatile memory
4. It is used to store instructions4. It is used to store data that has to be currently processed by CPU
5. ROM is smaller than RAM5. RAM is larger than ROM
6. ROM is a form of permanent storage.
6. RAM is a form of temporary storage.
7. When the computer is turned off, nothing will be lost.7. When the computer is turned off, everything data into RAM will be lost.
8. In ROM, data can't be modified8. In RAM, data can be modified
9. ROM is cheaper than RAM9. RAM is expensive than ROM
10. ROM can hold data even without electricity.10. RAM can't hold data without electricity.
11. It stores data in Gigabyte (GB).11. It stores data in Megabyte (MB).
12. It is used for startup process of computer.12. It is used to place data it's currently working on computer.