What is Primary Storage?
Storage refers to the ability of a computer to hold data, programs, or both, either temporarily or permanently. Primary storage, also known as main memory, is a type of storage that holds data and programs temporarily while the computer is running.
Characteristics of Primary Storage
- Volatile: Loses its contents when the computer is turned off.
- Fast access times.
- Limited capacity.
Examples include RAM (Random Access Memory), which temporarily stores data and programs, and registers, small amounts of on-processor memory for temporary storage.
Units of Measuring Storage
- Bit (binary digit): 0 or 1
- Byte: 8 bits
- Kilobyte (KB): 1024 bytes
- Megabyte (MB): 1024 kilobytes
- Gigabyte (GB): 1024 megabytes
- Terabyte (TB): 1024 gigabytes
Cache, RAM and Registers
- Cache: A small, fast memory that stores frequently-used data or instructions.
- RAM: A type of primary storage that holds data and programs temporarily.
- Registers: Small amounts of on-processor memory that store data temporarily while it is being processed.