Skip to main content
O-LevelComputer ScienceProgramming2210/21 · May/June 2018 · Q54 Marks

Explain the difference between the programming concepts of counting and totalling. Include an example of a programming statement for each concept in your explanation.

Mark scheme

Marking points from the official mark scheme (May/June 2018). The mark or mark type is shown in brackets.

  1. [1] Totalling is used to sum a list of numbers
  2. [1] Counting is used to find how many numbers/items there are in a list.
  3. [1] Totalling example (1) e.g. Total = Total + Number
  4. [1] Counting example (1) e.g. Counter = Counter + 1

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Programming, O-Level Computer Science (syllabus 2210). Structured question, 4 marks.
Source
O-Level Computer Science, May/June 2018 Paper 2 Variant 1, question 5.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep