wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

STEM Coding Final

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does STEM stand for?

a)

Science, Technology, Engineering, Math

b)

Students Teach Elephants Math

c)

Skills, Transfers, Education, Mental

d)

Sondra, Teresa, Eduardo, Monica

2.

In coding, a bug is

a)

A creepy crawly thing

b)

a car

c)

part of a program that does not work

d)

a song

3.

What does this code do?

a)

Move forward 1 time

b)

Moves forward forever

c)

Moves forward 5 times

d)

Moves left

4.

What does this code do?

a)

Moves forward, turns left, moves forward

b)

Moves forward 4 times and then turns left

c)

Moves forward 2 times, turns left, moves forward 2 more times

d)

Moves and turns

5.

What shape does this code make?

a)

A square

b)

A rectangle

c)

A triangle

d)

A circle

6.

How long are the sides of this shape?

a)

2 pixels

b)

150 feet

c)

150 pixels

d)

120 pixels

7.

Look at the code in the puzzle. What can you fix to get the bird to the pig?

a)

Remove a move forward block

b)

Add a move forward block

c)

Change the first turn block to left

d)

Change the second turn block to left

8.

Look a the puzzle. What can you fix in the code so the bird will make it to the pig.

a)

Change the first turn block to left

b)

Remove a move forward block

c)

Add a move forward block

d)

Change the second turn block to left

9.

Coding can be used to:

a)

program robots

b)

tell computers what to do

c)

create websites, games, and apps

d)

all of the above

10.

What will happen if this code is run?

a)

A block will be destroyed and the character will move forward

b)

A block will be destroyed, if there is lava ahead then cobblestone will be placed, then the character will move ahead

c)

A block will be destroyed and if there is lava the character will never move forward

d)

A block will be destroyed and the character will walk into lava

11.

What will happen if there is NO lava ahead?

a)

The character will move forward without placing cobblestone

b)

The character will place a cobblestone ahead

c)

The character will do nothing

12.

What will happen if this code is run?

a)

If the bee is at a flower it will get nectar, if not it will make honey

b)

If the bee is at a flower it will get nectar, if not it will do nothing

c)

If the bee is at a flower it will move forward

d)

If the bee is at a flower it will make honey, if not it will get nectar

13.

What will happen when this code is run?

a)

The farmer will move forward and then remove 1 dirt

b)

The farmer will move forward and remove dirt forever

c)

The farmer will move forward and then remove dirt until there is none left

d)

The farmer will move forward and dig a whole

14.

What would redbird do if there was a path to the right?

a)

Redbird will turn right and move forward

b)

Redbird will turn right in a circle forever

c)

Redbird will turn left and move forward

d)

Redbird will continue to move forward without turning

15.

What will happen if one of these sprouts is a pumpkin?

a)

The farmer will turn left

b)

The farmer will pick the pumpkin

c)

The farmer will move forward

d)

The farmer will not be able to pick the pumpkin and the code will fail

16.

When will the pink button stop repeating?

a)

When the farmer has reached a pumpkin

b)

When the farmer runs out of path to walk on

c)

When the farmer is done picking corn

d)

The loop will repeat forever

17.

What will happen when the function is run?

a)

The farmer will check and see if there is corn and if there is, she will pick it

b)

The farmer will move forward

c)

The farmer will pick a pumpkin

d)

The farmer will check and see if there are any vegetables (corn, lettuce, pumpkins) and if there is, she will pick them

18.

Everytime this code is run, the length will increase by ________.

a)

18

b)

90

c)

10

d)

20

19.

What numbers is this "for loop" coding for? (start at 1, end at 7, count by 2)

a)

1,5,7

b)

1,3,5,7

c)

1,2,3,4,5,6,7

d)

1,7,2

20.

What language do computer speak?

a)

English

b)

Spanish

c)

Vietnamese

d)

Code