wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CKQG_Scratch 04. Conditional statements

Total questions: 35

Worksheet time: 35mins

Name
Class
Date
1.
What will this script do?
a)
the sprite will continue moving until the sprite touches orange
b)
the sprite will only move when it is touching the colour orange
c)
The sprite will move forever
d)
the sprite will stand still
2.
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
3.
According to the image, when you click on the green flag, this sprite will....
a)
Show and when the backdrop changes, it will hide and say "Hi!"
b)
Hide and when the backdrop changes, it will show and say "Hello!"
c)
Show and when the backdrop changes, it will  change the backdrop again
d)
hide and show the Tittle
4.
What would the sprite do if touching the mouse pointer?
a)
Change the color of the sprite.
b)
Change the brightness of the sprite.
c)
Make the Sprite clickable.
d)
Make the sprite bigger.
5.
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
6.

A condition is something that is either:

a)

true or false

b)

positive or negative

c)

black or white

d)

sentences or word

7.

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

8.

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

a)

positive

b)

negative

c)

true

d)

false

9.

Which of these is a condition statement in Scratch?

a)
b)
c)
d)
10.

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

11.

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

12.

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

13.

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

a)

True

b)

False

14.

What does this algorithm mean?

a)

If touching red then go, else stop

b)

If touching red then stop, else go

15.

Which block allows me to increase the score?

a)

Set score to 0

b)

Change score by 10

16.

Where will this sprite spawn?

a)

The top half of the stage

b)

The bottom half of the stage

17.

Which blocks help us most with conditional programming? (ex: in the maze, helping the cat avoid the wall)

a)

If blocks and sensing

b)

Pick random 1 to 10

c)

Broadcasts

d)

More blocks

18.

Why won't this variable change repeatedly (more than once)?

a)

There is no change click by block

b)

There is no hat block to activate the algorithm

c)

There is no loop

d)

There is no sensing block

19.

What will this algorithm do?

a)

End the game when time runs out

b)

Start the game when time runs out

c)

End the game when time reaches 10

d)

Start the game when time reaches 10

20.

The blue "touching" statement uses a Boolean value to create a(n) ...

a)

conditional statement

b)

iteration

c)

loop

d)

algorithm

21.

___ is an expression that is either true or false.

a)

Boolean Expressions

b)

Arithmetic Expressions

c)

Mathematical Expressions

d)

Booly Expressions

22.

In scratch, any block shaped like an elongated diamond is a ______.

a)

Conditional Statement

b)

Statement

c)

Boolean Expression

d)

Loop

23.

In scratch, ___ are represented with blocks shaped like elongated circles, uniquely labeled by you.

a)

Boolean Expressions

b)

Loops

c)

Variables

d)

Statements

24.

A _____ variable can be used by all sprites.

a)

Local

b)

Global

c)

Similar

d)

New

25.

The 'Pick Random' operator selects a random number between the minimum and maximum values.

a)

True

b)

False

26.

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

a)

positive

b)

negative

c)

true

d)

false

27.

A variable like this one, can only hold one value at a time

a)

True

b)

False

28.

Variables can be used for:

a)

Keeping score

b)

Counting

c)

Controlling the flow of the program

d)

Starting a program

29.

What does this block mean?

a)

number of days = 5

b)

increase number of days by 5

c)

make the variable 'number of of days' hold a value of 5

d)

Add 5 to whatever value number of days was holding before.

30.

What does this block mean?

a)

number of days = 12

b)

increase number of days by 12

c)

make the variable 'number of days' hold a value of 12

d)

Add 12 to whatever value number of days was holding before.

31.

If this script is given to a sprite, what will the sprite say?

a)

5

b)

6

c)

30

d)

11

32.

If this script is given to a sprite, what will the sprite say?

a)

14

b)

10

c)

-10

d)

4

33.

If this script is given to a sprite, what will the sprite say?

a)

3

b)

9

c)

2

d)

8

34.

If this script is given to a sprite, what will the sprite say?

a)

3

b)

9

c)

5

d)

8

35.

If this script is given to a sprite, what will the sprite say?

a)

7

b)

9

c)

5

d)

8