Note AcademyNote Academy

Computer Science · Oct / Nov 2022 · Paper 23 · Question 4

2210

As printed in the paper

The question as text

This algorithm makes sure that there are enough wheelbarrows in stock. START INPUT Sale Is Sale = "N"? Stock 10 Total 0 STOP Yes No OUTPUT Total OUTPUT "Add new stock" Is Stock < 5? Yes No Stock Stock – 1 Stock Stock + 10 Total Total + 1

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 4(a)[4]

  • 4(b)[3]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.