wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

“Playing with Operators!”

Total questions: 10

Worksheet time: 7mins

Name
Class
Date
1.

Which operator means “greater than”?

a)

<

b)

>

c)

=

2.

What does this symbol “<” mean in programming?

a)

Greater than

b)

Less than

c)

Equal to

3.

The instruction says:
“If temperature > 30 then turn on the fan.”
If the temperature is 32, what happens?

a)

The fan turns on

b)

The fan does not turn on

4.

The instruction says:
“If points = 100 then you get a star.”
If you have 99 points, what happens?

a)

You get a star

b)

You do not get a star

5.

Which is the symbol for “equal to” in programming?

a)

>

b)

<

c)

=

6.

Which operator means “not equal to”?

a)

=

b)

c)

>

7.

The instruction says:
“If it rains OR it is cold, I wear a jacket.”
What does “OR” mean here?

a)

Only if it rains

b)

If it rains or if it is cold, either one

8.

The instruction says:
“If I am hungry AND there is food, I eat.”
What does “AND” mean here?

a)

Only if I am hungry

b)

Only if there is food

c)

I need to be hungry and there must be food to eat

9.

Which one is a logical operator?

a)

Addition

b)

AND

c)

Subtraction

10.

If you have this block:

“If number > 5” and the number is 4, is the condition true or false?

a)

True

b)

False