wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Conditional Statements : Quiz - 4

Total questions: 12

Worksheet time: 8mins

Name
Class
Date
1.

select the output?

a)

Hello

b)

World

c)

Hello World

d)

HelloWorld

2.

output?

a)

x

b)

x = 10

c)

10

3.

output

a)

10

b)

sum =10

c)

sum = 39

d)

sum = num3

4.

output?

a)

20

b)

13

c)

33.4

d)

num1 + num2

5.

output?

a)

ok

b)

25

c)

error

6.

output?

a)

pass

b)

fail

c)

pass

fail

7.

output?

a)

pass

b)

fail

c)

other

8.

output?

a)

Above ten,

b)

Above ten,

and also above 20!

c)

but not above 20.

d)

and also above 20!

9.

output?

a)

b is greater than a

b)

a is greater than b

c)

a and b are equal

d)

b and a are equal

10.

output?

a)

a

b)

10

c)

20

d)

b

11.

output?

a)

one

b)

two

c)

three

12.

output?

a)

one

b)

['one', 'two', 'three', 'four']

c)

['four', 'three', 'two', 'one']

d)

four