wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Scratch - Conditional Statement

Total questions: 25

Worksheet time: 25mins

Name
Class
Date
1.

A condition is something that is either:

a)

true or false

b)

positive or negative

c)

black or white

d)

sentences or word

2.

A conditional control block is a control block that uses a condition to determine when to __________________.

a)

close the program

b)

run its body.

c)

start executing the program

d)

finish the execution

3.

The blocks inside the conditional control will only run if the condition is: ____________

a)

positive

b)

negative

c)

true

d)

false

4.

Which of these is a conditional block?

a)
b)
c)
d)

B and C are correct

5.

Which of these is a condition statement in Scratch?

a)
b)
c)
d)
6.

When would the condition statement be true?

a)

when the shark eats the fish

b)

when the shark thinks "Yum Yum..."

c)

when the fish get ready to be eaten

d)

when the shark touches the fish

7.

This block makes the sprite move:

a)

20 steps to the left

b)

20 steps right and then 20 steps left

c)

20 steps up or down

d)

random steps right or left by 20

8.

A variable is:

a)

holder for numbers in Scratch

b)

holder for text in Scratch

c)

A storage location for data in a computer program

d)

All the above are correct

9.

A list is an arrangement of variables that can store numbers as well as strings

a)

True

b)

False

10.

A broadcast message is:

a)

a message to start the game

b)

a special code block to defreeze Scratch

c)

a special feature to trigger many events in the program

d)

a message that indicates the game is over

11.

Which keys should be necessary pressed to locate the sprite in (-40, 10)?

(i) Green flag

(ii) “a” key

(iii) “b” key

(iv) “c” key

a)

(i) and (ii)

b)

(i), (ii) and (iv)

c)

(i), (iii) and (iv)

d)

(i), (ii), (iii) and (iv)

12.

Which of the following will not cause the sprite to say “Don’t touch me!!” when we click on it?

a)

(i) and (ii)

b)

(i), (ii) and (iii)

c)

(i), (ii) and (iv)

d)

(ii), (iii) and (iv)

13.

A conditional statement controls the program to carry out specific commands when the given condition is met.

a)

True

b)

False

14.
Why won't this code continuously move the sprite when clicking the directional arrows?
a)
The "if" statements need to be inside a "forever" block
b)
The "point in directions" values need to change
c)
The "move 1 steps" commands need to be inside a "forever" block
d)
Need a 2nd "point in direction" block after "move 1 step"
15.
Performing an action depending on IF a criteria is met is called a
a)
sequence
b)
statement
c)
loop
d)
condition
16.
What in this picture is the condition?
a)
When flag clicked
b)
Touching paddle
c)
Forever if
d)
Move 5 steps
17.
What will this piece of code do?
a)
when the right arrow is pressed move the sprite to the right.
b)
when the left arrow is pressed move the sprite to the left.
c)
turn the sprite to the right.
d)
turn the sprite to the left
18.
I programmed this and it is still not working.  What do I need to do?
a)
Add a wait block.
b)
Add a show block.
c)
Add a forever loop.
d)
Add another if-then statement
19.

Variables are used to hold data that cannot change.

a)

True

b)

False

20.

Create a program with the following algorithm?

a)
b)
c)
d)
21.

What is repetition?

a)

Repetition is running

b)

Repetition is the repeating of an action

c)

Repetition is doing the things only one time

d)

Repetition is a program

22.

Algorithm is ....

a)

A character

b)

A series of steps that are followed

c)

A loop statement

d)

A motion block

23.

What will happen when the green flag is clicked

a)

the sprite will rotate 15 times

b)

the sprite will rotate 10 times

c)

the sprite will move 15 spaces

d)

the sprite will move 10 spaces

24.

Which block is used to stop all the scripts in all sprites

a)

Wait

b)

Stops all

c)

Stop

25.

All conditions are in the form of __________

a)

Hexagon

b)

Square

c)

Rectangle