Algorithms

EasyMediumHard
123456789101112
Question 6
Hard

An ice-skating club uses an embedded control system to manage an individual 222-metre speed skating time trial. The track is exactly 111 metres long, meaning a complete race consists of exactly 2 laps.

The control system is linked to the following peripherals:

  • Starting mats with pressure sensors
  • Starter horn and green light
  • Recall buzzer and red strobe light
  • Optical laser gates at the start/finish line
  • Automatic digital timer display

Create an algorithm to manage the control of a 222-metre (2-lap) race using the peripherals listed.

Use a structured written description (or structured English) for your algorithm.

[6]

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms