Secondary storage is non-volatile — it retains data without power. It is used to store programs, the operating system, and user files permanently. There are three main types: magnetic, optical, and solid state.
Magnetic storage uses magnetised spots on a spinning disk to represent binary data (north/south pole = 1 or 0). A read/write head moves over the disk to read and write data.
Examples: Hard Disk Drive (HDD), magnetic tape
Optical storage uses a laser to read/write data. The laser detects pits (recessed) and lands (flat areas) on the disc surface, which represent 0s and 1s.
Examples: CD (700 MB), DVD (4.7 GB), Blu-ray (25 GB+)
Solid state storage uses flash memory (NAND chips) — electrical charges stored in transistors represent binary data. No moving parts.
Examples: SSD (Solid State Drive), USB flash drive, SD card, smartphone storage
| Property | Magnetic (HDD) | Optical (CD/DVD) | Solid State (SSD) |
|---|---|---|---|
| Speed | Moderate | Slow | Fast |
| Capacity | Very high (TB) | Low (MB–GB) | High (GB–TB) |
| Cost per GB | Low | Very low (disc) | Higher |
| Durability | Moving parts — fragile | Scratch-prone | Very durable |
| Portability | Less portable | Portable | Very portable |
| Noise | Yes (spinning) | Yes (spinning) | Silent |
| Typical use | Desktop/server storage | Distribution, archiving | Laptops, phones, tablets |
Cloud storage stores data on remote servers accessed over the internet, rather than on a local physical device. Examples include Google Drive, Dropbox, OneDrive, and iCloud.
| Advantage | Disadvantage |
|---|---|
| Accessible from any device with internet access | Requires a reliable internet connection |
| Files automatically backed up | Data privacy risk — data stored on third-party servers |
| Easy to share files and collaborate | Ongoing subscription cost |
| Scalable — storage capacity increased on demand | If the provider has an outage, data may be temporarily inaccessible |