wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code.org Game Lab

Total questions: 45

Worksheet time: 32mins

Name
Class
Date
1.

What is missing in this code block?

a)

x

b)

y

c)

width

d)

height

2.

What is the width of the rectangle?

a)

30

b)

50

c)

100

d)

150

3.

What will most likely be displayed by this code?

Hint: look at where the drawSprites is located.

a)

pig

b)

rectangle

c)

bear

d)

circle

4.

Which of the following are true about this grid:

a)

the top left is (0, 0)

b)

the bottom right is (400, 400)

c)

the bottom left is (0, -400)

d)

if I put a square at (400, 400) it will show up on the grid

5.

What coordinates would your

squares have to be placed at to

recreate this image?

a)

(0, 0) and (400, 400)

b)

(100, 20) and (400, 400)

c)

(0, 0) and (350, 350)

d)

(0, 400) and (400, 0)

6.

What can you do with the w and h in this block?

a)

Change the x position of the rectangle

b)

Change the width of the ellipse

c)

Change the height of the ellipse

d)

Nothing

7.

Which of the following is an example of an ellipse?

a)
b)
c)
d)
8.

The position of an object on a grid is represented by __ and __ coordinates.

a)

x and y

b)

w and h

c)

x and w

d)

h and y

9.

Which of the following shapes would the rect command create?

a)
b)
c)
d)
10.

Which of the following is the correct command for creating a rectangle?

a)

rect ( y, x, w, h )

b)

rect ( x, h, w, y )

c)

rect ( w, h, x, y )

d)

rect ( x, y, w, h )

11.

What will be displayed?

Hint: is there a "setAnimation" line of code?

a)

A dog

b)

A cat

c)

A rectangle

d)

Two rectangles

e)

A dog and a cat

12.

Where is (0,0) in the grid?

a)

In the top left corner

b)

In the top right corner

c)

In the bottom left corner

d)

In the middle of the grid

13.

What color is the ellipse?

a)

Gray

b)

Red

c)

Blue

d)

Red with blue border

e)

Blue with red border

14.

What is y value in the following code?

a)

250

b)

200

c)

75

d)

225

15.

What is Mr. Bush's favorite color?

a)

orange

b)

pink

c)

blue

d)

yellow

16.

Draw a portrait of Mr. Bush at work.

17.

Pick one!

a)

b)

c)

18.

Who is the best starter?

a)

b)

c)

19.

Which is better?

a)

Coke

b)

Pepsi

20.

What color is this dress?

a)

White and Gold

b)

Black and Blue

21.

What college did Mr. Bush go to?

a)

Glenville State College

b)

Concord University

c)

School of Hard Knocks

d)

University of Phoenix Online

22.

The Y axis is

a)

"Up" and "Down"

b)

"Left and Right"

23.

The X axis is

a)

"Left" and "Right"

b)

"Up and Down"

24.

Which picture will this code create?

a)

b)

c)

d)

25.

What number is blacked out?

(a)  

26.

What line of code would create this regular polygon?

a)

b)

c)

d)

27.

What is the x position of the ellipse

a)

100

b)

200

c)

300

d)

400

28.

What number could be picked for the var eyeSize?

a)

1

b)

51

c)

100

d)

22

29.

Which image would be created from this code?

a)

b)

c)

d)

30.

Which of these is the correct way to use a draw loop?

a)
b)
c)
d)
31.

Which tiles or blocks can be used to get the current position of the mouse cursor?

a)
b)
c)
d)
32.

What is wrong with this code block?

a)

It should say YELLOW in caps.

b)

It should say "yellow" in quotes.

c)

There is no fill code block in Game Lab.

d)

Yellow is not a color recognized by name.

33.

This tile represents...

a)

Greater than

b)

Less than

c)

Insert into

d)

A pointy nose

34.

Which sprite will be moving?

a)

Cow

b)

Pig

c)

Both the Cow and Pig

d)

None of them

35.

In which direction will the sprite move?

a)

left

b)

right

c)

up

d)

down

36.

What is y value in the following code?

a)

250

b)

200

c)

75

d)

225

37.

Which sprite property would you change to move the sprite from left to right?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation

38.

Which sprite property would you change to move the sprite from up and down?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation

39.

Which sprite property would you change to make the sprite grow in size?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation

40.

Which sprite property would you change to make the sprite turn in a circle?

a)

sprite.x

b)

sprite.y

c)

sprite.scale

d)

sprite.rotation

41.

What color will be displayed?

a)

Red

b)

Green

c)

Blue

d)

Yellow

42.

What is the RUN button?

a)

It allows me to play/practice my code

b)

It makes my character run.

c)

It is just a button

43.

The area where we do coding is called_________

a)

Stage

b)

Toolbox

c)

Workspace

d)

All the area

44.

Debugging means Fix The Problem

a)

True

b)

False

45.
A placeholder for a piece of information that can change.
a)
Variable
b)
Condition
c)
Program
d)
Loop