Past-paper question · 2002 October-November · Paper 1 · Q3(b)(ii)

Question 3(b)(ii) 2002 · October-November · Paper 1 · 2 marks

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

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9691_w02_ms_1.pdf →

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

Keep practising this topic