Skip to main content

GCSE

Lesson 8 Insertion sort

Curriculum > KS4 > Unit > Lesson

In this lesson, learners will explore another sorting algorithm, insertion sort. Some exam boards do not require learners to know insertion sort so do check the specification first. They will start by discussing how they would sort objects in real life, which may lead them to describe something akin to an insertion sort. This should be especially apparent when adding a new item to a sorted group of objects. To begin with, the slides take learners through a broken down version of one pass of an insertion sort that reflects the coded solution introduced in the next lesson. Then the slides will take learners through multiple passes of an insertion sort which is how they will apply the algorithm when executing it on samples of data. Being able to recognise and highlight the sublists at different stages of an insertion sort is essential for showing the individual steps of an insertion sort and will help with understanding the coded implementation next lesson. Learners will get to practice performing an insertion sort on samples of data of their own which will include a partially worked example to support them with carrying out each pass of the algorithm. Again, words are used instead of numbers in the data samples as this is often what learners struggle more with and therefore need more practice.

Learning objectives

  • Insert an item into an ordered list of items
  • Describe how insertion sort is used for ordering a list of items
  • Perform an insertion sort to order a list containing sample data

Package contents

  • Lesson plans
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

GCSE revision

A comprehensive range of content and helpful practice questions are also available for this topic.

Help us make these resources better

Provide your feedback

Or email us at [email protected]