NEW
Font size
WorksheetsIntroduction to Computing_1
Total questions: 17
Worksheet time: 9mins
Which data type is used to store:
100
Integer
Double
Boolean
String
Which data type is used to store:
TRUE
logical
Double
String
Integer
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
What data type would be the answer to the expression x < 5?
logical
Character
Real
String
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.
A variable is a named value that can be changed in the program.
False
True
What is a Float?
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.
What is a Constant?
A storage location of memory which does not change
A random area to store things in.
Something that changes
Something that can only store numbers
What is the stat type returned for this line of code: type(100/4)
Boolean
string
integer
float
What is the stat type returned for this line of code: type(100/3)
Boolean
string
integer
real
