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.


Comments
Post a Comment