Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

what is a loop?

a)

The action of doing something over and over again.

b)

Moving a character up and down

c)

changing a costume

d)

Coding a background

2.

What is a variable?

a)

A label for a piece of information used in a program.

b)

A repeated sequence of code

c)

the changing of costumes for a character

d)

adding code to a character

3.

What will this code make the sprite do?

a)

Sprite will forever glide to a random position

b)

Sprite will turn 180 degrees forever

c)

Sprite will forever jump to a random position

d)

All sprites will fly left and right for 1 second

4.

What kind of command is this?

a)

Conditional If Statement

b)

a loop

c)

a forever loop

d)

A costume change

5.

which of the following is a type of Loop?

a)

If then loop

b)

For loop

c)

change loop

d)

together loop

6.
a)
Make the character spin
b)
Make the ball bounce
c)
Start the game 
d)
Add a sprite
7.
Programming languages give computers instructions
a)
True
b)
False
8.
An algorithm is..
a)
.. A set of instructions
b)
... A motion block
c)
... A character
d)
... A loop statement 
9.
A costume is 
a)
A code block
b)
A motion 
c)
A different way a sprite looks
d)
A sound 
10.
Variables are already made for you
a)
True 
b)
False 
11.
The Y axis is "Up" and "Down" 
a)
True 
b)
False 
12.
Which from the following is not a command ?
a)
forever until
b)
repeat until
c)
repeat
d)
forever
13.

An INPUT is

a)

information that goes INTO a computer or device

b)

information that comes OUT of a computer or device

14.

Which of the following is a CONDITIONAL

a)

jump 5 times

b)

if you see an arrow then jump 5 times else sit down

c)

if you see an arrow

15.

An example of an INPUT would be

a)

A ball

b)

Sound

c)

A keyboard

16.

Specific instructions given to a computer.

a)

output

b)

list

c)

rules

d)

command

17.

The following code is drawing shapes when program runs. As you learned in the class, program code is executing in a sequential manner. In the code above how many of the steps will be executed when the program runs?

a)

11

b)

12

c)

14

d)

13

18.

The following code is drawing shapes when the program runs. When the program runs, what shapes and how many of the shape will be drawn?

a)

One square

b)

Triangle

c)

Two square

d)

Two triangle

19.

What completes the following shape?

a)

Move forward by 100px, turn right by 120px, move forward by 100px

b)

Turn right by 120px, move forward by 100px, Move forward by 100px,

c)

Turn right by 120px, turn right by 120px, move forward by 100px

d)

Move forward by 100px, move forward by 100px, turn right by 120px, move forward by 100px

20.

In which maze can the zombie get the sunflower using the following code?

a)
b)
c)
d)