Skip to content

Course home

Sign up

Computational thinking

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
Question 59

An orbital mechanics database lists the orbital periods (in Earth years) of 11 newly discovered exoplanets:

| 1.4 | 0.8 | 12.5 | 3.2 | 0.5 | 9.7 | 22.1 | 0.1 | 4.6 | 15.3 | 8.8 |

A standard ascending bubble sort is carried out on this list.

State the number of comparisons that will be made on the first pass.

[1]
Markscheme

Computational thinking Questions

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

Question bank