Past-paper question · 2022 May-June · Paper 22 · Q4(c)

Question 4(c) 2022 · May-June · Paper 22 · 1 mark

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

Official answer for Question 4

Part (c)

✓
updating the Serve variable // Serve Serve + 1

Question 1

✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s22_ms_22.pdf →

Show text version of question

Question 4

Part (c)

Question 4

This algorithm checks the temperature of hot food being served to customers.

Error

START

Counter 0 Hot 0 Cold 0 Serve 0

INPUT Temp

Is Temp Yes Error = –1? ((Hot + Cold) / Counter) * 100

No

Is Temp Yes OUTPUT Hot Hot + 1 > 86? "Too Hot"

Counter No Counter + 1 OUTPUT Error Is Temp Yes Cold Cold + 1 < 63? No OUTPUT Serve Serve + 1 "Too Cold" END

Question 11

Part (c)

Identify the process in the algorithm that is not required.

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

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

[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_s22_qp_22.pdf

Keep practising this topic