Skip to content

Course home

Algorithms

Algorithms

EasyMedium
123456789101112131415161718192021222324252627
Question 13

An array contains the following 6 elements: [14, 5, 21, 8, 2, 17]. State the number of comparisons made during the first pass of a bubble sort on this array.

[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