AQA · GCSE · Computer Science · Higher
Choosing a data type for year
| film ← "Godzilla vs. Kong" |
| year ← 2021 |
| OUTPUT "Please guess a letter" |
| letter ← USERINPUT |
Which of the following would be the most suitable data type for the variable year? Shade one lozenge.
Write your answer first. You can study the marking guidance whenever you need it.
Study the marking See what earns credit and compare it with a full-mark answer.
Marking points
- 1 Selects integer as the suitable data type for year.