Past-paper question · 2018 May-June · Paper 22 · Q2(a)

Question 2(a) 2018 · May-June · Paper 22 · 6 marks

Original past-paper question for 2(A)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)

Official answer for Question 2

Part (a)

✓
One mark per correct pair of actions, process, Input/Output, Tests (apart from

Question 6

✓
START and END) max 3
✓
One mark complete Flowlines, one mark working flowlines, one mark correct use
✓
flowchart symbols
✓
START
✓
←
✓
Count
✓
0
✓
INPUT
✓
Number
✓
Is
✓
Yes
✓
Number
✓
= 0?
✓
No
✓
Yes
✓
Is
✓
Number
✓
< 0?
✓
OUTPUT Count, "
✓
positive
✓
No
✓
numbers"
✓
← Count + 1
✓
Count
✓
END

Mark scheme 2210_s18_ms_22.pdf →

Show text version of question

Question 2

Part (a)

Draw a flowchart for an algorithm to input numbers. Reject any numbers that are negative and count how many numbers are positive. When the number zero is input, the process ends and the count of positive numbers is output.

[6]

Question 7

Topic relevance

Why this question appears here

98% assigned-topic match · Algorithm design and problem-solving

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_s18_qp_22.pdf

Keep practising this topic