The CPU uses a system of electrical pathways called the Address Bus to specify exactly which location in primary storage it needs to access.
Because primary storage is directly addressable, the CPU can jump to any specific memory address instantly without having to scan through preceding data.
This "Random Access" capability is what allows software to run non-linearly, jumping between different instructions and data sets as required by the program logic.
RAM (Random Access Memory) is volatile, meaning it requires a constant flow of electricity to maintain its stored data; once power is lost, the contents are erased.
ROM (Read-Only Memory) is non-volatile and retains its data even without power, which is essential for storing the bootstrap loader (the initial instructions to start the computer).
Because RAM is volatile and relatively expensive, computers require secondary storage for long-term, non-volatile data retention of files and software not currently in use.
| Feature | Primary Storage | Secondary Storage |
|---|---|---|
| Access Speed | Extremely Fast | Relatively Slow |
| CPU Connection | Directly Connected | Connected via I/O Bus |
| Volatility | Mostly Volatile (RAM) | Non-volatile |
| Capacity | Small (e.g., 8-32 GB) | Large (e.g., 1-10 TB) |
| Cost per GB | High | Low |
Distinguish Purpose from Characteristics: When asked about the need for primary storage, focus on speed and CPU access rather than just stating it is volatile.
The 'Directly Accessible' Keyword: Always mention that the CPU can access primary storage directly; this is the technical reason why it is 'primary'.
Bootstrap Context: If a question asks why we need ROM specifically, the answer is almost always related to the 'start-up' or 'boot' process of the hardware.
Performance Impact: Remember that increasing RAM doesn't necessarily make the CPU faster, but it prevents the system from slowing down due to the use of slower virtual memory.