Past-paper question · 2018 October-November · Paper 22 · Q5(b)

Question 5(b) 2018 · October-November · Paper 22 · 1 mark

Original past-paper question for 5(B)
Original past-paper question for 5(B)
Original past-paper question for 5(B)
Reveal official mark-scheme answer Official mark-scheme answer for 5(B)

Official answer for Question 5

Part (b)

✓
Any one from:

Question 1

✓
Cannot add more water if the water is too deep
✓
No validation e.g. allows a negative height/depth/amount of chlorine
✓
Tells you to add chlorine when there is no water
✓
Runs only once
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
October/November 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_w18_ms_22.pdf →

Show text version of question

Question 5

Part (b)

Question 5

The flowchart checks the level of chlorine and the depth of water compared to the height of the

swimming pool. Error messages are output if a problem is found.

START

INPUT Height, Depth, Chlorine

OK True

OUTPUT Is Depth > Yes "Water too Height/2 ? deep"

No OUTPUT Is Depth < Yes "Water too Height/3 ? shallow"

No OK False

Yes OUTPUT "Too Is Chlorine much chlorine >3 ? add more water" No

OUTPUT "Too Yes little chlorine Is Chlorine <1 ? add more chlorine" No

No Is OK = True ?

Yes

OUTPUT "Pool OK to use"

END

Question 11

Part (b)

Identify a problem with the algorithm that the flowchart represents.

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

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

[1]

Question 12

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

Keep practising this topic