Question 3(b)(iii) 2012 · May-June · Paper 22 · 7 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (b)
(iii)
(iii)
–single output makes this appropriate
Show text version of question
Question 3
Part (b)
(iii)
Question 3
Question 6
Question 2
Philipe is trying different ways of designing the process of entering data into an array. For He declares a variable called ArraySize and sets it to 3. Examiner's Use He declares an array Number[ArraySize]. He then writes the following pseudocode. Element ← 1 WHILE Element < ArraySize DO INPUT Number[Element] Element ← Element + 1 ENDWHILE
Part (b)
She writes this code as the function JoinStrings because it is to be used several
For times. Examiner's Use
(iii)
State why Gina used a function rather than a procedure.
Why this question appears here
82% 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_s12_qp_22.pdf
