Difference Between RAM and ROM
RAM |
ROM |
---|---|
RAM stands for Random Access Memory. |
ROM stands for Read Only Memory. |
You can modify , edit or erase data in RAM. |
Data in ROM can not modified or erased, you can only read data of ROM. |
RAM is a volatile memory that stores data as long as power supply is given. |
ROM is a non-volatile memory that retian data even after the power is turned off. |
Speed of RAM is more then speed of ROM. |
ROM is slower then RAM. |
RAM is costly as compared to ROM. |
ROM is cheap as compared to RAM. |
A RAM chip can store only a few gigabytes (GB) of data. |
A ROM chip can store multiple megabytes (MB) of data. |
CPU can easily access data stored in RAM. |
CPU cannot easily access data stored in ROM. |
RAM is used for the temporary storage of data currently being processed by the CPU. |
ROM is used to store firmware, BIOS, and other data that needs to be retained. |
Read Only Memory (ROM)
In a computer system, memory is a very essential part of the computer system and is used to store information for instant or permanent use. Based on computer memory working features, memory is divided into two types i.e. Volatile and Non-Volatile Memory. Before understanding ROM, we will first understand what exactly volatile and non-volatile memory is. Non-volatile memory is a type of computer memory that is used to retain stored information during power is removed. It is less expensive than volatile memory. It has a large storage capacity. ROM (read-only memory), and flash memory are examples of non-volatile memory. Whereas volatile memory is a temporary memory. In this memory, the data is stored till the system is capable of, but once the power of the system is turned off the data within the volatile memory is deleted automatically. RAM is an example of volatile memory.