A marine biology database stores a list of oceanic trenches.
A sample of this data is shown below:
Tonga
Mariana
Kermadec
Java
Puerto
Show the stages of a bubble sort, to arrange the list in alphabetical order, when applied to this dataset.
[4]
Markscheme
36 exam-style questions on OCR GCSE Computer Science Searching and sorting algorithms. Each one has a worked solution and a mark scheme showing where the marks go.