Skip to content

Course home

Sign up

Computational thinking

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
Question 5

An automated quality-control system records the thickness of seven glass panels in millimetres as follows:

| 8.1 | 1.2 | 5.4 | 9.3 | 2.7 | 6.5 | 3.8 |

A bubble sort is used to sort this list of measurements into ascending order.

State the number of swaps that will be made during the first pass of the algorithm.

[1]
Markscheme

Computational thinking Questions

  1. GCSE
  2. /Computer Science
  3. /Computational thinking

Question bank