A-Level Computer Science / Unit 3: Hardware, Memory and Control

3.1.5 Input and Output Devices

πŸ”’ Lesson slides are available to signed-in users. Sign in

3.1.5 Input and Output Devices

Computer systems need hardware that can collect data from the physical world and present processed information in a useful form. Some devices mainly provide input, some mainly produce output, and others perform both roles.

This lesson focuses on the operating principles of touchscreens, microphones, speakers, laser printers, 3D printers, and virtual-reality headsets. Additional screen and printing technologies are retained as optional extension material.

By the end of this section, you should be able to:

  • Classify hardware as input, output, or bidirectional.
  • Describe how a touchscreen detects a user's position.
  • Explain how a microphone converts sound into digital data.
  • Explain how a speaker converts digital data into sound.
  • Describe the sequence used by a laser printer to place toner on paper.
  • Explain how a 3D printer builds an object from a digital model.
  • Describe how a VR headset creates and updates an immersive view.
  • Choose a suitable device and justify the choice using technical properties.

Input, output, and bidirectional devices

An input device captures data or a command and sends it into the computer system. An output device receives data from the computer and converts it into a form that people or other systems can use.

Device Main role Data transformation
Microphone Input Sound waves become electrical signals and then digital samples.
Speaker Output Digital sound data becomes an analogue signal and then sound waves.
Laser printer Output Page data becomes a toner image fixed onto paper.
3D printer Output A digital model becomes a physical object built in layers.
Touchscreen Input and output The display presents information while the sensing layer detects touch.
VR headset Mainly output, with tracking input Images and sound are presented while sensors report head movement.

Common mistake

Do not classify a whole device only by its appearance. A touchscreen displays output and also detects input. A VR headset presents visual output, but its tracking sensors also send movement data back to the computer.

Touchscreens

A touchscreen combines a display with a sensing system. The display shows controls, images, or text. A separate touch-sensitive layer produces measurements that allow the processor to calculate where the user touched.

Resistive detection

  1. Two conductive layers are held slightly apart.
  2. Pressure from a finger or stylus pushes the upper layer against the lower one.
  3. The contact changes the electrical measurements across the surface.
  4. A controller uses those measurements to calculate the touch coordinates.

Capacitive detection

  1. A transparent conductive grid creates an electric field across the screen.
  2. A finger changes the local capacitance when it approaches or touches the surface.
  3. Sensors measure where the change occurred.
  4. The controller calculates one or more touch positions and sends them to the processor.
Feature Resistive touchscreen Capacitive touchscreen
What causes detection? Physical contact between two layers A change in the local electric field or capacitance
Suitable pointer Finger, stylus, or another object applying pressure Usually a conductive pointer such as a finger
Multiple touches Often limited Commonly supports multi-touch

Exam tip

Describe both stages: a physical or electrical change is measured, then the controller calculates the coordinates. Saying only β€œthe screen knows where you touched” is not enough.

Microphones and speakers

Microphone: sound to data

A microphone begins with sound waves in the air. These make a thin diaphragm vibrate. A transducer converts the vibration into a continuously varying electrical signal. Because a computer processes digital values, an analogue-to-digital converter samples and quantises this signal.

Analogue-to-digital converter (ADC): hardware that converts a continuously varying input signal into digital values.

The complete direction of conversion is: sound wave β†’ diaphragm movement β†’ analogue electrical signal β†’ ADC β†’ digital samples.

Speaker: data to sound

A digital-to-analogue converter produces a varying electrical signal from digital sound data. The signal passes through a coil positioned in a magnetic field. Changes in the current make the coil move, which drives a cone or diaphragm backwards and forwards. The moving surface creates pressure waves that we hear as sound.

Digital-to-analogue converter (DAC): hardware that converts digital values into a continuously varying output signal.

The complete direction of conversion is: digital samples β†’ DAC β†’ varying current β†’ coil and diaphragm movement β†’ sound wave.

Common mistake

A microphone does not directly produce binary values, and a speaker does not directly use binary digits to move its cone. ADC and DAC stages connect the analogue physical world to digital processing.

Laser printers

A laser printer uses electrostatic charge to control where powdered toner is placed. The laser prepares an image on a photoreceptor drum; it does not shine directly onto the paper.

  1. The photoreceptor drum receives a uniform electrical charge.
  2. A laser scans the rotating drum and changes the charge in selected positions.
  3. The resulting charge pattern represents the page image.
  4. Charged toner particles are attracted to the required areas of the drum.
  5. The drum transfers the toner pattern onto paper.
  6. Heated pressure rollers melt and press the toner into the paper fibres.
  7. The drum is cleaned and prepared for the next page.
Photoreceptor drum: a light-sensitive rotating surface on which the printer creates an electrostatic image.
Simplified diagram of a laser printer.

Interactive widget

Build the laser-printing sequence

Laser Mirror Drum Toner Paper Fuser

Step 1 of 6

Charge the drum

The photoreceptor drum is given an electric charge so selected areas can later attract toner.

Colour laser printers repeat the imaging process with cyan, magenta, yellow, and black toner. The separate dot patterns combine to produce the final colour image.

Common mistake

The laser changes the charge pattern on the drum. The fuser uses heat and pressure to attach toner permanently to the paper.

3D printers

A 3D printer converts a digital model into a physical object through additive manufacturing. Instead of cutting a shape from a solid block, the printer builds the object by adding material.

  1. A designer creates or scans a three-dimensional model.
  2. Slicing software divides the model into many thin horizontal layers.
  3. The software generates movement and material-deposition instructions.
  4. The printer creates the first layer on the build surface.
  5. The build platform or print head moves, and the next layer is added.
  6. The cycle continues until the full object has been formed.
  7. Supports may be removed and curing or finishing may be required.
Slicing: converting a 3D model into a sequence of thin layers and generating the instructions needed to produce each layer.

Exam tip

Use a process chain: model β†’ slice β†’ generate instructions β†’ deposit or solidify material β†’ repeat layers β†’ finish.

Virtual-reality headsets

A VR headset presents a separate image to each eye. The two views show the same scene from slightly different positions, allowing the brain to interpret depth. Lenses help the nearby displays fill the user's field of view.

Tracking sensors measure rotation and, in many systems, movement through space. The computer uses the latest tracking data to render a new pair of images from the updated viewpoint. This rapid feedback makes the virtual scene appear stable while the user moves.

Stage What happens
Render The computer creates a slightly different view for each eye.
Display The headset presents the paired images through lenses.
Track Sensors measure the user's head position and orientation.
Update The system renders the next views from the new viewpoint.

Exam tip

Include both ideas: two related images create depth and tracking data updates the viewpoint.

Extension: screen pixels and other output devices

The following material is useful background but should not replace the core devices listed above. A colour screen pixel is normally formed from red, green, and blue sub-pixels. Varying their intensities produces different colours.

How an LCD screen works.

Interactive widget

Mix one colour pixel

Move the red, green, and blue sliders to investigate additive colour mixing.

RGB(240, 80, 80)

Inkjet printers and graphics plotters are also useful comparison technologies. An inkjet printer places droplets of liquid ink onto paper. A plotter follows vector paths to produce large or precise line drawings. These are extension examples rather than the main assessed devices on this page.

Interactive: Choose a suitable output device

Select a scenario, inspect the suggested device, and then decide whether the justification connects the requirement to a relevant technical property.

Interactive widget

Choose the best output device

Select a scenario. Then compare which output device is most suitable and why.

Best match

Laser printer

A laser printer is suitable when many pages of clear text are needed quickly.

Output form Hard-copy text
Main strength Fast page printing
Important limitation Less direct control over individual vector paths

Exam support

Describe a process, not merely a purpose

β€œA microphone records sound” identifies its use. A stronger answer explains how the diaphragm moves, an analogue signal is produced, and the ADC creates digital samples.

Keep conversion directions clear

Microphone: analogue physical input β†’ digital data.
Speaker: digital data β†’ analogue physical output.

Common mistakes and misconceptions

  • Calling every device either input or output when some are bidirectional.
  • Forgetting the coordinate-calculation stage in a touchscreen.
  • Reversing the roles of ADC and DAC.
  • Saying that the laser prints directly onto paper.
  • Omitting slicing when describing 3D printing.
  • Explaining VR only as β€œtwo screens” without head tracking and view updates.

Practice

Explain how each device operates

  1. Describe how a capacitive touchscreen detects a finger position.
  2. Explain how a microphone changes a spoken word into digital data.
  3. Explain how a speaker produces sound from digital samples.
  4. Describe the stages from charging the drum to fusing toner in a laser printer.
  5. Explain how slicing is used before a 3D object is printed.
  6. Describe how a VR headset responds when the user turns their head.

Original application task

A science museum is designing an interactive exhibit. Visitors will select options on a display, hear spoken explanations, and explore a simulated environment.

  1. Identify three suitable input or output devices.
  2. Explain the role of each device.
  3. Describe the principal operation of one selected device.

Choose and justify

A design company needs one device to produce 150 paper instruction manuals and another to create a physical scale model. Choose a device for each task and justify both choices using their operating properties.

Review

Device Core operating sequence Essential terms
Touchscreen Detect electrical change or layer contact, measure it, calculate coordinates. Resistive, capacitive, controller, coordinates
Microphone Sound moves diaphragm, transducer creates analogue signal, ADC samples it. Diaphragm, transducer, analogue signal, ADC
Speaker DAC creates signal, current moves coil and diaphragm, sound waves form. DAC, coil, magnetic field, diaphragm
Laser printer Charge drum, expose image, attract toner, transfer, fuse. Photoreceptor drum, electrostatic image, toner, fuser
3D printer Slice model, generate instructions, add layers, finish object. CAD model, slicing, layer, additive manufacturing
VR headset Render paired views, display them, track movement, update viewpoint. Stereoscopic images, lenses, tracking, rendering