Non-volatile main memory - this means that its contents are not lost when the computer is turned off.
ROM can be read from, but not written to.
This makes ROM ideal for storing instructions and data that are needed for the computer to run.
These instructions and data are usually programmed by the computer's manufacturer and cannot be overwritten.
Random access memory (RAM) is volatile main memory. This means that once the computer is switched off, the data and instructions held in RAM are lost.
RAM is given the term “random access” because data can be stored and accessed from any location within the memory.
RAM is used to hold data and programs that are currently in use.
In a modern PC, RAM is used to hold the operating system and any open documents and programs that are running.
The contents of RAM can be changed at any time, simply by overwriting them with other data and instructions.
For example, a user might close one document and open a second, or run a different program.
The more RAM a computer has, the more data and programs it can hold simultaneously. RAM can also be upgraded fairly easily, unlike other types of main memory.
Cache is a small amount of high-speed random access memory (RAM) built directly within the processor.
It is used to temporarily hold data and instructions that the processor is likely to reuse.
The bigger its cache, the less time a processor has to wait for instructions to be fetched.
Small amounts of very fast memory
Built on the CPU
Holds data/instructions that are being used by the CPU
RAM is volatile (needs power to operate), ROM is non-volatile (does not need power to operate), so ROM will store data when the computer is powered off.
RAM is read-write memory, ROM is read-only memory.
The operating system, applications that are running and associated data.
The instructions and data needed to get the system up and running and ready to load the operating system.