Past-paper question · 2015 May-June · Paper 22 · Q2
Question 2 2015 · May-June · Paper 22 · 0 marks
Reveal official mark-scheme answer
Official answer for Question 2
Question 1
mark for each error identified + suggested correction
✓
Line 1 or Large =9999:
✓
this should read Large = 0
✓
Line 3 or WHILE:
✓
this should read WHILE Counter < 30
✓
line 6 or IF:
✓
this should read IF Num > Large THEN Large = Num
✓
line 7 or Counter =…: this should read Counter = Counter + 1
[4]
Show text version of question
Question 2
Read this section of program code that should input 30 positive numbers and then output the largest number input.
1 Large = 9999
2 Counter = 0
Topic relevance
Why this question appears here
88% assigned-topic match · Programming › Programming concepts
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 2210_s15_qp_22.pdf
