Searching and sorting algorithms
34
0/3

A quantum computing refrigeration system logs its temperature deviations from absolute zero (in microkelvins) at eight different sensor locations. The logged deviations are:

| -18 | 55 | -3 | 92 | -41 | 0 | 77 | -12 |

An algorithm needs to sort these readings into ascending order using a merge sort.

The first step has already been completed, dividing the list into individual sub-lists of size one:

[-18] [55] [-3] [92] [-41] [0] [77] [-12]

Complete the merge sort of this data by showing each successive stage of the merging process.

[3]

Searching and sorting algorithms Questions

Practise OCR GCSE Computer Science Searching and sorting algorithms with exam-style questions for GCSE Computer Science. 36 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 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

Searching and sorting algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Searching and sorting algorithms