Past-paper question · 2011 October-November · Paper 11 · Q5(a)(ii)

Question 5(a)(ii) 2011 · October-November · Paper 11 · 4 marks
Reveal official mark-scheme answer

Official answer for Question 5
Part (a)
(ii)
(ii)
INPUT ITEM
✓
FOR I = 0 TO END_OF_ARRAY
✓
IF ARRAY (I) = ITEM THEN 'FOUND', END
✓
NEXT I
✓
REPORT 'NOT FOUND'
✓
Mark points:
- Identify item to be found
- Loop with suitable condition
- Condition statement correctly structured with suitable condition
- Error condition reported
✓
(1 per –, max 4, accept any form of presentation of mark points)
[4]
✓
© University of Cambridge International Examinations 2011
✓
Mark Scheme: Teachers’ version
✓
Syllabus
✓
Paper
✓
GCE AS/A LEVEL – October/November 2011
✓
9691
Question 11
Show text version of question
Question 5
Part (a)
(ii)
(ii)
Explain how a simple serial search can be carried out to locate a specific item in a
one-dimensional array.
[4]
Topic relevance
Why this question appears here
71% assigned-topic match · Data types and structures › Arrays
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_w11_qp_11.pdf
