wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Conditional Statements

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

Will this conditional statement evaluate to true or false?

-6 != 6

a)

true

b)

false

2.

Will this conditional statement evaluate to true or false?

"cat" == "CAT"

a)

true

b)

false

3.

Will this conditional statement evaluate to true or false?

420 == 420

a)

true

b)

false

4.

Will this conditional statement evaluate to true or false?

"cough" != "cough"

a)

true

b)

false

5.

Will this conditional statement evaluate to true or false?

"Pawelski" != "pawelski"

a)

true

b)

false

6.

Will this conditional statement evaluate to true or false?

45 <= 45

a)

true

b)

false

7.

Select all the conditional statements that evaluate to true given the variables below:

x = 5

y = 6

z = 7

a)

x < 10

b)

y < x

c)

y < z

d)

x * 2 > z

e)

x == y

8.

Write a condition that checks if the string "dog" is the same as "doge".

(a)