What is the difference between RAM and ROM?

RAM (random access memory) and ROM (read only memory) are both the primary memory of a computer system. Although they are both memory, they are different from each other in different ways such as price, function, size, speed etc. Before knowing what is the difference between RAM and ROM, we should know what it is.



RAM

RAM is the primary memory that currently stores programs or files by the CPU. The CPU can read data from RAM memory and write data hence it is also called read and write memory.

All files and programs are permanently stored in secondary storage devices such as hard disks, CD-DVDs, floppy disks, etc., because the CPU is not able to directly access the resources stored in secondary storage, so RAM for processing the program Is brought into

This process is called program "loading". When you run a word processing software to write a letter or essay to watch a movie, or programs like a VLC media player, VLC and MS Word operating system load those programs into RAM and then the CPU executes it .

RAM is an unstable memory or a temporary memory. The program data loaded on this memory remains as long as the computer is powered on.

Once the computer stops all programs and files are erased. When a program loaded in RAM stops, the program is erased, but program data may still occur so that the CPU considers re-reading the required data from the hard disk.

It stores frequently used data. The operating system of the computer is responsible for loading and erasing programs.

RAM memory is typically faster than a hard disk or any other secondary storage device.

Types of RAM:

1. Sram

This is for static random access memory. It is faster and more expensive than DRAM.


2. DRAM

DRAM stands for Dynamic Random Access Memory. It is cheaper than SRAM. Most computers use this type of RAM.

Read Only Memory (ROM)


ROM means read only memory. ROM is read only memory. The CPU can read instructions from this memory but it cannot write data to ROM.

The ROM stores various important instructions that are required to boot a computer, such as the BIOS (Basic Input Output System).

ROM is a non-volatile memory. The ROM instruction does not get erased even when the computer is turned off. ROM is used in computers as well as other basic electronic devices such as washing machines, some digital clocks, robots, etc.

Hopefully, this post from us will have got the information about what is the difference between RAM and ROM. And also share this information so that others will also get information about it.

Thanks you










Comments