Past-paper question · 2009 October-November · Paper 32 · Q3(a)
Question 3(a) 2009 · October-November · Paper 32 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (a)
Part (a)
– Insert first value/CHO
- Compare second value with first (already inserted) and insert in correct place/CHO, SYG
- Continue until last value inserted/BRI, CHO, DAN, ROG, SYG
✓
(1 per –, max 3)
[3]
Show text version of question
Question 3
Part (a)
Question 3
This question is about sorting data in files into order.
File A: CHO, SYG, DAN, ROG, BRI File B: ADA, COU, LAC, LOV File C: HEL, SAR, PAU, GRA, CHR, STE
Part (a)
By using file A to illustrate your answer, describe how an insertion sort can be used to sort
data into alphabetical order.
[3]
Topic relevance
Why this question appears here
86% assigned-topic match · Data types and structures › Files
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 9691_w09_qp_32.pdf
