6.3.2: be able to write programs that make appropriate use of variables and constants
Keyword | Definition |
---|---|
assignment | setting the value of a variable |
constant | named value which is set once but remains the same whilst the program runs |
identifier | the name of a variable or constant |
initialisation | setting the value of a variable or constant for the first time |
naming convention | set of rules for choosing suitable variable or constant names |
value | the data stored in a variable or constant |
variable | named memory location which can store a value which can change as the program runs |