Computer Difference between RAM and ROM | RAM Vs ROM | Comparison

Difference between RAM and ROM | RAM Vs ROM | Comparison

DifferenceRAMROM
Full FormRandom Access MemoryRead Only Memory
Memory VariantsVolatileNon-volatile
Memory Storage1 – 256 single chip4 – 8MB single chip
OperationBoth ability Read and WriteOnly Read
SpeedFastestSlow to RAM
Storage variantsTemporaryPermanent
Preferred asMain MemorySecondary memory
Data retention while getting powerCrashed stored data in RAM, due to failure of powerData can be accessed when power turn off
Processor accessibilityProcessor is able directly to access data in RAMProcessor cann’t  directly access data in ROM
PriceHighLesser to RAM
Different types of MemoryTwo types of RAM: SRAM and DRAMMROM, PROM, EPROM and EEPROM
ModificationData can be modifiedCannot be modified
Size of memory’s typesLarge than ROM (Read only memory)Less than an inch in length
UsageAs CPU Cache and Primary memoryUsed as Firmware by micro-controllers

RAM (Random Access Memory) helps to store all programs and data, and them 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. This is because; all data get exist in the RAM until power gets turn off, when power gets  turn off then all data will gets erase and can’t be restoring.

There are two types of RAM; like as –

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

Dynamic RAM: DRAM requires being refreshing to retain all data that holds it. So, 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 writing 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 delete 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 get perform by electrically. This EEPROM is able to reprogrammed and erased in more than ten thousand time.

  • 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 get crash 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 categorized as primary memory; where as ROM is categorized a secondary memory.
  • RAM can be updating easily any time, whereas ROM’s data never 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 going to divide into two types into static and Dynamic RAM. Whereas ROM divides into MROM, PROM, EPROM and EEPROM. 

Leave a Reply

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