Paper 2 structured question: P rogramming concepts
Description
Variable and Constant Declaration
In programming, variables are used to store data that can change, while constants are used for fixed values. For example, in Python, a variable can be declared as 'age = 25' and a constant can be declared as 'PI = 3.14'.
- a[1]
State What is the purpose of using constants in programming?
Aim for approximately 1 distinct marking point.
