wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Scratch-Loops and conditional statements

Total questions: 35

Worksheet time: 1hrs 10mins

Name
Class
Date
1.
Which block moves a sprite 10 points to the right, no matter which way it is facing?
a)
Change X by 10
b)
Change Y by 10
2.

Which block is best for repeating a series of costume changes in a loop?

a)

Switch costume to costume 2

b)

Next costume

3.

Which block should you use if you want players to start the program by clicking on a key?

a)

When green flag is pressed

b)

When space key is pressed

c)

When this sprite is clicked

d)

When I receive message1

4.

Which block allows me to increase the score?

a)

Set score to 0

b)

Change score by 10

5.

Where will this sprite spawn?

a)

The top half of the stage

b)

The bottom half of the stage

6.

How do I use 1 sprite to activate other sprites?

a)

Sensing

b)

More Blocks

c)

Data

d)

Broadcast

7.
What do we call the characters and objects that we can program in Scratch?
a)
Avatar
b)
Sprite
c)
Costume
d)
Stage
8.

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

9.

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

10.

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

11.

When 2 or more algorithms are synchronized to run at the same time, this is an example of...

a)

iterations

b)

parallelism

c)

peripheral devices

d)

conditional statements

12.

An algorithm is a ...

a)

step-by-step series of instructions

b)

different form of event handling

c)

parallel program

d)

conditional statement

13.

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

a)

conditional statement

b)

iteration

c)

loop

d)

algorithm

14.

In Scratch, you can use the red blocks to create custom blocks that run mini-programs, or...

a)

functions

b)

loops

c)

conditional statements

d)

iterations

15.

___ is an expression that is either true or false.

a)

Boolean Expressions

b)

Arithmetic Expressions

c)

Mathematical Expressions

d)

Booly Expressions

16.

In programming, a _________ can induce multiple executions of statements.

a)

variable

b)

loop

c)

statements

d)

condition

17.

___ category is used for moving sprites around the stage.

a)

Motion

b)

Events

c)

Control

d)

Sensing

18.

In programming, a statement is a directive that tells the computer to do something.

a)

True

b)

False

19.

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

a)

Conditional Statement

b)

Statement

c)

Boolean Expression

d)

Loop

20.

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

a)

Boolean Expressions

b)

Loops

c)

Variables

d)

Statements

21.

A _____ variable can be used by all sprites.

a)

Local

b)

Global

c)

Similar

d)

New

22.

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

a)

True

b)

False

23.
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"
24.
Performing an action depending on IF a criteria is met is called a
a)
sequence
b)
statement
c)
loop
d)
condition
25.
Repeating a statement more than once is called a
a)
loop
b)
sequence
c)
repetition
d)
event
26.
What in this picture is the condition?
a)
When flag clicked
b)
Touching paddle
c)
Forever if
d)
Move 5 steps
27.
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
28.
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
29.
In Scratch which blocks are yellow?
a)
Motion
b)
Control
c)
Sensing
d)
Variables
30.

In Scratch which blocks are blue?

a)

Control

b)

Looks

c)

Sound

d)

Motion

31.

In Scratch which blocks are purple?

a)

Sensing

b)

Looks

c)

Motion

d)

Variables

32.
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
33.
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.
34.
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
35.
To change the appearance of a sprite we can give it a different
a)
costume
b)
look
c)
style
d)
stage