Question 19(c)(ii) 2016 · October-November · Paper 21 · 1 mark
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 19
Part (c)
(ii)
Question 19
ENDWHILE
Question 7
The programmer decides that it would be better to write the procedure as a function. The user will now input the surname in the main program.
Write program code for the following:
State your programming language ...........................................................................................
(ii)
The additional statement required within the function body to complete the change from
a procedure to a function.
...........................................................................................................................................
.......................................................................................................................................[1]
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_w16_qp_21.pdf
