Past-paper question · 2019 May-June · Paper 22 · Q2(a)(iii)

Question 2(a)(iii) 2019 · May-June · Paper 22 · 2 marks

Original past-paper question for 2(A)(III)
Original past-paper question for 2(A)(III)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)(III)

Official answer for Question 2

Part (a)

(iii)

✓
Type of subroutine: Function

Question 2

✓
Justification: It returns a value // assigns a value to variable Answer
✓
One mark for type
✓
One mark for justification

Mark scheme 9608_s19_ms_22.pdf →

Show text version of question

Question 2

Part (a)

(iii)

(iii)

The following pseudocode uses the subroutine DoSomething().

Answer 23 + DoSomething("Yellow")

State whether the subroutine is a function or a procedure. Justify your answer.

Type of subroutine .............................................................................................................

Justification .......................................................................................................................

...........................................................................................................................................

[2]
Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Structured programming

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 9608_s19_qp_22.pdf

Keep practising this topic