Coding Efficiency

All | IT & Computing | 11-16

Learning Objectives

  1. Code a solution to be fit for purpose.
  2. Know the importance of code efficiency.
  3. Learn to detect and correct errors and refine programs.

Lesson Description

This series of three Computing coding lessons uses the real-life context of the America’s Cup race start in the form of a coding game to support and engage students in learning to code. They are challenged to code their foiling race boat to cross the start line as close to the start gun as possible but not before!

This engaging series of lessons will promote computational thinking, providing both a challenge and a competitive experience. Throughout this topic, students will gain an understanding of the importance of coding efficiency by exploring a range of algorithmic solutions developed using code blocks. They will sequence instructions to develop a program which they will test and then make further refinements to.

This unit comprises of a set of three editable lesson presentations (including teacher notes) which support the underpinning computational thinking concepts and provide the teacher with guidance and suggestions for further exploration. A Google classroom link is provided to allow easy sharing of the resources with students.

This film gives a brief insight into the the coding and programming used in INEOS TEAM UK's America's cup campaign.



For immediate access to all of our free Key stage 3 and 4 STEM teaching resources.

2.Videos Transcript
4.Lesson 1: Code Efficiency Editable lesson presentation and teaching notes covering coding for a purpose, code efficiency and refinement.
5.Lesson 2: Loops and if statements Editable lesson presentation and teaching notes covering program refinement and use of a loops to further refine a program.
6.Lesson 3: Nested loops, Debugging and Code Optimisation Editable lesson presentation and teaching notes covering the difference between deterministic and non-deterministic loops, Nested loops, Debugging and Code Optimisation
7.Creating Britannia's digital twin

A two minute video from INEOS TEAM UK highlighting the crucial role played by cutting edge programming and software design in the development of a winning race boat and professional sports team.

8.STEM Behind the scenes at INEOS TEAM UK

Find out all about how INEOS TEAM UK are using the STEM subjects in their bid to win the 36th America’s Cup

11.Teach with confidence

Curriculum Links

Key stage 2
Pupils should be taught to:

  • design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts
  • use sequence, selection, and repetition in programs; work with variables and various forms of input and output
  • use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs

Key stage 3
Pupils should be taught to:

  • design, use and evaluate computational abstractions that model the state and behaviour of real-world problems and physical systems
  • understand several key algorithms that reflect computational thinking [for example, ones for sorting and searching]; use logical reasoning to compare the utility of alternative algorithms for the same problem
  • use two or more programming languages, at least one of which is textual, to solve a variety of computational problems; make appropriate use of data structures [for example, lists, tables or arrays]; design and develop modular programs that use procedures or functions


All, IT & Computing

Key Stage


Resource For

Students, Teachers


Game, Practical Investigation, Teacher Presentation, Teachers' notes, Worksheets


Please login or register to discuss these resources.