Question 2(f)(ii) 2019 · May-June · Paper 41 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 2
Part (f)
(ii)
Question 1
- Bubble sort
- Merge sort
Show text version of question
Question 2
Part (f)
(ii)
Question 2
A computer games club wants to run a competition. The club needs a system to store the scores
achieved in the competition.
In part (b), the club stored scores in a 1D array. This allows the club to sort the scores.
The following is a sorting algorithm in pseudocode.
NumberOfScores ← 5
FOR Item ← 1 TO NumberOfScores – 1
InsertScore ← ArrayData[Item]
Index ← Item – 1
WHILE (ArrayData[Index] > InsertScore) AND (Index >= 0)
ArrayData[Index + 1] ← ArrayData[Index]
Index ← Index – 1
ENDWHILE
ArrayData[Index + 1] ← InsertScore
ENDFOR
(ii)
State the name of one other sorting algorithm.
.....................................................................................................................................
Question 17
Why this question appears here
72% assigned-topic match · Algorithm design and problem-solving › Algorithms
Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.
Permanent source page: Educate A Change · From 9608_s19_qp_41.pdf
