Question 4(b) 2022 · October-November · Paper 23 · 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 wheelbarrows in stock.
START
Stock 10 Total 0
INPUT Sale
Yes Is Sale = OUTPUT Total "N"?
No STOP Stock Stock – 1
Yes OUTPUT Is Stock < 5? "Add new stock"
No
Total Total + 1 Stock Stock + 10
Question 13
Part (b)
Explain how you could extend the algorithm to allow for the sale of more than one wheelbarrow
at a time.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 14
Why this question appears here
99% 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 2210_w22_qp_23.pdf
