Question 4(b) 2022 · October-November · Paper 21 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (b)
Question 3
Show text version of question
Question 4
Part (b)
Question 4
This algorithm makes sure that there are enough fresh bread rolls available for customers to buy.
START
Stock 50 Total 0
INPUT Sold
Yes IS Sold = OUTPUT Total
- 1?
No STOP Stock Stock – Sold
Yes OUTPUT IS Stock < 20? "Add new stock"
No
Total Total + Sold Stock Stock + 50
Question 13
Part (b)
Identify the problem that will occur if the input data starts with a value of 70.
Explain how you would correct this problem.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 14
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_w22_qp_21.pdf
