1.2.2 Secondary storage
Your computer keeps your photos, games and homework even when it is switched off. That is the job of secondary storage.
Why secondary storage is needed
Primary storage (RAM) is volatile. It loses everything when the power goes off. It is also small. A computer needs somewhere to keep:
- •the operating system and all the installed programs
- •the user's files, such as photos, music, videos and documents
- •the data it must still have after it has been switched off
The three types
There are three types of secondary storage: optical, magnetic and solid state. You do not need to know how the inside of each one works. You need to know what each one is like to use, and to choose the right one for a job.
Optical
Optical media include CDs, DVDs and Blu-ray discs. Data is read from, and written to, the disc using a laser.
- •Capacity: low. A CD holds about 700 MB, a DVD about 4.7 GB and a Blu-ray disc about 25 GB.
- •Speed: slow to read and write compared with the other types.
- •Portability: very portable. Discs are thin, light and easy to post.
- •Durability: discs scratch easily, and a scratch can make data unreadable. Without scratches, they last a long time if stored carefully.
- •Cost: very cheap per disc, but not cheap per gigabyte compared with magnetic.
Magnetic
The main example is the hard disk drive (HDD). Data is stored using magnetism.
- •Capacity: very high. Hard drives hold from hundreds of gigabytes to many terabytes.
- •Speed: quite fast, but slower than solid state.
- •Portability: internal drives are fixed inside a computer. External drives can be carried, but they are bulkier and heavier than flash storage.
- •Durability: a knock or drop, especially while the drive is working, can damage it and lose data.
- •Reliability: they do wear out over time.
- •Cost: the cheapest per gigabyte.
Solid state
Solid state storage has no moving parts. It includes SSDs (solid state drives), USB memory sticks and SD cards. Data is stored in flash memory, using electrical circuits.
- •Capacity: medium to high. Memory sticks and SD cards usually hold gigabytes up to a few hundred gigabytes. SSDs can hold terabytes.
- •Speed: the fastest of the three. Computers with an SSD start up and open files quickly.
- •Portability: very portable. SD cards and memory sticks are tiny, and SSDs are light.
- •Durability: very durable. With no moving parts, knocks and drops are less likely to damage them. They use less power, so they are good in laptops and phones.
- •Reliability: each memory cell can only be written a limited number of times. This is rarely a problem for normal use.
- •Cost: more expensive per gigabyte than magnetic.
Comparing the three types
| Optical | Magnetic | Solid state | |
|---|---|---|---|
| Capacity | Low | Very high | Medium to high |
| Speed | Slow | Medium | Fast |
| Portability | Very good | Poor (external drives are bulky) | Very good |
| Durability | Scratches easily | Can be damaged by knocks | Very durable (no moving parts) |
| Cost per gigabyte | Medium | Lowest | Highest |
| Typical use | Films, software, music | PCs, servers, backups | Phones, tablets, laptops, cameras |
Choosing a suitable storage device
In the exam you are given a scenario and asked to choose a device or medium. Follow these steps:
- 1.Find the key need in the scenario. Is it a huge amount of data, a device that is carried around, a low price, or speed?
- 2.Name the type or the device.
- 3.Give reasons that link the characteristics to the scenario.
Answer: An SD card (solid state).
- It is very portable, because it is tiny and she can carry it in her pocket.
- It is durable, because it has no moving parts, so it will not be damaged if it is dropped.
- It is fast enough to record video, and many cards hold tens or hundreds of gigabytes.
Answer: Magnetic hard drives.
- They have a very large capacity, so a few drives hold 30 TB.
- They have the lowest cost per gigabyte, so this is cheaper than solid state.
- They do not need to be portable, as they will stay in a locked room.
Which to use?
| Need | Best choice | Why |
|---|---|---|
| Lots of data, lowest cost | Magnetic | Highest capacity for the price |
| Fast start-up, carried around, knocks | Solid state | Fast, durable, no moving parts |
| Selling a film or game cheaply | Optical | Very cheap discs, easy to post |
| Small, portable, quick to use | Solid state (memory stick, SD card) | Tiny and fast |
Exam technique
- •State or name questions need the type or the device, such as "solid state" or "SSD".
- •Give or describe a characteristic questions need a fact about capacity, speed, portability, durability, reliability or cost.
- •Explain questions need a characteristic and a link to the scenario: "SSDs have no moving parts, so they are not damaged if the tablet is dropped".
- •Compare questions need a point about both types: "SSDs are faster, but HDDs are cheaper per gigabyte".
- •Discuss questions (8 marks) need a balanced answer. Cover advantages and disadvantages of more than one type, apply them to the scenario, and finish with a clear recommendation and a reason.