Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Review: Sprites & properties

Total questions: 24

Worksheet time: 36mins

Name
Class
Date
1.

What is the (x, y) location of the palette?

a)

(0, 0)

b)

(200, 200)

c)

(100, 300)

d)

(300, 100)

e)

error

2.

What is cowSmall.scale=?


var cowBig = createSprite(150, 150);

cowBig.setAnimation("cow");

cowBig.scale = 1;

var cowSmall = createSprite(250, 250);

cowSmall.setAnimation("cow");

cowSmall.scale = ?;

a)

0.5

b)

1.0

c)

1.5

d)

2.0

e)

None of the above

3.

A graphic character on the screen with properties that describe its location, movement, and look.

a)

Frame Rate

b)

DrawLoop

c)

Property

d)

Sprite

4.

If you wanted to make a sprite twice as big as it currently looks which code would you use?

a)

sprite.y

b)

sprite.scale

c)

sprite.rotation

d)

sprite.setAnimattion

5.

What is the name of the sprite variable in the code pictured? (Click on picture to enlarge.)

a)

fly

b)

ladybug

c)

bug

d)

space

6.

The block of code in this image

a)

Creates a sprite

b)

transforms a sprite from a gray square into a picture of a mouse

c)

changes the size of a sprite

d)

changes the x position of a sprite

7.

What is the NAME and starting Y LOCATION of this sprite?

a)

dog, 150

b)

dog, 350

c)

fido, 150

d)

fido, 350

8.

What is the name of the ANIMATION (not the sprite) used in this block of code?

a)

dog

b)

fido

c)

sprite

d)

150

9.

Which line of code creates a sprite?

a)

Line 1

b)

Line 2

c)

Line 8

d)

Line 9

10.

A student wants to make a sprite appear. The students begins with "var sprite = createSprite(200,300)". What is the next step?

a)

Add a "drawSprites" command

b)

Add a "sprite.setAnimation" command

c)

Add a "sprite.x" command

d)

Add a "sprite.y" command

11.
Which command does this create
ellipse()
a)

circle

b)
 rectangle
c)
triangle 
d)
none of the above
12.
Which shape does this command create
rect()
a)
rectangle
b)
oval
c)
triangle
d)
none of the above
13.
What does the fill command do
a)
Fill a shape with  color
b)
Fill a shape with other shapes
c)
Adds a border to your shape
d)
none of the above
14.
How many Sprites are drawn with this code
var sprite = createSprite(300, 100);
sprite.setAnimation("Bunny");
drawSprites();
var sprite1 = createSprite (300, 200);
sprite1.setAnimation("Chick");
a)
1
b)
2
c)
3
d)
4
15.
What is the command name of variable?
a)
Variable
b)
Size
c)
Var
d)
X
16.
What is the x position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
17.
What is the y position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
18.
A block that can be used to generate random numbers in your program called?
a)
RandomNumber()
b)
randomNumber()
c)
randomnumber()
d)
Randomnumber()
19.
What is the height position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
20.
What is the width position in the following code: 
rect (200, 150, 50, 350);
a)
1st position
b)
2nd position
c)
3rd position
d)
4th position
21.
What does sprite.y do?
a)
Moves the sprite on the y axis
b)
Moves the spite on the x axis
c)
Moves the sprite of both y and x axis
d)
Moves the sprite in a circle
22.
What does sprite.x do?
a)
Moves the sprite on the y axis
b)
Moves the spite on the x axis
c)
Moves the sprite of both y and x axis
d)
Moves the sprite in a circle
23.
What does "sprite.scale" do?
a)
It controls the sprite's X position.
b)
It controls the sprite's Y position.
c)
It controls the size of the sprite.
d)
It controls the sprite's rotation.
24.
What does the "DrawSprites" function do?
a)
It draws all sprites defined by a variable.
b)
It draws all the sprites in the animation tab.
c)
It draws a spooky ghost.
d)
It defines all the sprites in the animation tab.