Computer memory is just like a human brain. As if the human brain saves the data and information, computer memory also stories.
Computer memory is the storage space in the computer, where the data is processed and instructions are required for processing are stored.
The computer memory is also divided into many no. of parts called cells or location. Each location or cell has a unique address. These addresses of these locations vary from 0 to 65535.
Computer Memory is divided into three types –
It is a semiconductor memory of a very high speed which helps to speed up the CPU.
Cache Memory always holds the parts of data & programs that are most frequently required by the CPU. It acts as a Buffer.
PRIMARY MEMORY / RAM
Primary Memory also holds the data but only that data and instructions on which computer is currently working. This memory is volatile and is erased when the computer is turned off.
RAM – Random Access Memory
SECONDARY MEMORY / HARD-DISK
Secondary Memory is called as external memory or non-volatile. It is slower than primary memory and used to store information permanently.