Parameters of Comparison
|
RAM
|
ROM
|
Cache Memory
|
Definition
|
RAM is a type of computer memory that stores data and programs and stores data.
|
ROM are a storage medium that can store data permanently.
|
It is a temporary memory that is located on the computer and motherboard.
|
Volatile / Non-Volatile
|
RAM is a form of volatile memory because it only stores data while the power is on.
|
ROM is a form of non-volatile memory that will store data even when the power is off.
|
Cache Memory is a type of fast temporary memory that is used to store frequently accessed data.
|
Memory Storage
|
RAM is a type of memory that is used to store data that can be accessed quickly by the CPU.
|
ROM is a type of memory that is used to store data that can be accessed slowly by the CPU.
|
Cache Memory is a type of memory that is used to store data that can be accessed very quickly by the CPU.
|
Cost
|
RAM is the most expensive and fastest type of memory
|
ROM is the cheapest and slowest.
|
Cache memory is somewhere in between, in terms of cost and speed.
|
Speed
|
RAM is the fastest type of speed
|
ROM is faster than Cache Memory but not as fast as RAM.
|
Cache memory is the slowest type of speed, but it is still faster than a hard drive.
|
Usages
|
RAM is used to store information that the computer is currently using.
|
ROM is used to store information that the computer needs to start up.
|
Cache memory is used to store information that the computer is likely to need soon.
|