NEW
Font size
WorksheetsData Type
Total questions: 20
Worksheet time: 10mins
Which data type is used to store:
100
Integer
Double
Boolean
String
Which data type is used to store:
TRUE
Boolean
Double
String
Integer
"D"
What is a variable?
A storage location of memory which can change
A random area to store things in.
Something that changes
Something that can only store numbers
Which of these variables would use a string data type?
password
passwordSuccess (successful login)
passwordLength
What type of data would you store your age in years?
Real
Integer
String
Boolean
What data type would you store a vehicle's registration plate?
Real
String
Boolean
Integer
What type of data would you use to store whether someone wanted to sign up for promotions or not?
String
Boolean
Real
Integer
Which value is a String?
64
"cat"
True
0.5
What is an Integer?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
Which data type is used to store:
"&"
Character
String
Integer
Real
What data type would you use to record someone's height so that it could be used in a calculation?
Text
String
Numeric
Boolean
