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:
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.
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.