Explain the difference between a variable and a constant in a program.
- Explain the difference between a variable and a constant in a program.[2]
Mark scheme
Marking points from the official mark scheme (May/June 2015). The mark or mark type is shown in brackets.
- [1] a variable is used to store data that can change during the running of a program
- [1] a constant is used to store data that will not be changed during the running of a program
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 →