wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programming - Variables & Constants

Total questions: 10

Worksheet time: 4mins

Name
Class
Date
1.
Variables cannot be changed.
a)
False
b)
True
2.
Constants cannot be changed.
a)
True
b)
False
3.
Which of these values would be useful as a constant?
a)
Pi
b)
Di
c)
Ni
d)
Pie
4.
Which of these values would be used as a variable?
a)
Velocity
b)
Frequency
c)
0
d)
1
5.
The value of a constant can be changed using an expression.
a)
False
b)
True
6.
Variable names can't start with a number.
a)
True
b)
False
7.
Variable names can include spaces.
a)
False
b)
True
8.
Some specific words can't be used as variables.
a)
True
b)
False
9.
Which of the following variables names is an example of camel case?
a)
totalScore
b)
TOTALSCORE
c)
TotalScore
10.
You cannot complete an expression that mixes variables and constants.
a)
False
b)
True