Past-paper question · 2017 May-June · Paper 23 · Q1(c)

Question 1(c) 2017 · May-June · Paper 23 · 4 marks

Original past-paper question for 1(C)
Original past-paper question for 1(C)
Original past-paper question for 1(C)
Original past-paper question for 1(C)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)

Official answer for Question 1

Part (c)

✓
MyCount ← 100

Question 4

✓
WHILE MyCount < 201
✓
Output MyCount
✓
MyCount ← MyCount + 2
✓
ENDWHILE
✓
1 mark for each of the following:
✓
•
✓
Counter initialisation
✓
•
✓
While ... End loop
✓
•
✓
Method for choosing (correct range of) even numbers
✓
•
✓
Output all even numbers in the range
✓
Note: Counter variable name must be consistent
✓
9608/23
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2017
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s17_ms_23.pdf →

Show text version of question

Question 1

Part (c)

Part (c)

A common construct found in many algorithms is a loop.

Using pseudocode, write a pre-condition loop to output all of the even numbers between 99 and 201.

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

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

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

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

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

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

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

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

...............................................................................................................................................[4]

Question 4

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

Keep practising this topic