A-Level Computer Science: Hardware Components — Input and Output, Storage, Embedded Systems, Buffers, Monitoring and Control (lesson-prep guide for tutors)
- 2026-11-26
Students say an SSD is faster than a disk but cannot say by how much or why, and they learn RAM against ROM as a slogan about power loss without explaining why flash can serve as both ROM and secondary storage. This chapter turns hardware names into a chain of checkable numbers.
01 Prerequisites (3-minute check)
If any of these fails, fix it before the lesson starts.
| Skill | Quick check | Pass mark |
|---|---|---|
| Binary and sampling | How many values does 10 bits hold? | 1024, so resolution is the range over 1024 |
| Unit conversion | How many bytes in 1 MB and milliseconds in a second? | 1,000,000 bytes and 1000 milliseconds |
| Rotation period | At 7200 rpm, how long is one revolution? | 60 over 7200, which is 0.008333 seconds |
| Memory and storage | Which data survives a power cut? | Secondary storage and ROM survive, RAM does not |
| Systems thinking | How does an air conditioner know when to start? | It compares a temperature sensor reading against a target |
02 Lesson flow (60 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0-8 min | Opening check | Ask how much faster flash is and how RAM differs from ROM | Name flash as moving-part free and ROM as read-only |
| 8-20 min | Four resources and embedded | Input, output, primary memory, secondary storage; three gains and three costs | Name the missing class for a device |
| 20-34 min | Input and output devices | Seven laser stages, 3D slicing, microphone and speakers, touch and VR | Calculate 34.8 million dots |
| 34-44 min | Primary and secondary storage | Rotational latency with seek, flash wear levelling, optical and USB | Calculate 13.17 ms |
| 44-54 min | Buffers and memory classes | Why buffers exist, RAM against ROM, SRAM against DRAM, three ROM types | Calculate 1.6 pages of buffer |
| 54-60 min | Monitoring and control, exit check | Sensors, actuators, feedback and hysteresis, then three questions | Work independently |
03 Teaching script (read it out)
Scene 1: Four resources — miss one and it cannot work
Then embedded systems. One sentence: a computer hidden inside a device that does one job, with its own processor, memory and firmware, reading the world through sensors and changing it through actuators. Three gains: small, cheap, and deterministic response because only one program runs. Three costs: hard to upgrade because firmware sits in ROM, hard to debug with no screen or keyboard, and a fault means replacing the whole device.
Have students run the washing machine case: the level sensor reads 12 centimetres, the processor compares it with a target of 15, opens the inlet valve, and closes it at 15, which is control; if it only displays the reading, that is monitoring. Plant that line here and close it in scene six.
Student task: on a smart door lock, which resource class becomes the bottleneck first, and why?
A sentence you can read aloud: Every class has a ceiling, and a hardware question asks which ceiling you hit first.
Scene 2: Input and output — turning physical quantities into bits
Do resolution in numbers: 600 dpi is 600 dots per inch, A4 is 8.27 by 11.69 inches, so 4,962 dots across and 7,014 down, which is 34,803,468 dots on one page; 1200 dpi is four times that, 139,213,872 dots. This is the commonest lost mark: doubling dpi quadruples the dots, it does not double them.
A 3D printer is additive: slice the model into layers of 0.2 mm, so a 20 mm object needs 100 layers, or 200 layers at 0.1 mm, then extrude melted filament along each path and let it fuse as it cools. Contrast it with the laser printer plainly: one lays dots on paper, the other stacks material into three dimensions.
A microphone turns sound pressure into an analogue voltage that an ADC digitises, and a speaker reverses it with a DAC driving a coil. Touchscreens are resistive, where two conductive films are pressed together and a stylus or fingernail works, or capacitive, where a finger distorts a field and works only with bare skin. A VR headset is two high refresh displays plus an IMU, and latency beyond about 20 ms causes motion sickness.
Student task: how many times more dots does a 1200 dpi A4 page have than 600 dpi, and why not two?
A sentence you can read aloud: Resolution counts dots per inch, so width and height both grow and the area grows by the square.
Scene 3: Storage — mechanical against electronic
Flash has no moving parts and stores charge in floating-gate cells, so a random read is about 0.1 ms, that is 10,000.0 operations a second, 131.7 times faster. Make students name the price: cells wear out after a limited number of writes, so the controller does wear levelling across blocks and keeps spare capacity, and the failure modes differ too, since a disk fears shock and flash fears power loss mid-write.
Optical is optical: a CD holds 700 MB, one times speed is 150 KB a second, so 24 times is 3.6 MB a second and a full disc takes 194.4 seconds; a single-layer DVD holds 4.7 GB, at 8 times speed 10.8 MB a second, so 435.2 seconds. Writable discs use a laser to change a dye or a phase-change layer and read the difference in reflectivity.
Compare the three side by side: a disk is cheapest per gigabyte and largest, which suits backup and bulk media; flash is fastest and shock resistant, which suits a system drive or a phone; optical suits long offline archiving and distribution but is small and slow to write. Answer with four columns, cost per gigabyte, random access time, shock resistance and write cycles, and you will not fall back on fast or slow.
Student task: a 128 GB system drive swapped to a disk, how does boot time change, and why in terms of access time?
A sentence you can read aloud: A disk spends its time waiting for metal to arrive, flash spends almost none.
Scene 4: Buffers and memory — why the middle layer exists
Put RAM against ROM in three columns: after power loss, writability and typical use. RAM loses its contents, reads and writes, and holds running programs and data; ROM keeps its contents, is normally read only, and holds boot firmware and microcode. Students often say ROM cannot be written, so add that EPROM and EEPROM can be rewritten, just by special means.
SRAM and DRAM differ in structure: SRAM uses six transistors per bit in two cross-coupled inverters, needs no refresh, and is fast, expensive and bulky, so it serves as cache; DRAM uses one transistor and one capacitor per bit, leaks charge, and must be refreshed every 64 ms, so it is dense, cheap and slower, and serves as main memory. Close with an image: SRAM is the note on your desk, DRAM is the whiteboard you keep rewriting.
Three ROM types: PROM ships blank and is written once by a programmer; EPROM is erased by ultraviolet light through a quartz window, so it can be reused but only off the board; EEPROM is erased electrically and can be rewritten in place, which is why firmware updates use it. Flash is an improved EEPROM erased in blocks, which is why a USB stick is both a kind of ROM and usable as secondary storage.
Student task: why is cache built from SRAM and main memory from DRAM? One sentence each on cost per gigabyte and speed.
A sentence you can read aloud: A buffer bridges a speed gap and a cache bridges a latency gap; both are middle layers.
Scene 5: Monitoring and control — feedback is the point
Match four sensors to quantities: temperature with a thermistor whose resistance falls as it warms, pressure with a strain gauge or piezoelectric element, infra-red with a passive sensor detecting body heat, and sound with a microphone diaphragm. Actuators turn electrical energy into motion: motors, heaters, valves and solenoids.
Do feedback in numbers: the target is 24.0 degrees, the reading 22.5, so the error is -1.5 and the controller switches the heater on; it switches off only when the reading passes the target by 0.5, and that hysteresis stops the heater chattering around the set point. Without feedback the heater would simply stay on and overshoot.
ADC resolution goes here too: 10 bits over a 5.0 volt reference gives 4.883 mV per step, and 12 bits gives 1.221 mV. For sampling, 100 readings a second at 2 bytes each is 200 bytes a second and 720.0 KB an hour.
Student task: a greenhouse must hold 24 degrees, so write the four steps of sensor, comparison, actuator and feedback, and say what hysteresis does.
A sentence you can read aloud: Monitoring only looks, control closes the loop, and closing the loop means feeding the output back to the input.
04 Question types and worked steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Disk access time | A 7200 rpm disk with 9 ms seek | One revolution is 60 over rpm, average latency is half a turn, then add seek | 13.17 ms, about 75.9 operations a second |
| Print dot count | 600 dpi on A4 | Inches times dpi for each side, then multiply | 4,962 by 7,014, that is 34,803,468 dots, and 139,213,872 at 1200 dpi |
| Optical write time | A 700 MB CD at 24 times speed | One times speed is 150 KB a second, scale, then convert to MB | 3.6 MB a second, so 194.4 seconds |
| Buffer pages | 8 MB buffer with 5 MB pages | Buffer over page size | 1.6 pages, while the engine needs only 1.667 MB a second |
| ADC resolution | 10 bits over 5.0 volts | Reference over two to the bits | 4.883 mV per step |
| Sampled data volume | 100 samples a second at 2 bytes | Rate times bytes, then times 3600 | 200 bytes a second and 720.0 KB an hour |
05 Independent practice (3 questions)
| Question | Answer | What to watch |
|---|---|---|
| A 7200 rpm disk has a 9 ms seek, so what is the average access time, and how much faster is 0.1 ms flash? | 13.17 ms, with 4.17 ms of rotational latency; 131.7 times faster | Average latency is half a revolution; the ratio divides the two access times |
| A 10 bit ADC uses a 5.0 volt reference, so what is the resolution in millivolts, and how many KB does 100 samples a second at 2 bytes store in an hour? | 4.883 mV; 200 bytes a second, which is 720.0 KB an hour | Resolution is reference over two to the bits; volume is rate times bytes times time |
| Give the four steps from a 3D model to a finished part, and say how many layers a 20 mm object needs at 0.2 mm a layer. | Model, slice into 100 layers, extrude melted material layer by layer, then cool and solidify; 100 layers | Slicing turns three dimensions into paths; layers are height over layer thickness |
06 Common mistakes and what to say
| Mistake | Student writes | Say this |
|---|---|---|
| Treating doubled dpi as doubled dots | Saying 1200 dpi has twice the dots of 600 dpi | Width and height both double, so area is four times: 34,803,468 becomes 139,213,872. |
| Swapping the roles of SRAM and DRAM | Saying main memory uses SRAM because it is fast | SRAM costs six transistors a bit, so it is cache; main memory uses DRAM at one transistor and a capacitor, refreshed but dense. |
| Thinking a control system needs only sensors | Writing that the system reads the temperature and adjusts itself, with no actuator | Control needs an actuator such as a heater or valve; reading and displaying alone is monitoring. |
| Using bits as bytes for transfer time | Saying a 480 Mbps link moves 480 MB a second | 480 Mbps over eight is 60 MB a second, an eightfold difference. |
07 Homework (paper, section and question numbers)
- A-Level Computer Science chapter index — every chapter in this subject
- All lesson-prep guides — the rest of the series
- Rework this chapter — practice questions 1 to 3: disk against flash, ADC and sample volume, 3D layer count
08 Exit check (last 5 minutes)
| Question | Answer | Decision |
|---|---|---|
| One order | A laser printer charges, exposes, develops, transfers and fuses | A garbled order means scene three must be redone |
| One number | 8.333 ms a revolution and 13.17 ms average access | No number means scene four must be redone |
| One distinction | Monitoring displays, control has an actuator and feedback | Saying they are the same means scene six must be redone |
09 Tutor FAQ
A solid state drive has no moving parts, so why does it fail?
Writes trap charge in floating gates, and each erase slowly damages the insulating layer, so every block has a write limit. The controller spreads writes with wear levelling and keeps spare blocks, but once those are used the capacity falls, which is what the endurance figure describes.
Why is flash memory both ROM and secondary storage?
The classification is by use, not by technology. Boot firmware lives in flash, is normally read only and acts as ROM; the same technology in a USB stick or system drive is freely readable and writable and keeps data without power, so it is secondary storage. Say same technology, different use.
How do a buffer and a cache differ?
Both are middle layers but they bridge different gaps. A buffer bridges a speed mismatch, as when the engine takes 1.667 MB a second while the link offers 60 MB; a cache bridges latency and repeated reads by keeping hot data in faster memory nearer the processor. A buffer is usually a one-off queue, a cache is a reused copy.
Find a tutor — freeTutor Registration →
A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.



