Past-paper question · 2013 May-June · Paper 13 · Q5(c)

Question 5(c) 2013 · May-June · Paper 13 · 3 marks
Reveal official mark-scheme answer

Official answer for Question 5
Part (c)
Part (c)
Any three points from:
✓
scan all the data in the array (row by row or column by column)
✓
use of for … to loops to search array
✓
check the value in each position in the array
✓
if value < = 0 then output a message and indicate position in array where erroneous data is
✓
stored
✓
use of example on exam paper: errors at: [2, 4], [2, 5], [2, 6], [3, 1] and [3, 2] would all be
✓
flagged/error message given
✓
sample algorithm showing search error indication
[3]
✓
Pa
✓
age
✓
e 7
✓
Mar
✓
M rk Sc
✓
S he
✓
eme
✓
e
✓
Syl
✓
S lab
✓
bus
✓
s
✓
Pa
✓
ape
✓
er
✓
GC
✓
G CE AS
✓
S/A
✓
A LEV
✓
L VEL
✓
L – M
✓
May
✓
y/J un
✓
ne 20
✓
2 13
✓
9 69
Question 91
Question 13
Show text version of question
Question 5
Part (c)
Question 5
A table contains the values below: For
Examiner's Use 3 4 1 4 5 3 2 1 6 -4 0 0 0 0 2 2 1 8
Part (c)
The table should only contain values greater than 0. How could any values not meeting
this criterion be located in the array, MyTable, and their position in that array identified?
[3]
Question 7
Topic relevance
Why this question appears here
71% assigned-topic match · Hardware › Logic gates and logic circuits
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_s13_qp_13.pdf
