Skip to content

Course home

Algorithms

Algorithms

EasyMediumHard
12345678910111213141516
Question 6

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]
Markscheme

Algorithms Questions

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

159 exam-style questions on Edexcel GCSE Computer Science Algorithms, covering Constructs for solving problems, Variables, constants and data structures, Arithmetic, relational and logical operators, Tracing algorithm output with trace tables, Types of error and correcting logic errors, Standard algorithms (sorts and searches), and Evaluating algorithm fitness and efficiency. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank