wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSD Unit 3 - Interactive Animations and Games' Assessment

Total questions: 25

Worksheet time: 25mins

Name
Class
Date
1.

How are shapes plotted on the screen?

a)

with alphabet letters

b)

with X and Y coordinates

c)

using a touch screen

d)

with width and height values

2.

The x value represents...

a)

How far away from the left of the screen

b)

How far away from the right of the screen

c)

How far away from the top of the screen

d)

How far away from the bottom of the screen

3.

The y value represents...

a)

How far away from the right of the screen

b)

How far away from the left of the screen

c)

How far away from the bottom of the screen

d)

How far away from the top of the screen

4.

What is the origin of a square or rectangle?

a)

The bottom right corner

b)

The bottom left corner

c)

The top right corner

d)

The top left corner

5.

What is the origin of a circle or ellipse?

a)

The bottom left corner

b)

The center

c)

The bottom right corner

d)

The top

6.

In this line of code:

rect(250, 100);

which number is the y value?

a)

rect

b)

250

c)

100

7.

In this line of code: rect(250, 250, 100, 50); what do 100 and 50 represent?

a)

The x and y values

b)

The w and h values

8.

Given rect(x, y, w, h); what are w and h?

a)

width and heavy

b)

width and tallness

c)

width and length

d)

width and height

9.

The line of code: background("red"); will change what red?

a)

Any shapes on the screen

b)

The background

c)

The foreground

d)

Nothing

10.

What line of code will change the color of any shapes coded below it?

a)

color

b)

rect

c)

weight

d)

fill

11.

What does the randomNumber line of code do?

a)

picks the same number every time

b)

picks any number from zero to infinity

c)

picks any number from the minimum and maximum that you set

d)

it doesn't do anything

12.

Can you use the randomNumber line of code to replace a single value, such as a y value?

a)

Yes!

b)

No!

13.

This line of code does what?

var hello = 100

a)

creates a variable

b)

names or labels the variable "hello"

c)

sets the value of the variable hello to 100

d)

All three are correct

14.

Which command matches this block of code?

a)

Creates a new sprite and assigns it to the variable specified.

b)

Declares and assigns an initial value to a variable

c)

Draws an ellipse onto the display centered at x and y and inscribed in a rectangle with sides length w(idth) and h(eight).

15.

Which command matches this block of code?

a)

Declares and assigns an initial value to a variable.

b)

The number of times per second the screen is refreshed.

c)

Returns a random number in the closed range from min to max.

16.

Which command matches this block of code?

a)

Draws an ellipse keeping the height to width ratio the same.

b)

Shrink or grow a sprite keeping the height to width ratio the same.

c)

Draws a rectangle keeping the height to width ratio the same.

17.

Which command matches this block of code?

a)

Displays a group of sprites. If no parameter is specified, draws all sprites in the sketch.

b)

Shrink or grow a sprite keeping the height to width ratio the same.

c)

The lines of code contained inside its block are continuously executed until the program is stopped.

18.

Finding and fixing problems in an algorithm or program.

a)

Bug

b)

Variable

c)

Property

d)

Debugging

19.

A graphic character on the screen with properties that describe its location,

a)

Sprite

b)

Property

c)

Animation

d)

Variable

20.

A series of images that create the illusion of motion by being shown rapidly one after the other

a)

Frame

b)

Animation

c)

Bug

21.
What is at the end of a line of code?
a)
#
b)
;
c)
)
d)
>
22.

What is x value in the following code?

rect(250, 200, 75, 225);

a)

250

b)

200

c)

75

d)

225

23.

In which direction will the sprite move?

bee.y = bee.y + 2

a)

left

b)

right

c)

up

d)

down

24.

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

25.

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