← AQA GCSE

Basics: AQA GCSE practice

Variables, data types, operators, input and output. 12 questions in the style of the AQA GCSE exam.

Sample questions

Which data type is the best choice for storing the value 3.75?

  1. Integer
  2. Float (real)
  3. String
  4. Boolean

What does this program print?

x = "7"
y = 3
print(x * y)
print(int(x) * y)

What is printed by `print(7 / 2)` in Python 3?

  1. 3
  2. 3.5
  3. 4
  4. 3.0