Open In App

Random Access Memory (RAM) and Read Only Memory (ROM)

Random Access Memory (RAM) is a type of computer memory that is used to temporarily store data that the computer is currently using or processing. RAM is volatile memory, which means that the data stored in it is lost when the power is turned off. RAM is typically used to store the operating system, application programs, and data that the computer is currently using.

Read Only Memory (ROM) is a type of computer memory that is used to permanently store data that does not need to be modified. ROM is non-volatile memory, which means that the data stored in it is retained even when the power is turned off. ROM is typically used to store the computer’s BIOS (basic input/output system), which contains the instructions for booting the computer, as well as firmware for other hardware devices.



Types of Memory

Memory is the most essential element of a computing system because without it computer can’t perform simple tasks. Both types of memory (RAM and ROM) are important for the computer, but they serve different purposes. RAM is used to store data that the computer is currently using, while ROM is used to store data that the computer needs to boot and operate. RAM is faster than ROM, as the data stored in it can be accessed and modified in any order, while data stored in ROM can only be read.

Computer memory is of two basic types: 



  1. Primary memory (RAM and ROM) 
  2. Secondary memory (Hard Drive, CD, etc). 

Classification of Primary Memory

Random Access Memory (RAM)

Read Only Memory

Types of Random Access Memory (RAM)

1. Static RAM: SRAM stands for Static Random Access Memory. It is a type of semiconductor which is widely used in computing devices and microprocessors.

2. Dynamic RAM: DRAM stands for Dynamic Random Access Memory. It is made of Capacitors and has smaller data life span than Static RAM. 

Difference between SRAM and DRAM

Advantages of Random Access Memory (RAM)

Disadvantages of Random Access Memory (RAM)

Read-Only Memory (ROM)

Read Only Memory

Types of Read-Only Memory (ROM) 

  1. PROM (Programmable Read-Only Memory)
  2. EPROM (Erasable Programmable Read Only Memory)
  3. EEPROM (Electrically Erasable Programmable Read Only Memory)
  4. MROM (Mask Read Only Memory)

1. PROM (Programmable read-only memory): It can be programmed by the user. Once programmed, the data and instructions in it cannot be changed. 

2. EPROM (Erasable Programmable read-only memory): It can be reprogrammed. To erase data from it, expose it to ultraviolet light. To reprogram it, erase all the previous data. 

3. EEPROM (Electrically erasable programmable read-only memory): The data can be erased by applying an electric field, with no need for ultraviolet light. We can erase only portions of the chip.

4. MROM(Mask ROM): Mask ROM is a kind of read-only memory, that is masked off at the time of production. Like other types of ROM, mask ROM cannot enable the user to change the data stored in it. If it can, the process would be difficult or slow.

Advantages of Read Only Memory (ROM)

Disadvantages of Read Only Memory (ROM)

Difference between RAM and ROM

Difference between RAM and ROM

For more differences, you can refer to the Difference between RAM and ROM.

Article Tags :