Read-only memory or ROM is a form of data storage in
computers and other electronic devices that can not be easily altered or
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.
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 and the speed is
measured in nanoseconds and RAM chips can read data faster than ROM.