Past-paper question · 2018 May-June · Paper 43 · Q2(c)

Question 2(c) 2018 · May-June · Paper 43 · 4 marks

Original past-paper question for 2(C)
Original past-paper question for 2(C)
Original past-paper question for 2(C)
Reveal official mark-scheme answer Official mark-scheme answer for 2(C)

Official answer for Question 2

Part (c)

Question 1

mark per bullet to max 4

Question 4

✓
e.g.
  • When the list is almost sorted «
  • «because it will stop as soon as it is sorted
✓
•
✓
When there are a large number of data items «
✓
•
✓
«because it will perform fewer comparisons/loops
✓
9608/43
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s18_ms_43.pdf →

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 .....................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

[4]

Question 6

Topic relevance

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

Keep practising this topic