An algorithm is written in pseudo-code below:
runnerName ← "Alex"
averageSpeed ← 5.8
OUTPUT "Do you want to continue? (Y/N)"
choice ← USERINPUT
Which of the following would be the most suitable data type for the variable averageSpeed?
Boolean
Character
Integer
Real
50 exam-style questions on AQA GCSE Computer Science Data types. Each one has a worked solution and a mark scheme showing where the marks go.