Hardware

Hardware

Storage devices: magnetic, solid state, optical

Computers and their components AS Level 12 min read

On this page
  1. What you need to be able to do
  2. Magnetic hard disk
  3. Solid state (flash) memory
  4. Optical disc reader / writer
  5. Comparing and choosing storage
  6. Mark-scheme focus
  7. Worked examples
  8. Summary
  9. Can I do this?
  10. Quiz

What you need to be able to do

Syllabus 3.1 Computers and their components
  • 3.1Describe the principal operation of a magnetic hard disk, solid state (flash) memory and an optical disc reader / writer.
  • 3.1Choose and justify a storage technology for a given use.

You need: Computer systems (secondary storage). Next: Memory: RAM and ROM.

Magnetic hard disk

platterspindlesectorread/writeheadarmtracks: concentric circles
Platter, tracks, a sector, and the head on its arm.
  1. One or more platters coated with a material (ferrous oxide) that can be magnetised; both surfaces are used.
  2. The platters are mounted on a spindle and rotate at high speed (5400-15 000 rpm), inside a sealed case.
  3. Each surface has a read/write head on an arm, just above the surface; electronic circuits move the arm to the right track.
  4. The surface is divided into concentric tracks and sectors; one sector of one track is a block, the basic unit of storage.
  5. Writing: a varying current in the head produces a varying magnetic field that magnetises the surface in one of two directions (1 or 0).
  6. Reading: as the magnetised areas pass under the head, the changing magnetic field produces a changing current in the head, which is decoded as 1s and 0s.
Don't mix up the devices: lasers, pits and lands belong to optical discs, not hard disks (June 2022 report). And a 5-mark “describe” needs five distinct points.

Solid state (flash) memory

  1. Flash memory has no moving parts: data is stored as electric charge in cells built from transistors, arranged in a grid.
  2. The cells are built as NAND or NOR gates (NAND flash is used in SSDs and memory sticks).
  3. Each cell has two transistors / gates: the floating gate and the control gate.
  4. The floating gate traps electrons, so the cell keeps its value without power (non-volatile); whether charge is trapped there decides whether the cell holds 1 or 0.
  5. The control gate controls the flow of current: it allows or stops current passing through when the cell is read or written.
  6. Data is written and erased in blocks using a voltage; each cell survives only a limited number of write / erase cycles.

Optical disc reader / writer

landpitlaser: a land and a pitreflect differently → 1 or 0
Pits and lands reflect the laser differently.
  1. The disc is spun at high speed.
  2. A laser is shone onto the disc from an optical head that moves into position; data is on a single spiral track from the centre outwards.
  3. Writing: the laser burns pits into the recording layer to represent the data (the flat areas are lands).
  4. Reading: the laser reflects from the pits and lands; the reflection from a pit and a land is different (a light sensor detects it).
  5. The differences are interpreted as 1s and 0s.

Comparing and choosing storage

Magnetic hard diskSolid state (SSD / flash)Optical disc
Access speedslower (moving head, rotation)fastest (no moving parts)slowest
Cost per unit of storagelowesthigherlow per disc, small capacity
Capacityvery largelargesmall (CD 700 MB, DVD 4.7 GB, Blu-ray 25-100 GB)
Durabilitymoving parts can be damaged by knocksrobust to knocks; but limited write cyclesscratches
Many continuous writeslong life spancells wear out with constant writing-
Power, noise, sizemore power, noisy, heavierlow power, silent, small, light-

1 CCTV server

A server stores video from cameras that record all day. Magnetic or solid state? Give two reasons.

Askedchoice + reasonsKnowhuge files, constant writingRoutecost and life span

  1. Magnetic
  2. lower cost per unit of storage, so the very large capacity needed for many videos is cheaper
  3. a large number of read / write operations happens continuously, and magnetic storage has a longer life span than flash under constant writing

“Magnetic is cheaper” alone was not enough (June 2023): say cost per unit of storage.

2 A laptop

Why do most laptops now use an SSD?

AskedreasonsKnowportable, battery, speedRouteno moving parts

  1. faster access, so the laptop boots and loads programs quickly
  2. no moving parts: not damaged if the laptop is knocked; light, silent, low power for longer battery life

3 Distributing a film

Why might a film be sold on Blu-ray rather than on a hard disk?

AskedreasonsKnowmany cheap copiesRouteoptical

  1. optical discs are cheap to mass-produce and portable; the film only needs to be written once and read many times

Mark-scheme focus

Describe the principal operations of a magnetic hard disk (5 marks)

9618/11/M/J/22 Q2Paper 1 · Theory fundamentalsPart (b)5 marksFull size
(b) A magnetic hard disk is used to store data on the computer. Describe the principal operations of a magnetic hard disk. [5]
Credited
  • any five: platters capable of being magnetised; on a spindle; sealed case; rotated at high speed; read/write head on an arm; circuits control the arm; tracks and sectors, a block;
  • data as a magnetic pattern; writing: varying current in the head → varying magnetic field on the disk; reading: varying magnetic field → varying current in the head B5
Not credited
  • lasers, pits and lands (optical)
  • fewer than five separate points for 5 marks

From: 9618/11/M/J/22 Q2(b)

Two reasons magnetic storage suits the CCTV computer better than solid state (4 marks)

9618/11/M/J/23 Q4Paper 1 · Theory fundamentalsPart (b)4 marksFull size
(b) The central computer of a CCTV system stores the video files on secondary storage. Describe two reasons why magnetic storage is more appropriate than solid state storage for this computer. [4]
Credited
  • The computer will have a large number of read/write operations because it works all the time B1 … magnetic storage has more longevity B1
  • Magnetic storage costs less per storage unit B1 … videos are large files so a very large capacity is required B1
Not credited
  • “Magnetic storage is cheaper” (per what?)
  • “SSDs can't be used for backup” (a misconception)

From: 9618/11/M/J/23 Q4(b)

  • Storage device operation: hard disk (4-5), flash (4), optical (4), often as fill-in descriptions.
  • Choosing: magnetic vs solid state with reasons applied to the system (4).

Worked examples

Example 1 · Complete the hard disk description (Paper 1, 4 marks) ★ Easy
9618/11/M/J/25 Q6Paper 1 · Theory fundamentalsPart (a)(i)4 marksFull size
A programmer compares two computers (quad-core 2.2 GHz with 500 GB magnetic hard disk; dual-core 3.8 GHz with 500 GB SSD). (a)(i) Complete the description: The magnetic hard disk has one or more … that can be magnetised. These are mounted on a … and rotate at high speed. A … is moved across the surface on an arm. When data is read, the changes in the … produce a change in the electric current. [4]
1 Read it with me what is actually happening?

Four technical names in the order the parts appear.

    2 What is it asking for? the target, part by part
    • (a)(i)4 words4
    3 What do we know? everything the question gives us
      4 Plan the route work backwards from what we want
      FindKey ideaAlready have itWork out firstTrap
        5 Now solve it have a go on paper first, then open the worked solution
        1. platters
        2. spindle
        3. read/write head
        4. magnetic field B4
        6 Check it does the answer make sense?

        ✓

        Example 2 · Inside a flash memory cell (Paper 1, 4 marks) ★★ Medium
        9618/11/M/J/24 Q2Paper 1 · Theory fundamentalsPart (c)(ii)4 marksFull size
        A video doorbell has a solid state (flash) secondary storage device. (c)(ii) Complete the table about the principal operation of solid state (flash) memory: the two types of logic gate that can be used to create solid state devices; the number of transistors contained in each cell; the type of gate that can retain electrons without power; the type of gate that allows or stops current from passing through. [4]
        1 Read it with me what is actually happening?

        Recall the cell: built as NAND / NOR, two transistors (gates) per cell, one traps charge, one controls current.

          2 What is it asking for? the target, part by part
          • (c)(ii)4 rows4
          3 What do we know? everything the question gives us
            4 Plan the route work backwards from what we want
            FindKey ideaAlready have itWork out firstTrap
              5 Now solve it have a go on paper first, then open the worked solution
              1. NAND and NOR
              2. 2
              3. floating gate
              4. control gate B4
              6 Check it does the answer make sense?

              ✓

              Example 3 · How an optical disc reader / writer works (Paper 1, 4 marks) ★ Easy
              9618/11/O/N/24 Q3Paper 1 · Theory fundamentalsPart (d)(i)4 marksFull size
              (d) A computer stores temperature readings on an optical disc. (i) Describe the principal operation of an optical disc reader/writer. [4]
              1 Read it with me what is actually happening?

              Spin, laser, track, write pits, read reflections.

                2 What is it asking for? the target, part by part
                • (d)(i)4 points4
                3 What do we know? everything the question gives us
                  4 Plan the route work backwards from what we want
                  FindKey ideaAlready have itWork out firstTrap
                    5 Now solve it have a go on paper first, then open the worked solution
                    1. The disc is spun at high speed B1
                    2. A laser is shone onto the disc, positioned by the optical head, following the spiral track from the centre outwards B1
                    3. When writing, the laser burns pits to represent the data B1
                    4. When reading, the reflection from pits and lands is different, interpreted as 1 or 0 B1
                    6 Check it does the answer make sense?

                    ✓

                    Example 4 · Magnetic disks for a video server (Paper 1, 4 marks) ★★ Medium
                    9618/13/O/N/25 Q7Paper 1 · Theory fundamentalsPart (d)4 marksFull size
                    (d) Describe two reasons why the server that stores the videos uses magnetic hard disks instead of solid state (flash) memory. [4]
                    1 Read it with me what is actually happening?

                    Two reasons, each with its justification in this system.

                      2 What is it asking for? the target, part by part
                      • (d)2 × (reason + justification)4
                      3 What do we know? everything the question gives us
                        4 Plan the route work backwards from what we want
                        FindKey ideaAlready have itWork out firstTrap
                          5 Now solve it have a go on paper first, then open the worked solution
                          1. Lower cost per unit of storage B1 … so the high capacity needed for a large number of video files is less costly B1
                          2. A large number of read/write operations are performed continuously B1 … and magnetic storage is likely to have a longer life span than solid state B1
                          6 Check it does the answer make sense?

                          ✓

                          Summary

                          • Hard disk: magnetised platters on a spindle, read/write head on an arm, tracks and sectors; current ↔ magnetic field.
                          • Flash: NAND / NOR cells, 2 transistors, floating gate traps electrons (non-volatile), control gate controls current; no moving parts.
                          • Optical: spinning disc, laser, spiral track; writing burns pits; reading detects different reflections from pits and lands.
                          • Choose: SSD for speed / portability / low power; magnetic for cheap huge capacity and constant writing; optical for cheap distribution.

                          Can I do this?

                          Anything unticked: revise that section first. All ticked: take the quiz.

                          Quiz

                          The multiple-choice and guided questions need JavaScript. The concept checks and exam practice below work without it.

                          Concept checks

                          Answer each one in your head first, then open it.

                          1Why is a hard disk slower than an SSD?Show answer

                          It must wait for the arm to move to the track and for the right sector to spin under the head; an SSD reads its cells electronically.

                          2Why do SSDs spread writes across all their cells (wear levelling)?Show answer

                          Each cell survives a limited number of write / erase cycles, so spreading writes stops any one area wearing out early.

                          Exam-style practice

                          New questions, not used above. Do them on paper, then mark your work against the official mark scheme.

                          Q1Past-paper style3 marks

                          Explain why solid state storage is used in a smartphone rather than a magnetic hard disk.

                          1. [3]
                          Show the mark scheme
                          PartAnswer / workingMarksGuidance
                          No moving parts, so it is not damaged when the phone is dropped / carriedB1
                          Small and light enough to fit in the phoneB1
                          Low power consumption, so the battery lasts longer // fast accessB1
                          Total: 3 marks
                          Q2Past-paper style4 marks

                          Describe how data is written to and read from a magnetic hard disk.

                          1. [4]
                          Show the mark scheme
                          PartAnswer / workingMarksGuidance
                          Platters rotate at high speed; the arm moves the read/write head to the correct trackB1
                          Writing: a current in the head produces a magnetic field that magnetises an area of the surfaceB1
                          The direction of magnetisation represents 1 or 0B1
                          Reading: the magnetised areas passing the head induce a current, decoded into 1s and 0sB1
                          Total: 4 marks

                          Your progress on this note is saved when JavaScript is on.