Question 5 2019 · October-November · Paper 22 · 4 marks
Reveal official mark-scheme answer

Official answer for Question 5
Question 4
- Adding the weight of each basket to the total weight as each weight is
- Total = Total + Weight
- Adding one to/incrementing the number of baskets as each weight is
- BasketCount = BasketCount + 1
Show text version of question
Question 5
and counting the number of baskets. The total weight is stored in a variable Total and the number of baskets is stored in a variable BasketCount.
Explain, including examples of programming statements, how totalling and counting could be used in this program.
Totalling .............................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Counting ...........................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Question 11
Why this question appears here
98% 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_w19_qp_22.pdf
