Computer Science – Data storage | e-Consult
Data storage (1 questions)
Primary storage (also known as main memory) is the computer's fastest form of storage. It's used to hold data and instructions that the CPU is actively using. Examples include RAM (Random Access Memory) and ROM (Read-Only Memory).
Secondary storage is slower and less expensive than primary storage. It's used for long-term storage of data and programs that are not currently being used. Examples include hard disk drives (HDDs), solid-state drives (SSDs), and USB flash drives.
Here's a comparison:
| Feature | Primary Storage (RAM) | Secondary Storage (SSD) |
| Speed | Very Fast | Relatively Slow |
| Cost | Expensive | Inexpensive |
| Volatility | Volatile (data lost when power is off) | Non-Volatile (data retained when power is off) |
In summary, primary storage prioritizes speed, while secondary storage prioritizes capacity and cost-effectiveness.