Past-paper question · 2012 May-June · Paper 22 · Q3(b)(iii)

Question 3(b)(iii) 2012 · May-June · Paper 22 · 7 marks

Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Reveal official mark-scheme answer Official mark-scheme answer for 3(B)(III)

Official answer for Question 3

Part (b)

(iii)

(iii)

–single output makes this appropriate

[1]

Mark scheme 9691_s12_ms_22.pdf →

Show text version of question

Question 3

Part (b)

(iii)

Question 3

[6]

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.

[1]
Topic relevance

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

Keep practising this topic