Past-paper question · 2024 October-November · Paper 23 · Q9

Question 9 2024 · October-November · Paper 23 · 4 marks

Original past-paper question for 9
Reveal official mark-scheme answer Official mark-scheme answer for 9

Mark scheme 0478_w24_ms_23.pdf →

Show text version of question

Question 9

A
flowchart checks that values stored in three variables are identical.

If they are different, the highest value is stored in all three variables.

START

Is A = B AND No STOP

B
= C ?

Yes

Is A >= B OR Yes

B
A
A
>= C ? C A

No

Is B >= A AND Yes A B

B
>= C ? C B

No

A
C
B
C

Identify four errors in the flowchart and suggest a correction for each error. You may label each error on the diagram with the corresponding error number.

Error 1 ..............................................................................................................................................

Correction .........................................................................................................................................

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

Error 2 ..............................................................................................................................................

Correction .........................................................................................................................................

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

Error 3 ..............................................................................................................................................

Correction .........................................................................................................................................

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

Error 4 ..............................................................................................................................................

Correction .........................................................................................................................................

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

[4]

Question 8

, ,

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

Keep practising this topic