| Primary Memory | Secondary Memory |
- Primary memory stores the programs to be executed, holds the input data that is to be processed and the intermediate results of any calculation when the processing is being done.
| - secondary memory is used for mass storage or data, information and programs.
|
- Data or information in primary memory are temporary.
| - data or information stored in a secondary memory are stored permanently
|
- The capacity of primary memory is lesser than secondary memory.
| - the capacity of secondary memory is more than primary memory.
|
- Primary memory is faster than secondary memory.
| - Secondary memory is slower in comparison with primary memory.
|
- Primary is costly than secondary memory.
| - Secondary memory is cheaper than primary memory.
|