41Medium
0/4

An environmental agency monitors the hourly particulate matter (PM2.5PM_{2.5}PM2.5​) levels at four air quality monitoring stations. The recorded levels, in μg/m3\mu\text{g/m}^3μg/m3, are represented by the list L=[93,17,54,38]L = [93, 17, 54, 38]L=[93,17,54,38].

Explain how the merge sort algorithm can be used to sort this list in ascending order. In your explanation, refer to how the algorithm processes the elements of LLL.

You may reference the diagram below, which shows the structure of the sorting process, to support your explanation:

Merge sort tree diagram showing the split and merge phases for [93, 17, 54, 38]

[4]

Sorting algorithms Questions

Practise AQA GCSE Computer Science Sorting algorithms with exam-style questions for GCSE Computer Science. 62 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Sorting algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Sorting algorithms