Skip to content

Course home

Algorithms

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]
Markscheme

Algorithms Questions

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

45 exam-style questions on Edexcel IGCSE Computer Science Algorithms. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank