Write short notes on RAM and ROM.
RAM (Random Access Memory) : Memory into which data can be written and from which data can be read. It consists of memory chips that can be read from and written by the processor and other devices. When the power is switched on to start a computer, certain operating system files load from a storage device such as a hard disk into RAM. These files remain in RAM as long as the computer is running. Additional programs and data are also loaded into RAM from storage. The processor interprets the data while it is in RAM. The program with which you are working is usually displayed on the computer screen. Most RAM is volatile. It loses its contents when power is switched off.
ROM (Read Only Memory) : It refers to memory chips storing data that only can be read. The data on ROM chips cannot be modified hence the name read only. It is non-volatile. Its contents are not lost when power is removed from the computer. Memory containing information which is present and permanent and which cannot be written but can only be read by program routines.