Question 7(c)(ii) 2025 · February-March · Paper 22 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 7
Part (c)
(ii)
Question 1
Show text version of question
Question 7
Part (c)
(ii)
Question 7
This flowchart represents an algorithm.
START
OUTPUT "Continue?"
INPUT Answer
No IS Answer = Yes 'Y' ?
INPUT STOP Value1
INPUT Operator
Yes IS Operator = INPUT 'A' ? Value2 OUTPUT Value1 + No Value2
Yes IS Operator = 'S' ? OUTPUT Value1 – No Value2
Yes IS Operator = No 'M' ? OUTPUT OUTPUT Value1 * Value1 /
Value2 Value2
Question 7
, , There are problems with the given algorithm. If the lower-case letter ‘y’ is entered for Answer, the algorithm stops and if a lower-case letter is entered for Operator, the algorithm gives an incorrect output.
(ii)
Identify one more error related to inputs when the algorithm is run.
...........................................................................................................................................
.....................................................................................................................................
Question 8
, ,
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_m25_qp_22.pdf
