Past-paper question · 2016 May-June · Paper 33 · Q5(a)(i)

Question 5(a)(i) 2016 · May-June · Paper 33 · 2 marks

Original past-paper question for 5(A)(I)
Original past-paper question for 5(A)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 5(A)(I)

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)

Mark scheme 9691_s16_ms_33.pdf →

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

Keep practising this topic