Examo
PracticeAbout
Homecomputer-scienceSorting and Searching Algorithms
0984

Sorting and Searching Algorithms

Algorithm Design and Problem Solving · 4 question types

Practise
Download PDF

0984 Topics

Problem Solving and Design6%
Pseudocode and Flowcharts11%
Sorting and Searching Algorithms7%
  1. Why Sorting and Searching Matter
  2. Linear Search
  3. Binary Search
  4. Linear vs Binary Search
  5. Bubble Sort
  6. Tying Searching and Sorting Together

Frequency legend

High (≥14%)
Above avg (10 to 13%)
Average (<10%)

Exam Frequency Analysis

Past paper frequency (2018 to 2024)

This topic accounts for approximately 7% of your exam marks.

stable
Low
Stable7%

Bubble sort traces and binary search descriptions appear in nearly every paper. 4 to 6 marks.

Almost every program ends up doing one of two operations on data:

  • Sorting: putting a collection of values into order (alphabetical, numerical, by date, etc.).
  • Searching: finding a particular value within a collection.

The IGCSE syllabus names three standard algorithms for these jobs:

JobAlgorithm
SortingBubble sort
SearchingLinear search
SearchingBinary search

You should be able to describe how each one works, trace through a worked example, and compare the two search algorithms.

Previous

The Three Kinds of Loop

Next

Linear Search