Memory
Memory
Comparasion
Primary Memory Secondary Memory
parameters
Primary memory is the main
Storage Secondary memory is the external memory and
memory and stores data
validity stores data permanently.
temporarily.
The CPU can directly access the
Access The CPU cannot directly access the data.
data.
Primary memory is volatile. It
Secondary memory is non-volatile; data is stored
Volatility loses data in case of a power
even during a power failure.
outage.
Data is stored inside costly Data is stored on external hardware devices like
Storage
semiconductor chips. hard drives, floppy disks, etc.
They do not have such a classification. Secondary
It can be divided into RAM and
Division memories are permanent storage devices like
ROM
CDs, DVDs, etc.
Speed Faster Slower
It saves the data that the computer It can save various types of data in various
Stored data
is currently using. formats and huge sizes.
What is Primary Memory?
Primary memory is a computer system's internal memory. It stores and retrieves data,
instructions, and information. The CPU directly and randomly accesses primary memory, also
called Random Access Memory (RAM). Primary memory is volatile and loses data and
instructions when the power turns off.