3.2

Topic 3

Input and output devices

  • IGCSE Computer science 0478
  • 5 min read
  • Syllabus 2026, 2027 and 2028

Objectives

  1. 1

    Understand what is meant by an input device and why it is required

  2. 2

    Understand what is meant by an output device and why it is required

  3. 3

    • aUnderstand what is meant by a sensor and the purposes of sensors
    • bIdentify the type of data captured by each sensor and understand when each sensor would be used, including selecting the most suitable sensor for a given context

Cambridge IGCSE Computer Science 0478 syllabus 2026-2028, 3.2 Input and output devices (copied for internal use as permitted by Cambridge)

Detailed · Deep study

1Input devices

input device

A device that allows data to be entered into a computer so that it can be processed.

Input devices are needed because the computer can only process data that has been converted into binary; the device captures data from the user or the environment and converts it.

Input deviceHow it works / use
barcode scannera laser or LED shines on the black and white bars; the reflected light pattern is read by sensors and converted to digits (1D). Supermarkets, libraries, stock control
QR code scannera camera reads the 2D pattern of squares; holds much more data than a barcode, e.g. a URL. Tickets, adverts, payments
digital cameralight passes through a lens onto a sensor (CCD/CMOS) of millions of light-sensitive pixels; each is converted to a binary value
keyboardpressing a key completes a circuit; the processor identifies the key and its character code (e.g. ASCII/Unicode)
microphonesound waves vibrate a diaphragm, producing an analogue electrical signal; an ADC converts it to digital
optical mousean LED lights up the surface; a small camera takes thousands of images a second and the changes show the direction and speed of movement
resistive touch screenpressure pushes two flexible layers together, completing a circuit at that point; cheap, works with gloves, but less clear and single touch
capacitive touch screena finger (a conductor) changes the electrostatic field at that point; very responsive and multi-touch, but does not work with ordinary gloves
infra-red touch screena grid of IR beams across the screen; a finger breaks beams and the position is calculated; works with any object, large screens
2D scannerlight is shone on a document and the reflected light is captured by sensors to make a digital image; OCR can turn text into editable text
3D scannerlasers or light scan an object from many angles to make a 3D digital model; used in CAD, medicine, 3D printing

2Output devices

output device

A device that receives processed data from a computer and presents it to the user or uses it to carry out an action.

Output devices are needed so that the results of processing can be seen, heard or used – binary data is not useful to people until it is turned into images, sound, print or movement.

Output deviceHow it works / use
actuatora motor, valve, pump or switch that carries out a physical action in a control system
DLP projectormillions of tiny mirrors (one per pixel) tilt towards or away from the light source to make the image; high contrast
LCD projectorlight passes through LCD panels (red, green, blue) that block or let through light; brighter colours, but lower contrast
inkjet printertiny droplets of ink are sprayed from nozzles (thermal bubble or piezoelectric) as the head moves across the paper; cheap printer, good for photos, slow for large volumes
laser printera laser draws the page as static charge on a rotating drum; toner sticks to the charged areas, is transferred to paper and fused by heat; fast for large volumes
3D printerbuilds a solid object layer by layer from a digital design (e.g. melted plastic or resin); prototypes, medical implants
LCD screenliquid crystals block or let through light from a backlight (usually LEDs) for each pixel
LED screeneach pixel is made of tiny LEDs that give out their own light; thinner, brighter, uses less power
speakera digital signal is converted to analogue (DAC); the current in a coil makes a cone vibrate, producing sound

3Sensors

sensor

An input device that measures a physical property of the environment and sends the data to a computer or microprocessor.

Sensors produce analogue data, which must be converted to digital by an analogue-to-digital converter (ADC). In a monitoring system the computer just records or displays readings; in a control system it also uses actuators to change the conditions.

Fig. 1The microprocessor compares readings with a stored value.
SensorMeasuresExample use
acousticsound leveldetecting breaking glass in a burglar alarm
accelerometeracceleration / tiltphone screen rotation, airbag deployment
flowrate of flow of a liquid or gaswater supply, fuel lines
gasamount of a gas, e.g. CO₂, CO, O₂carbon monoxide alarm, greenhouse
humiditywater vapour in the airgreenhouse, museum climate control
infra-redinfra-red radiation (heat / IR beam broken)motion detector, automatic doors
levellevel of a liquid or solidfuel tank, flood warning
lightlight intensitystreet lights, automatic screen brightness
magnetic fieldchanges in magnetic fielddoor/window open in alarms, phone compass
moisturewater content of soilautomatic plant watering
pHacidity or alkalinitysoil in farming, fish tanks, chemical plants
pressureforce per unit areaweighing vehicles, burglar alarm pressure pad
proximityhow close an object isparking sensors, phone screen off at ear
temperaturetemperaturecentral heating, oven, greenhouse

4Exam focus

Key words: input device; output device; sensor; actuator; ADC; resistive; capacitive; infra-red; DLP; LCD; LED; inkjet; laser; 3D printer.

Quick self-check

Answer in your head first, then reveal.

  1. The screen detects a change in the electrostatic field (1); caused by a conductive finger, and gloves are not conductive (1).

  2. Moisture sensor (1).

  3. Temperature sensor sends readings (1); converted by ADC (1); microprocessor compares with stored value (1); if too low, signal sent to actuator to switch heater on (1); continuous loop (1).

  4. Faster / better for high-volume printing / cheaper per page (1).

Finished this subtopic? Track it on your subject page.