Difference between RAM and ROM | RAM Vs ROM | Comparison

Difference between RAM and ROM | RAM Vs ROM | Comparison

RAM and ROM are both used as internal memories in the computer system.

Difference between RAM and ROM

Now, here we will discuss some differences in between RAM and ROM with using of Comparison Chart in tabular form; show below
difference-between-ram-and-rom

Difference

Full Form

Memory Variants

Memory Storage

Operation

Speed

Storage variants

Preferred as

Data retention while getting power

Processor accessibility

Price

Different types of Memory 

Modification

Size of memory’s types

Usage

RAM

Random Access Memory

Volatile

1 – 256 single chip

Both ability Read and Write

Fastest

Temporary

Main Memory

Crashed stored data in RAM, due to failure of power

Processor is able directly to access data in RAM

High

Two types of RAM: SRAM and DRAM

Data can be modified

Large than ROM (Read only memory)

As CPU Cache and Primary memory

ROM

Read Only Memory

Non-volatile

4 – 8MB single chip

Only Read

Slow to RAM

Permanent

Secondary memory

Data can be accessed when power turn off 

Processor cann’t  directly access data in ROM

Lesser to RAM

MROM, PROM, EPROM and EEPROM

Cannot be modified

Less than an inch in length

Used as Firmware by micro-controllers

RAM (Random Access Memory) helps to store all programs and data, and them are used by CPU in the real time. RAM is ability to perform both operation such as read and write. It is also known as temporary memory because all data is existed in the RAM until power gets turn off, when power gets  turn off then all data will gets erased and can’t be restored.

There are two types of RAM; like as –

Static RAM: SRAM is needed the continuously flow of power to retain the data inside it, and it more costly to DRAM. SRAM is used as cache memory for the computer.

Dynamic RAM: DRAM requires being refreshed to retain all data that holds it, and its speed is slow as well as cheaper compare to SRAM.

ROM (Read Only Memory): ROM stands for “Read Only Memory”. This memory is able to store data in permanently means, and it is non-volatile memory that means its data never destroy when power get turn off. It is programmable chip because in which stored all instructions that are most required when to start computer.

There are four types of ROM; below explain each one –

MROM: MROM stands for “Masked Read Only Memory“, and it is very first ROM was hard-wire devices. Masked ROMs consist pre-planned program of data otherwise instructions and it is cheaper as well.

PROM: PROM stands for “Programmable Read Only Memory“. On this PROM, data can be written only one time, and it remains there forever. PROM is capable to retain their needed data when Computer is getting turn off. User purchases a empty PROM, and inserts the needed data with help of PROM program.

EPROM: EPROM stands for “Erasable and Programmable Read Only Memory”, and in which stored data can be deleted by using of ultra-violet light for some time frame up to 40 minutes. The ultraviolet light clears its data, and now you can to reprogram the memory.

EEPROM: EEPROM stands for “Electrically Erasable and Programmable Read Only Memory“, and In EEPROM, all activities such as programming and erasing are performed by electrically. This EEPROM is able to reprogrammed and erased in more than ten thousand time.

Key Differences between RAM and ROM Memory

  • RAM is capable to both operations like as Read/Write, whereas ROM is capable only read operation.
  • RAM has ability to store data as temporarily nature because it entire data is crashed while getting turn off power, whereas ROM can store data lifelong.
  • RAM is a volatile nature memory, whereas ROM is a nonvolatile memory.
  • RAM’s speed has faster compared to ROM.
  • RAM is categorized as primary memory, where as ROM is categorized a secondary memory.
  • RAM can be update easily any time, whereas ROM’s data never is updated.
  • RAM has range from 64 MB to 4 GB, whereas ROM is smaller compare to RAM.
  • RAM is expensive compare to ROM.
  • RAM stands for Random Access Memory whereas; ROM stands for Read Only Memory.
  • RAM is divided into two types into static and Dynamic RAM, whereas ROM is divided into MROM, PROM, EPROM and EEPROM.
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *