Skip to content

Course home

Algorithms

Algorithms

EasyMedium
123456789101112131415161718
Question 11

Marcus uses a bubble sort algorithm to sort a list of daily low temperatures (in °C) into ascending order.

Complete the table to show the state of the list after each complete pass of the bubble sort algorithm.

You may not need to use all the rows.

PassElement 1Element 2Element 3Element 4Element 5Element 6
Initial738295
Pass 1
Pass 2
Pass 3
Pass 4
Pass 5
[3]
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