Professional Documents
Culture Documents
1 Understanding Algorithms Mark Scheme
1 Understanding Algorithms Mark Scheme
1b
2 a, c, d
3a
4c
5 A ‘container’ used to store data that can be changed whilst a program is running.
6 A variable is used if the value will change whilst the program is running. A constant’s value
cannot be changed so it is best used for a fixed value, for example Pi.
7 A descriptive name for a variable makes the code much easier to understand.
8 A diamond.
© Pearson Education Ltd, 2020. Copying permitted for purchasing institution only. This material is not copyright free.