Memory is like the human brain. It is used to store data and instructions. Computer memory is the storage space in a computer where data must be processed and the instructions required for processing are stored.

Computer


Memory is divided into a large number of small parts called cells. Each slot or cell has a unique address ranging from zero to minus one memory size.

For example, if a computer has 64,000 words that unit memory will have 64 * 1024 =65,536 memory locations. The address of these slots range from 0 to 65535.

There are basically three types of memory-

  • Cache memory 
  • Primary/Main Memory 
  • Secondary Memory