Question 6

AQA Computer Science June 2020 Paper 1GCSE4 marks

On the specification

3.1 Fundamentals of algorithms
Question text

6 Show the steps involved, for either the bubble sort algorithm or the merge sort algorithm, to sort the array shown in Figure 6 so the result is [1, 4, 5, 8] Figure 6 [8, 4, 1, 5] Circle the algorithm you have chosen: Bubble sort Merge sort [4 marks] Steps: