Past-paper question · 2002 October-November · Paper 1 · Q3(b)(ii)
Question 3(b)(ii) 2002 · October-November · Paper 1 · 2 marks
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 3
Part (b)
(ii)
Question 3
The algorithms shown have both been written with the intention of printing out the even numbers
from 2 to 10 inclusive.
A
X=2 B X=2
WHILE X < > 10 DO REPEAT X=X+2 X=X+2 OUTPUT X OUTPUT X ENDWHILE UNTIL X > 10 END END Modify
(ii)
Algorithm B
so that each will output the even numbers from 2 to 10 inclusive.
[2]
Question 3
Topic relevance
Why this question appears here
68% assigned-topic match · Algorithm design and problem-solving › Algorithms
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_w02_qp_1.pdf
