Past-paper question · 2010 May-June · Paper 32 · Q2(b)

Question 2(b) 2010 · May-June · Paper 32 · 3 marks

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

Official answer for Question 2

Part (b)

Part (b)

-Insert first value/36721

  • Read next value and insert in correct place in list/36721, 53967
  • Repeat until no more values/24378, 36721, 53967
✓
(1 per -, )
[3]
✓
Mark Scheme: Teachers’ version
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – May/June 2010
✓
9691

Question 32

Mark scheme 9691_s10_ms_32.pdf →

Show text version of question

Question 2

Part (b)

Question 2

A company uses a computerised payroll system. Details of the work done by employees each

week are stored serially in a transaction file. This transaction file is used to create the payroll at the end of the week. It has to be sorted into the same order as the master file.

Part (b)

The following ID numbers are to be sorted into numerical order, with the smallest first.

Describe an algorithm for implementing an insertion sort on the above data.

[3]
Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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

Keep practising this topic