wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding

Total questions: 35

Worksheet time: 31mins

Name
Class
Date
1.

Which of these would create a loop?

a)
b)
c)
2.

Code that makes the sprite create the same movements over and over again is called:

a)

Variable

b)

Conditional

c)

Loop

3.

Coding the sprite to go back

a)
b)
c)
d)
4.

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.

5.

Every time you run the program the color changes

a)
b)
c)
6.

Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.

a)

Command

b)

Run Program

c)

Algorithm

d)

Block-based programming language

7.

A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

a)

Debugging

b)

Event

c)

Algorithm

d)

Run Program

8.

An error in a program that prevents the program from running as expected

a)

Event

b)

Bug

c)

Bit

d)

Loop

9.

The language that programmers create and use to tell a computer what to do

a)

Code

b)

Command

c)

Run Program

d)

BINARY

10.

Statements that only run under certain conditions

a)

Block-based programming language

b)

Conditionals

c)

If-Statement

d)

Run Program

11.

Finding and fixing problems in an algorithm or program

a)

Debugging

b)

Conditionals

c)

Run Programs

d)

Algorithms

12.

Cause the computer to execute the commands you've written in your program

a)

ASCII

b)

Run Program

c)

Debugging

d)

Conditionals

13.

The action of doing something over and over again

a)

Block-based programming language

b)

Loop

c)

Bug

d)

Debugging

14.

The common programming structure that implements "conditional statements"

a)

Bug

b)

Debugging

c)

If-Statement

15.

A way of representing information using only two options

a)

BINARY

b)

Code

c)

Loop

d)

Conditionals

16.

An instruction for the computer. Many commands put together make up algorithms and computer programs.

a)

Algorithm

b)

If-Statement

c)

Loop

d)

Command

17.

An action that causes something to happen

a)

ASCII

b)

Event

c)

BINARY

d)

Bit

18.

What is defined as a set of instructions for solving a problem.

a)

Algorithm

b)

Problem

c)

Data

d)

Program

19.

What is the action or process of writing computer programs.

a)

Programming

b)

Data

c)

Algorithm

d)

Program

20.
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
21.
What is an Algorithm?
a)
Runs a block of code over and over again
b)
A step-by-step set of rules or instructions
c)
A single action for the computer to perfom
d)
Error on your code
22.
What does a For Loop do in coding?
a)
It how you tie your shoes
b)
Tells you where the bugs are in your code
c)
Runs code over and over again for a set number of times
d)
It's how you write code when you're hungry
23.
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
24.
What does debugging mean?
a)
Fixing errors in your code
b)
Specific actions for the computer to do
c)
Telling a computer what to do
d)
Eating bugs
25.
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
26.
Which algorithm will get the bird to the pig?
a)
Forward
Turn Left
Forward
Turn Right
Forward
b)
Forward
Forward
Turn Left
Forward
Forward
c)
Forward
Turn Right
Forward
Turn Left
Forward
d)
Turn Left
Forward
Forward
Turn Right
27.
Will sprite move from his position after this code ?
a)
Yes
b)
No
28.
a)

make sprite run when distace is close

b)

broadcast RUN when distance is close

c)

move 10 steps then stop

d)

move until touching Sprite2

29.
a)
0
b)
9
c)
10
d)
11
30.
a)
Make a character dance
b)
Make a sound play
c)
rotate a character
d)
chase the mouse
31.
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"
32.

When the backdrop is set to town, is this sprite visible?

a)

Yes

b)

No

33.
If you touched Sprite2 seven times what would your score be?
a)
5
b)
0
c)
7
d)
8
34.
What will the cat say when this script is run?
a)
Have a nice day. (only)
b)
Here's some fruit. (only)
c)
Here's some fruit. Have a nice day. 
d)
You can't have any. Have a nice day. 
35.
a)

Draw random colors

b)

Draw random shapes

c)

Noting, code is broken

d)

Draw random colors in random spots