wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding with blocks

Total questions: 40

Worksheet time: 43mins

Name
Class
Date
1.

Doing something over and over again

a)

sequence

b)

Boolean

c)

debug

d)

loop

2.

A step-by-step procedure for solving a problem or running a program

a)

algorithm

b)

conditional statement

c)

iteration

d)

event handling

3.
A person who writes code is called a
a)
coder
b)
computer programmer
c)
technologist
d)
scientist
4.

Coding can be used to...

a)

Tell computers what to do

b)

Create games, websites, and apps

c)

Program Robots

d)

All of the above

5.
Coding is a series of commands that tells the computer what to do. 
a)
True
b)
False
6.
To code on the code.org site, you move blocks that hold code onto a workspace.
a)
True
b)
False
7.

A set of events in order

a)

sequence

b)

conditional statement

c)

iteration

d)

pseudocode

8.
An algorithm is
a)
a dance
b)
measures your heartbeat
c)
a list of steps to complete a task
d)
musical 
9.

Finding out why your code is not working.

a)

loop

b)

Boolean

c)

pseudocode

d)

debug

10.

What does the step button do?

a)

Makes you move to the right.

b)

Makes you jump.

c)

Helps you to check each step of your code.

d)

Power up.

11.

Section A

a)

Play Area

b)

Toolbox Area

c)

Workspace area

d)

Instructions area

12.

Section B

a)

Play Area

b)

Toolbox Area

c)

Workspace area

d)

Instructions area

13.

Section C

a)

Play Area

b)

Toolbox Area

c)

Workspace area

d)

Instructions area

14.

Section D

a)

Play Area

b)

Toolbox Area

c)

Workspace area

d)

Instructions area

15.

What button should you press to run the game?

a)

Run

b)

Step

c)

Instructions

16.
What can you make with programming?
a)
Games
b)
Websites
c)
Apps
d)
All of these
17.
What are statements that only run under certain conditions?
a)
Code
b)
Loop
c)
Conditionals
d)
Binary
18.

In coding an event is what?

a)

An action that causes something to happen.

b)

An item on your calendar.

c)

A way to move air.

d)

A device that blows air into your computer.

19.

A piece of code with multiple steps that have been simplified down to one command which you can easily call over and over again.

a)

digital footprint

b)

run program

c)

abstraction

d)

function

20.

Statements that can only run under certain conditions or situations such as: if the seat is taken, then move to the next available seat.

a)

conditionals (if/then statements)

b)

variable

c)

abstractions

d)

binary

21.

A letter or symbol to which a some value can be assigned.

a)

Print

b)

Variable

c)

Output

d)

Bug

22.

What is the next number in the pattern

12,6,0,-6, ?

a)

12

b)

-12

c)

0

d)

6

23.

What is the value of g?


7 + g = 19

a)

21

b)

12

c)

30

d)

-6

24.

Which of these would create a loop?

a)
b)
c)
25.

When deciding which way to code the sprite,

a)

remember, it's the the way the sprite is facing that determines the direction to choose.

b)

remember it's the same as the way you are facing that determines the direction to choose.

26.

Every time you run the program a new color is set.

a)
b)
c)
27.
The above script is added to a sprite. What happens to “Oranges” when the sprite touches to “Bowl” object?
a)
The position of “Oranges” sprite goes up 1
b)
The number of “Oranges” sprite increases 1
c)
The number of “Oranges” sprite collected is incremented 1
28.
What is the function of “point in direction” in the following script?
a)
It allows the sprite to point to the direction desired to move
b)
It allows to rotate the sprite by the selected amount
c)
It allows the sprite move 10 steps and turns 90 degrees
29.
You created  a maze game. If your character touches the walls of the maze you want your character return to starting point which is x=-225, and y= -155. Which of the script would do that?
a)
1
b)
2
c)
3
30.
You look at your friend’s Scratch project and you see the following script. What do you think happens when this script is executed?
a)
The timer starts counting 1 until 5
b)
The sprite waits 1, 2, 3, 4, or 5 seconds
c)
The maximum time the sprite to wait can be 5 seconds
31.

Which block will POINT the sprite towards the LEFT?

a)
b)
c)
d)
32.

Which of the following will move the sprite the farthest?

a)
b)
c)
d)
33.

Which reset code will put the sprite in the MIDDLE of the screen facing RIGHT?

a)
b)
c)
d)
34.

. Which of the following is TRUE about the code below?

a)

The sprite will move back and forth and bounce off the edge

b)

If you change the number in the wait block to 10, the sprite will change costumes more slowly

c)

The next costume block needs to go outside of the forever block.

d)

The code will only repeat 10 times.

35.
_____________ is a soft skill required to succeed in a computer programming career.
a)
Dancing
b)
Problem Solving
c)
Health and PE
36.
Which algorithm will get the bird to the pig?
a)
Forward
Turn Left
Forward
Forward
b)
Turn Left
Forward
Forward
Forward
c)
Forward
Turn right
Forward
Forward
37.
Which algorithm will get the bird to the pig?
a)
Forward 
Turn Left Forward
Forward
b)
Forward
Forward
Turn Left
Forward
Forward
c)
Forward
Forward
Turn Right
Forward
Forward
d)
Forward
Turn Left
Forward
Forward
38.
Which algorithm will get Scrat to the acorn?
a)
Forward
Turn Left
Forward
Turn Right
Forward
b)
Forward
Turn Left
Forward
Turn Left
Forward
c)
Forward
Forward
Turn Right
d)
Turn Left
Forward
Turn Right
Forward
39.

What is "Blockly"?

a)

The building blocks of life.

b)

How Dash and Dot talk to each other.

c)

A block-based programming language

d)

The only programming language for computers

40.

What will this program do when it is running?

a)

A. Move forward 5 times and then turn left 5 times

b)

B. Turn left and move forward 5 times

c)

C. Turn left 5 times and then move forward 5 times

d)

D. Move forward, then turn left, repeat 5 times