Past-paper question · 2016 May-June · Paper 33 · Q5(a)(i)
Question 5(a)(i) 2016 · May-June · Paper 33 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 5
Part (a)
(i)
Part (a)
(i)
[2]
✓
Variable
✓
Data Type
✓
Description
✓
i
✓
INTEGER
✓
Loop counter
✓
Flags to TRUE when item
✓
BOOLEAN
✓
IsFound
✓
found
✓
1 mark per (Identifier name + Data type + Description)
Show text version of question
Question 5
Part (a)
(i)
Question 5
A program will use the following array MyList with the integers shown:
MyList 1 2 3 4 5 6 7
A
sequential search algorithm is to be coded to find the number input by a user.
(i)
Complete the identifier table:
Variable Data type Description
MyList ARRAY[1 : 7] OF INTEGER The given list of numbers
SearchItem INTEGER The number input
[2]
Topic relevance
Why this question appears here
71% assigned-topic match · Programming › Programming basics
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_s16_qp_33.pdf
