wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Control Structure

Total questions: 11

Worksheet time: 4mins

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.

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

a)

0

b)

1

4.

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

a)

0

b)

1

5.

Look at the decision tree and answer the question below.

What word(s) goes in position 1

a)

Can Fly ?

b)

Penguin

6.

Look at the decision tree and answer the question below.

What word(s) goes in position 2

a)

can fly ?

b)

Dolphin

7.
What is the Output if the user enters:
Yes
a)
Leave umbrella at home
b)
Take an umbrella
8.
What type of flowchart is shown here?
a)
selection
b)
iteration / loop
c)
sequence
9.
What type of flowchart is shown here?
a)
selection
b)
iteration / loop
c)
sequence
10.

In Sequential control structure

a)

Code is executed (run) line by line

b)

Statements are executed (run) according to the conditional statement ( num > 9)

c)

Code is repeated set number of time

11.

How well did you understand the three control structures in a programming language?

a)

Excellently!

b)

Very Good!

c)

Good!

d)

Need to restudy the topic.