Memory
Memory
RAM stands for Random Access Memory. It is the internal memory of the CPU. It is a hardware
device that are 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.
Furthermore, RAM is a volatile memory as it cannot 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. When computer is power off RAM loses the data.
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.
EPROM (erasable programmable read-only memory) is memory that does not lose its data
when the power supply is cut off. The data can be erased and the chip reprogrammed by
ultraviolet (UV) light through a window designed into the memory chip. This process is known
as burning and requires a specific device called a PROM programmer.
Ans: The hard disk is a secondary storage device, which is designed to store data permanently.
The secondary storage devices include a large storage capacity as compared to the primary
storage devices. The data stored in a hard disk is retained when our computer system shuts down.
The data stored in the hard disk can be of many types such as the operating system, installed
software, documents, and other files of computer.
The memory devices used for primary The secondary memory devices are
memory are semiconductor memories. magnetic and optical memories.
Examples: RAM, ROM, Cache memory, Examples: Hard Disk, Floppy Disk,
PROM, EPROM, Registers, etc. Magnetic Tapes, etc.