ROM
Read-only memory or ROM is a form of data storage in computers and other electronic devices that cannot be easily reprogrammed. RAM is referred to as volatile memory and is lost when the power is turned off whereas ROM in non-volatile and the contents are retained even after the power is switched off. ROM is where all programs on your computer are stored till needed. This is the hard drive; items stay stored here until you remove them.
Picture [ 1 ]Build in ROM
Picture [ 2 ] CD-ROM
RAM
Random Access Memory or RAM is a form of data storage that can be accessed randomly at any time, in any order and from any physical location in contrast to other storage devices, such as hard drives, where the physical location of the data determines the time taken to retrieve it. RAM is measured in megabytes (MB) and the speed is measured in nanoseconds and RAM chips can read data faster than ROM. RAM is where programs that are being used currently by the processor to run the program are held. This clears when you lose power or shut down the computer.
Comparison chart Properties | RAM | ROM | Stands for: | Random Access Memory | Read-only memory | Volatility: | RAM is volatile i.e. its contents are lost when the device is powered off. | It is non-volatile i.e. its contents are retained even when the device is powered off. | Types: | The two main types of RAM are static RAM and dynamic RAM. | The types of ROM include PROM, EPROM and EEPROM. | Use: | RAM allows the computer to read data quickly to run applications. It allows reading and writing. | ROM stores the program required to initially boot the computer. It only allows reading. | Definition: | Random Access Memory or RAM is a form of data storage that can be accessed randomly at any time, in any order and from any physical location. | Read-only memory or ROM is also a form of data storage that cannot be