Skip to main content
O-LevelComputer ScienceProgramming2210/22 · Oct/Nov 2019 · Q66 Marks

Explain why constants, variables and arrays are used in programming. Constants Variables Arrays

  1. ConstantsExplain why constants are used in programming.[2]
  2. VariablesExplain why variables are used in programming.[2]
  3. ArraysExplain why arrays are used in programming.[2]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2019). The mark or mark type is shown in brackets.

  1. [6] Constants
  2. Two from:
  3. ∞ The value cannot be changed accidentally ...
  4. ∞ ... during the execution of the program
  5. ∞ Value only needs to be changed once if circumstances change/during the initialisation process
  6. Variables
  7. Two from:
  8. ∞ Stores a value that can change ...
  9. ∞ ... during the execution of the program
  10. ∞ Can use a variable without knowing its value
  11. Arrays
  12. Two from:
  13. ∞ A list of items of the same data type ...
  14. ∞ ... stored under a single name
  15. ∞ To reduce the number of variables used
  16. ∞ Any item can be found using an index number to show its place in the list

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, 6 marks.
Source
O-Level Computer Science, Oct/Nov 2019 Paper 2 Variant 2, question 6.

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