Skip to content
MathsGenie logo
Open app

Course home

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

Algorithms

EasyMedium
123456789101112131415161718192021222324252627
Question 15

An array of numbers is to be sorted into ascending order using a standard bubble sort algorithm:

[7, 3, 9, 1, 5]

State the number of swaps made during the first pass of this algorithm.

[1]

Algorithms Questions

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