Question 4(c)(ii) 2022 · February-March · Paper 22 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (c)
(ii)
Question 2
- after the decision box to test if the number is -1
- insert another decision box to test if the number is less than 4 / less than or equal to 3
- return to INPUT Number if true
Show text version of question
Question 4
Part (c)
(ii)
Question 4
This flowchart inputs a whole number. The function INT returns the integer value of a number. For
example, INT (7.5) is 7
An input of -1 ends the routine.
START
INPUT Number
IS Number Yes END = –1? No
IS INT(Number/D) Yes = Number/D?
No
No IS D = 1?
Yes
Yes IS C = 0? No
OUTPUT C
Question 11
(ii)
Explain how to change the flowchart to prevent this problem occurring.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.....................................................................................................................................
Question 12
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_m22_qp_22.pdf
