Skip to content

Course home

Sorting algorithms

Sorting algorithms

EasyMediumHard
123456789101112131415161718192021222324252627
Question 15

An acoustic engineer measures the sound levels in decibels (dB) at five different positions inside a recording studio. The recorded values are:

[35,55,25,15,45] [35, 55, 25, 15, 45] [35,55,25,15,45]

The engineer wants to sort these sound levels into ascending order using the bubble sort algorithm.

Complete the table below to show the steps involved. You only need to show the missing steps where a change is applied to the array.

3555251545
1525354555
[5]
Markscheme

Sorting algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Sorting algorithms

52 exam-style questions on AQA GCSE Computer Science Sorting algorithms. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank