2.2 Purpose of Memory

The purpose of memory is to hold instructions so the CPU can work with them

 

Primary Memory
To store volatile data at a accessible at high speed by the CPU.

 

Secondary Memory
To store non-volatile data at a lower cost than main memory and enable the access of stored data later.

 

 

People in the computer industry commonly use the term “memory” to refer to RAM (Random Access Memory). A computer uses RAM to hold temporary instructions and data needed to complete tasks. This enables the computer’s CPU (Central Processing Unit), to access instructions and data stored in memory very quickly.
[Ryan]