Difference between RAM and ROM
Although RAM and ROM both are the internal memories of the computer, they are different from each other in terms of their uses, storage capacity, physical size, and more. Let us see how they differ from each other.
What is RAM:
RAM stands for Random Access Memory. It is the internal memory of the CPU in the form of a hardware device located on the motherboard of a computer. It is designed to store data, programs, and results of a program when a computer is switched on. It is the read and write memory of a computer as we can write information to it as well as read from it.
Furthermore, RAM is a volatile memory as it can?t store data and instructions permanently. For example, when we switch on a computer, the instructions from the hard disk are stored in the RAM. These instructions include the operating system (OS) and other programs which are needed to run a computer. CPU uses these instructions to perform the tasks required to run the computer. This data is retained by the RAM as long as the computer is on, the moment you shut it down, the RAM loses the data. The reason for transferring the data to RAM is that it is easy and fast to read data from RAM as compared to reading it from the hard drive.
What is ROM:
ROM stands for read only memory. It is a non-volatile memory that stores information permanently, even when the power is turned off. Like RAM, it is also the primary memory of a computer. It is called read only memory as the programs and data stored in it can be read but cannot be written on it.
At the time of manufacturing, the manufacturer fills the ROM with programs that can?t be altered later. So, you cannot reprogram, rewrite, or erase its data after it is manufactured. However, in some types of ROM, you can modify the stored data. Some common examples of ROM include cartridge used in video game consoles, the data stored permanently on personal computers, and other electronic devices like smartphones, tablets, TV, AC, etc.
Some of the key differences between RAM and ROM are as follows:
Next TopicDifference between