Year 10 - Computing
Binary search
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 identify when a binary search can be used and perform its steps on a set of data.
Binary search is an algorithm which can be used to search for an item in a sorted data set. It discards half of the remaining data with each comparison and repeats the process until the item is found.
an algorithm to search for an item in a sorted data set — it discards half of the remaining data with each comparison and repeats the process until the item is found or until the data set is exhausted. Add one real device or system example to prove understanding.
Mistake: A binary search can be performed on any data. Correction: A binary search can only be performed on an ordered list as it finds the expected position of the search term based on a selected mid-point in the data.
Browse all guides in the Year 10 Computing guide library.