Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Algorithms

EasyMedium
123456789101112131415161718192021222324252627
Question 17

Here is a list of numbers that need to be sorted in ascending order.

| 42 | 12 | 35 | 19 | 50 | 22 | 15 | 8 |

Perform the first pass of a bubble sort.

Complete the table to show how the list will have changed at the end of the first pass.

[1]

Algorithms Questions

  1. IGCSE
  2. /Computer Science
  3. /Algorithms