An educational app stores a list of vocabulary words to display in children's word games.
A sample of this data is shown in Fig. 1.
| pear | kiwi | plum | fig | date |
Fig. 1
Show the stages of a bubble sort when applied to the dataset shown in Fig. 1.
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.