NEW
Font size
Worksheets“Playing with Operators!”
Total questions: 10
Worksheet time: 7mins
Which operator means “greater than”?
<
>
=
What does this symbol “<” mean in programming?
Greater than
Less than
Equal to
The instruction says:
“If temperature > 30 then turn on the fan.”
If the temperature is 32, what happens?
The fan turns on
The fan does not turn on
The instruction says:
“If points = 100 then you get a star.”
If you have 99 points, what happens?
You get a star
You do not get a star
Which is the symbol for “equal to” in programming?
>
<
=
Which operator means “not equal to”?
=
≠
>
The instruction says:
“If it rains OR it is cold, I wear a jacket.”
What does “OR” mean here?
Only if it rains
If it rains or if it is cold, either one
The instruction says:
“If I am hungry AND there is food, I eat.”
What does “AND” mean here?
Only if I am hungry
Only if there is food
I need to be hungry and there must be food to eat
Which one is a logical operator?
Addition
AND
Subtraction
If you have this block:
“If number > 5” and the number is 4, is the condition true or false?
True
False
