Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Control Structure

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

What are the three main programming structures?

a)

Sequence, selection, iteration

b)

Machine, assembly, high-level

2.

Which control structure use If ...Else statement ?

a)

Sequence

b)

Selection

3.

Which type of statement is an example of a selection programming structure?

a)

If/else

b)

While

4.

Using the Logical Operator ( OR) What is the Result in the Blank in the table

a)

0

b)

1

5.

Using the Logical Operator ( AND ) What is the Result in the Blank in the table

a)

0

b)

1

6.

Look at the decision tree and answer the question below.

What word(s) goes in position 1

a)

Can Fly ?

b)

Penguin

7.

Look at the decision tree and answer the question below.

What word(s) goes in position 2

a)

can fly ?

b)

Dolphin

8.

My weekend days are Friday ............. Saturday

a)

And

b)

Or

9.

You can use a laptop ............ ipad in Distance learning

a)

Or

b)

And

10.

We can do these things to help the environment

a)

Having long showers

b)

have shorter showers.

11.

We can do these things to help the environment

a)

Turn on the light when we leave a room

b)

Turn off the light when we leave a room