Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code.org simple coding

Total questions: 21

Worksheet time: 11mins

Name
Class
Date
1.

A statement that only runs when certain conditions are true.

a)

Abstraction

b)

Boolean Expression

c)

Conditional

d)

Function

2.

a simplified representation of something more complex. Allows you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

a)

Abstraction

b)

Boolean Expression

c)

Conditional

d)

Function

3.

In programing,  An expression that evaluates to True or False.

a)

Abstraction

b)

Boolean Expression

c)

Conditional

d)

Function

4.

Part of a program that does not work correctly.

a)

Debugging

b)

Bug

c)

Conditional

d)

Function

5.

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

a)

Variable

b)

Conditional

c)

Property

d)

Function

6.

To make a program behave differently each time it is run you will use the code for

a)

Random Numbers

b)

Draw Loop

c)

Counter Pattern

d)

Rotation

7.

Look and the code in the image above.  What is being coded?

a)

The sprite will be scaled to be 0.5 or half of the original size.

b)

The sprite will be scaled to be 5 times the size of the original size.

c)

The sprite will rotate  .5 degrees from the original position

d)

The sprite will rotate  5 degrees from the original position

8.

Look and the code above.  Mark the Sprites that will be drawn when the code is run.

a)

Cactus

b)

Grass1

c)

Grass2

d)

Ladybug

e)

Snail

9.

 Mark each code below that will make the sprite move continuously.

a)
b)
c)
d)
e)
10.
a)

The sprite will be scaled to be 0.6 of the original size.

b)

The sprite will be be rotated 45 degrees when the program is run.

c)

The sprite will move to the left at a rate of 45 when the program is run.

d)

The sprite be placed on the screen at X=300 and Y=185.

11.

Which code below will make the sprite move diagonally across the screen continuously?

a)
b)
c)
d)
12.

Mark the code that will make the Sprite move up

a)
b)
c)
d)
13.

Mark the code that will make the Sprite move down

a)
b)
c)
d)
14.

Mark the code that will make the Sprite move left

a)
b)
c)
d)
15.

Mark the code that will make the Sprite move right

a)
b)
c)
d)
16.

The draw sprites tool does need to be inside the draw function for it to move

a)

True

b)

False

17.

The IF STATEMENT executes a block of statements if the specified condition is false.

a)

True

b)

False

18.

Keyboard input when coding requires you use the keys on the keyboard while running the program.

a)

True

b)

False

c)

Maybe

19.

The IF ELSE statement must both be false in order for it to run.

a)

True

b)

False

c)

Maybe

20.

Read the code above.  What is going to happen when the code is run?

a)

When the spacebar is pressed the gears will rotate. When the spacebar is not pressed the gears will stop.

b)

When the spacebar is pressed the gears will rotate. When the spacebar is not pressed the gears will rotate the other direction.

c)

When a key is down the gears will rotate in one direction.

d)

Click the left mouse to make the gears rotate.

21.

Match the code below with the image.

a)
b)
c)
d)