NEW
Font size
WorksheetsLesson 1: Variables (Activity)
Total questions: 13
Worksheet time: 7mins
Determines the type of data that a variable can hold
Data Type
Category Type
Variable Type
Data
a whole number that can have a positive, negative, or zero value.
Integer
String
Boolean
Float
any number, letter, space, or symbol that can be entered in a computer.
Integer
String
Character
Boolean
used to represent text.
Integer
String
Character
Float
a number that contains decimals.
Integer
String
Boolean
Float
used for creating true or false statements.
Integer
Boolean
String
Float
10 == 5 , True or False
True
False
10 >= 5 , True or False
True
False
10 == 5 && 10 <= 11 , True or False
True
False
Used to store information to be referenced and manipulated in a computer program.
Data
Variables
Box
Container
10 != 10, True or False
True
False
5 <= 5, True or False
True
False
!(2==2), True or False
True
False
