Worked question 3 - Year 11 Paper 4: Algorithms and Ethics
A program stores a person's height in metres as a decimal value, for example 1.75.
State the most appropriate data type for this variable, and state one other example of data that would use this data type.
Answer
Real/float; another example could be a temperature or an average, which also need decimal places
Mark scheme
| B1 | real (float) is the most appropriate data type, since the value needs decimal places |
| B1 | valid other example, for example a temperature reading, an average, or a price with pence |





