/en-tutor-prep-igcse-cs-io-devices-sensors-storage/
/en-tutor-prep-igcse-cs-io-devices-sensors-storage/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

IGCSE Computer Science: Input, Output, Sensors and Storage — Tutor Prep Guide

IGCSE Computer Science: Input, Output, Sensors and Storage — Tutor Prep Guide

  • 2026-11-27

Students know the names but not why one device suits one setting. This chapter uses a single selection line: ask what data must be captured, then ask whether it is needed now or kept, and the answer narrows to one device.

Objectives — Students can: (1) distinguish input from output devices and give four examples of each; (2) compare the three touch screens, resistive by pressure, capacitive by the charge in a finger and infra-red by a grid of beams, and say where each fits; (3) name the data captured by fourteen sensors and choose the right sensor for three settings; (4) distinguish primary from secondary storage, state the split between RAM and ROM, and describe the read and write principles of magnetic, optical and solid-state storage with an example of each; (5) explain why virtual memory is needed and how pages are swapped, and compare cloud storage with local storage on three benefits and three limits.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
Pixels How many pixels are in a 4,000 by 3,000 photo? 12,000,000, which is 12 megapixels
Unit conversion How many KiB are in 700 MiB? 716,800 KiB, multiplying by 1024
Input and output Is a microphone an input or an output? An input, it brings sound into the computer

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-8 min Three selection questions Ask what to capture, whether it is live or kept, how accurate Three questions narrow the choice
8-24 min Input devices and three touch screens Compare 95 barcode modules with 31,329 QR modules A barcode carries an ID, a QR code carries content
24-34 min Fourteen sensors Go through the table of data and uses Pick four sensors for a greenhouse
34-44 min Output devices and actuators Inkjet at 0.60 against laser at 0.20 per page Work out the 3 times difference
44-54 min Primary and three secondary types HDD 7,200 rpm, average 12.17 ms; SSD 4.58 times faster Give one example of each type
54-60 min Virtual memory and cloud 8 GiB of RAM is only 2,097,152 frames State swapping and three cloud limits

03 Teaching script (read it out)

Scene 1: Input devices and sensors — ask what must be captured

An input device turns something in the outside world into binary the computer can process. The first selection question is not which device is more expensive but what must be captured.
A barcode scanner reads a one-dimensional code: EAN-13 has 13 digits and 95 modules at 0.33 millimetres each, so the bars are 31.35 millimetres, and with the quiet zones the symbol is 113 modules or 37.29 millimetres. It carries only an identifier, which is cheap and fast but useless without a database lookup. A QR scanner reads a two-dimensional code: version 1 is 21 by 21, which is 441 modules, and version 40 is 177 by 177, which is 31,329, 71 times the capacity, so it can carry a web address or text directly.
A digital camera turns light into pixels: 4,000 by 3,000 is 12,000,000 pixels, and at 24 bits each a raw frame is 36,000,000 bytes or 34.33 MiB, so a 64 GB card holds 1,777 frames. A microphone turns sound into an electrical signal and samples it, and an optical mouse at 1,000 dpi reports 1000 counts per inch of movement.
The three touch screens must be separated. Resistive has two conductive layers that only connect when pressed, so a gloved finger or a stylus works. Capacitive senses the charge in a finger, which is sensitive but fails with thick gloves or wet hands. Infra-red uses emitters and receivers around the frame, and a finger breaking the beams gives the position, which resists scratching and accepts any object but needs a thicker bezel. A 2D scanner turns a flat document into pixels: A4 at 2,400 dpi is 19,848 by 28,056, which is 556,855,488 pixels and 1.67 GB at 24 bits. A 3D scanner also measures depth to build a point cloud, for copying or reverse engineering.
Sensors are input devices too, except they measure one physical quantity. The fourteen in 0478 must all be covered because the exam asks for selection: acoustic for sound level and broken glass, an accelerometer for acceleration on three axes, flow for liquid or gas per unit time, gas for a concentration such as a leak, humidity for water vapour, infra-red for radiation or an obstacle at an automatic door, level for the height of liquid in a tank, light for illumination, magnetic field for a vehicle passing or a door reed switch, moisture for soil water, pH for acidity in a tank or treatment plant, pressure for a tyre, proximity for a parking sensor, and temperature for an oven or air conditioner. Selection is three steps: name the quantity, state the range and accuracy, then say whether the output is digital or analogue, because an analogue signal must pass through an analogue to digital converter first.

Sensor Data captured Typical use
Acoustic Sound level or a specific sound Broken glass alarms, sound-activated switches
Accelerometer Acceleration along three axes Phone orientation, impact detection, vibration monitoring
Flow Liquid or gas passing per unit time Water metering, airflow in a ventilator
Gas Concentration of a particular gas Kitchen gas leaks, methane in mines
Humidity Water vapour in the air Greenhouses, server rooms
Infra-red Infrared radiation or a reflected obstacle Automatic doors, movement detectors
Level Height of a liquid Water tanks, oil tanks, washing machine fill
Light Light intensity Street lights switching on, screen brightness
Magnetic field Field strength or change Vehicle detection, compass, door and window reed switches
Moisture Water content of soil Irrigation in farming
pH Acidity or alkalinity of a solution Fish tanks, water treatment, laboratory work
Pressure Pressure of a gas or liquid Tyres, blood pressure, barometers
Proximity Nearness of an object Parking sensors, a phone held to the ear
Temperature How hot or cold Air conditioning, ovens, greenhouses

Give three settings, a supermarket till, a factory where gloves are worn and a phone unlocking, and ask for a device and a reason for each.

Scene 2: Output devices — from signals back to the world

Output devices turn binary into something seen, heard or moved. Actuators are the key group here: they convert an electrical signal into physical action, such as a motor turning, a solenoid valve opening or a heater warming. A greenhouse controller reads a temperature sensor and drives an actuator to start a fan or a water valve, so sensors are inputs and actuators are outputs.
Projectors: DLP uses an array of 1,024 by 768, which is 786,432 micromirrors, each one a pixel, flipped quickly to send light to the lens or the light sink; an LCD projector uses liquid crystal panels to block light, giving softer colour and lower contrast. Screens work the same way, with LED screens emitting from each LED and LCD screens using a backlight behind liquid crystals.
The two printers must be compared on cost and principle. Inkjet uses a cartridge, and one at 120 dollars for 200 pages costs 0.60 per page; laser uses toner and a charged drum, and 600 dollars for 3,000 pages costs 0.20 per page, a difference of 3 times. On resolution, an A4 page at 600 dpi is 4,962 by 7,014, which is 34,803,468 dots, so one bit per dot is 4,350,434 bytes or 4.15 MiB, which is why a full-page image costs far more than a text page.
A 3D printer outputs a solid object: at 0.2 millimetres per layer a 50 millimetre object needs 250 layers, and at 45 seconds each that is 11,250 seconds or 3.12 hours, using 200 grams of filament at 0.20 per gram, which is 40.

Ask students what the sensor and the actuator each do in a greenhouse system; the answer must state the direction of input and output.

Scene 3: Storage — primary, three secondary types, virtual memory and cloud

Primary storage is accessed directly by the CPU and is only RAM and ROM. RAM is fast and loses its contents at power off, holding the programs and data in use; ROM is read only and keeps its contents, holding the startup program such as the BIOS or bootloader. Both are needed: RAM must be fast and changeable, ROM must keep the first instructions.
Secondary storage is not accessed directly and must be loaded into RAM first. Magnetic: hard disk platters are divided into tracks and sectors and are read and written by electromagnets; 7,200 rpm is 120 revolutions per second, one revolution takes 8.33 milliseconds, so average rotational delay is 4.17 milliseconds and with a 8 millisecond seek the average access is 12.17 milliseconds. Optical: CD, DVD and Blu-ray use a laser to create and read pits and lands; a 700 MiB CD at 48 speed, which is 7,200 KiB per second, takes 99.56 seconds, and a single-layer 25 GB Blu-ray holds 5.32 times a 4.7 GB DVD. Solid state: NAND or NOR flash stores charge on floating gates controlled by control gates, with no moving parts, so it is shock resistant and silent; an SSD at 550 MB per second against a hard disk at 120 is 4.58 times faster, so 20 GB takes 36.36 seconds against 166.67.
Virtual memory: 8 GiB of RAM at 4 KiB per page gives 2,097,152 frames, and a larger program will not fit. The system moves pages that are not in use to an area of secondary storage, the page file, and swaps them back when needed, and that area is virtual memory. It lets a program be larger than physical RAM, at the cost of disk reads: if 2 per cent of 100,000 accesses miss and each miss costs 5 milliseconds, the delay is 10 seconds.
Cloud: data sits on someone else servers and is reached over a network. Uploading 100 GB at 20 Mbit/s takes 40,000 seconds or 11.11 hours, while a local copy takes 13.89 minutes. On price, 100 GB at 10 a month is 120 a year, while a 1 TB SSD at 700 over five years is 140 a year. The benefits are off-site backup and access from any device; the limits are the need for a network, the monthly fee, and control of the data sitting with someone else.

Ask students to separate virtual memory from cloud storage: one is RAM running short inside the same machine, the other is data on a different machine.

04 Question types and worked steps

Type Example Steps Answer
Choosing an input device A supermarket till, a gloved factory worker, a phone unlocking Ask what data is captured, then the operating conditions of gloves, light and distance Barcode scanner, resistive touch or keys, capacitive touch
Comparing touch screens Resistive against capacitive against infra-red Ask what triggers the input: pressure, charge or a beam Pressure, a finger, or a broken beam
Matching sensors A greenhouse controlling temperature, humidity, light and soil water One variable per sensor, never one sensor for two jobs Temperature, humidity, light and moisture sensors
Comparing storage RAM, ROM, HDD, SSD and cloud Split primary from secondary, then magnetic, optical, solid state and off-site RAM is fast but volatile, ROM keeps startup code, HDD averages 12.17 ms, SSD is 4.58 times faster, cloud needs a network
Sanity check (teach this): Sanity checks: (1) a barcode carries only an ID while a QR code carries content, which is why a till needs a database; (2) a sensor is always an input and an actuator always an output, and reversing them loses the whole answer; (3) cost per page is price divided by pages, 0.60 against 0.20; (4) virtual memory is not a substitute for RAM, it only uses secondary storage as a fallback and is far slower; (5) cloud storage still needs physical servers, they are just not next to the user; (6) the advantage of solid state is having no moving parts, not having a larger capacity.

05 Independent practice (3 questions)

Question Answer What to watch
A 4,000 by 3,000 photo at 24 bits, how many bytes is one raw frame? 36,000,000 bytes, which is 34.33 MiB Check the multiplication by three bytes and the conversion to MiB
Inkjet at 120 for 200 pages and laser at 600 for 3,000 pages, how far apart is the cost per page? 0.60 against 0.20, a factor of 3 Check the division of price by pages, not the other way round
A 20 GB file on an SSD at 550 MB per second and a hard disk at 120 MB per second, how long does each take? 36.36 seconds against 166.67 Check the conversion of GB to MB by multiplying by 1000

06 Common mistakes and what to say

Mistake Student writes Say this
Calling an actuator a sensor The motor senses the temperature and turns A motor is an actuator that acts on a command; the sensor is what reads the temperature, and the two sit at opposite ends of the system.
Assuming ROM can be rewritten freely ROM holds startup code and can be updated anytime ROM is written at manufacture and read only; flash is the rewritable one, and the two must be kept apart.
Describing virtual memory as more RAM Adding virtual memory gives more RAM The physical RAM does not grow; secondary storage is used as a fallback and every swap waits for the disk, which is far slower.
Saying the cloud has no physical storage The cloud stores data in the air The cloud still runs on servers and disks, in a data centre maintained by someone else.

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
One direction rule Sensors in, actuators out Reversed means scene two again
One storage split RAM fast and volatile, ROM keeps startup, secondary must be loaded Cannot state it means scene three again
One conversion 12,000,000 pixels times 3 bytes is 36,000,000 bytes Wrong means the start of scene one again

09 Tutor FAQ

Why does a computer need both RAM and ROM?

RAM must be fast and changeable to run programs, while ROM is read only but keeps its contents at power off to hold startup and basic input output. At boot the CPU reads ROM first, then loads the system from secondary storage into RAM.

How much slower is virtual memory?

A page swap reads the disk and costs about 5 milliseconds, while RAM is measured in nanoseconds, so the gap is several orders of magnitude; 2 per cent misses already add 10 seconds to 100,000 accesses.

Can cloud backup replace a local backup?

No. Cloud data depends on a network and a provider, and a locked account or a cancelled service loses access; a local copy and a cloud copy must both exist before it counts as a backup.

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.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →