Year 10 - Computing
Insertion sort
Searching and sorting algorithms
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 10 - Computing
Searching and sorting algorithms
In this unit pupils will have opportunities to analyse, interpret, modify, and implement a range of searching and sorting algorithms. They will have the opportunity to compare the features and efficiency of these algorithms and make suggestions about the most suitable algorithm for a given task.
You will learn to use an insertion sort to sort a list containing sample data.
An insertion sort groups the items of a list into two parts: a sorted sublist and an unsorted sublist. An item is taken from the unsorted sublist, compared to the items in the sorted sublist and put in the correct position.
a sorting algorithm that progressively evaluates items in a list and inserts them into the correct place in an ordered sublist. Add one real device or system example to prove understanding.
Mistake: An insertion sort is slower than other sorting algorithms. Correction: While other algorithms offer better time complexity for large, unsorted arrays, insertion sort can still be faster in practice for smaller and partially sorted lists.
Browse all guides in the Year 10 Computing guide library.