Past-paper question · 2023 May-June · Paper 23 · Q7(b)

Question 7(b) 2023 · May-June · Paper 23 · 2 marks

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

Official answer for Question 7

Part (b)

✓
One mark per mark point, max two

Question 2

✓
to find if an input is divisible by (both 5 and) 10
✓
… add them together and output the total
✓
0478/23
✓
Cambridge IGCSE – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 0478_s23_ms_23.pdf →

Show text version of question

Question 7

Part (b)

Question 7

The flowchart represents an algorithm.

An input of –1 will terminate the algorithm.

START

Total 0

INPUT Value

IS Yes Value =

  • 1 ?

No OUTPUT OUTPUT Total "Rejected" Five1 Value DIV 5

STOP Five2 Value / 5

No IS Five1 = Five2 ?

Yes

Ten1 Value DIV 10

Ten2 Value / 10

No IS Ten1 = Ten2 ?

Yes Total Total + Value

Question 7

Part (b)

Describe the purpose of the algorithm.

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

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

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

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

[2]

Question 8

Topic relevance

Why this question appears here

60% assigned-topic match · Programming › Programming concepts

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 0478_s23_qp_23.pdf

Keep practising this topic