Question 2(c) 2018 · May-June · Paper 43 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (c)
Question 1
mark per bullet to max 4
Question 4
- When the list is almost sorted «
- «because it will stop as soon as it is sorted
Show text version of question
Question 2
Part (c)
Question 2
The array ItemList[1:20] stores data. A bubble sort sorts these data.
Part (c)
An insertion sort is another sorting algorithm.
State two situations when an insertion sort is more efficient than a bubble sort. Give a reason for each.
Situation 1 .................................................................................................................................
...................................................................................................................................................
Reason .....................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Situation 2 .................................................................................................................................
...................................................................................................................................................
Reason .....................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Question 6
Why this question appears here
71% 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_s18_qp_43.pdf
