wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Quiz

Total questions: 21

Worksheet time: 25mins

Name
Class
Date
1.
What is coding?
a)
A type of fish.
b)
Telling a computer what to do.
c)
It doesn't exist
d)
An error in your code
2.
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
3.
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
4.
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
5.
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
6.
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
7.
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
8.
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
9.
Which algorithm will draw the triangle correctly?
a)
Forward
Turn Left 90º
Forward
Turn Left 90º
Forward
b)
Turn Right 120º
Forward
Turn Right 120º
Forward
c)
Forward
Turn Right 120º
Forward
Turn Right 120º
Forward
d)
Forward
Turn Right 90º
Forward
Turn Right 90º
Forward
10.
In coding, what is a bug?
a)
EW! Bugs are yucky!
b)
An error in your code.
c)
A working algorithm
d)
Code that repeats over and over again
11.
Which code will draw a square?
a)
Move forward
Turn Right 90º
Move forward
Turn Right 90º
Move Forward
Turn Right 90º
Move Forward
b)
Move Forward
Turn Left 90º
Move Forward
Turn Left 90º
Move Forward
Turn Left 120º
c)
Turn Right 60º
Move Forward
Turn Left 90º
Move Forward
Move Forward
Move Forward
d)
Move Forward
Move Forward
Move Forward
Move Forward
Turn Right 90º
12.
Will sprite move from his position after this code ?
a)
Yes
b)
No
13.
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

14.
a)
0
b)
9
c)
10
d)
11
15.
a)
Make a character dance
b)
Make a sound play
c)
rotate a character
d)
chase the mouse
16.
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"
17.

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

a)

Yes

b)

No

18.
If you touched Sprite2 seven times what would your score be?
a)
5
b)
0
c)
7
d)
8
19.
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. 
20.
a)

Draw random colors

b)

Draw random shapes

c)

Noting, code is broken

d)

Draw random colors in random spots

21.

What does EDP stand for?


(Think back to our first week building robots)

a)

Electro Discharge Protection

b)

Engineering Design Process

c)

Engineering Discharge Personification

d)

Electric Design Process