NEW
Font size
WorksheetsCSD Unit 3 Lessons 1-7
Total questions: 37
Worksheet time: 19mins
Match the code with the output
Match the code with the output
Match the code with the output
Match the code with the output
Match the code with the output
Which command matches this block of code?
Draws an ellipse onto the display centered at x and y and inscribed in a rectangle with sides length w(idth) and h(eight).
Sets the color used to fill shapes.
Returns a random number in the closed range from min to max.
Which command matches this block of code?
Creates a new sprite and assigns it to the variable specified.
Declares and assigns an initial value to a variable
Draws an ellipse onto the display centered at x and y and inscribed in a rectangle with sides length w(idth) and h(eight).
Which command matches this block of code?
Declares and assigns an initial value to a variable.
The number of times per second the screen is refreshed.
Returns a random number in the closed range from min to max.
Which command matches this block of code?
Declares and assigns an initial value to a variable.
Creates a new sprite and assigns it to the variable specified.
Shrink or grow a sprite keeping the height to width ratio the same.
Which command matches this block of code?
The number of times per second the screen is refreshed.
Shrink or grow a sprite keeping the height to width ratio the same.
Declares and assigns an initial value to a variable.
Which command matches this block of code?
Sets the color used for the background of your game.
Declares and assigns an initial value to a variable.
Sets the color used to fill shapes
Which command matches this block of code?
Draws a rectangle onto the display positioned at x and y with sides length w(idth) and h(eight).
Draws an ellipse onto the display centered at x and y and inscribed in a rectangle with sides length w(idth) and h(eight).
The number of times per second the screen is refreshed.
Which command matches this block of code?
The lines of code contained inside its block are continuously executed until the program is stopped.
Returns a random number in the closed range from min to max.
Sets the color used for the background of your game.
Which command matches this block of code?
Draws an ellipse keeping the height to width ratio the same.
Shrink or grow a sprite keeping the height to width ratio the same.
Draws a rectangle keeping the height to width ratio the same.
Which command matches this block of code?
The number of times per second the screen is refreshed.
The lines of code contained inside its block are continuously executed until the program is stopped.
Creates a new sprite and assigns it to the variable specified.
Which command matches this block of code?
Displays a group of sprites. If no parameter is specified, draws all sprites in the sketch.
Shrink or grow a sprite keeping the height to width ratio the same.
The lines of code contained inside its block are continuously executed until the program is stopped.
Part of a program that does not work correctly.
Bugging
Bug
Parameter
Program
Finding and fixing problems in an algorithm or program.
Bug
Variable
Property
Debugging
An algorithm that has been coded into something that can be run by a machine.
Parameter
Sprite
Program
Property
A graphic character on the screen with properties that describe its location,
Sprite
Property
Animation
Variable
An extra piece of information passed to a function to customize it for a specific need
Property
Variable
Program
Parameter
A placeholder for a piece of information that can change.
Parameter
Frame
Variable
Sprite
Attributes that describe an object's characteristics
Property
Variable
Bug
Parameter
A series of images that create the illusion of motion by being shown rapidly one after the other
Frame
Animation
Bug
A single image within an animation
Bug
Sprite
Frame
The rate at which frames in an animation are shown, typically measured in frames per second
Frame Rate
Program
Interest Rate
What is x value in the following code?
rect(250, 200, 75, 225);
250
200
75
225
In which direction will the sprite move?
plane.x = plane.x + 2
left
right
up
down
Which variable is named correctly?
4sides
Sidesfour
sides4
SidesFour
In which direction will the sprite move?
bee.y = bee.y + 2
left
right
up
down
What is y value in the following code?
rect(250, 200, 75, 225);
250
200
75
225
Which sprite property would you change to move the sprite from left to right?
sprite.x
sprite.y
sprite.scale
sprite.rotation
Which sprite property would you change to move the sprite from up and down?
sprite.x
sprite.y
sprite.scale
sprite.rotation
Which sprite property would you change to make the sprite grow in size?
sprite.x
sprite.y
sprite.scale
sprite.rotation
Which sprite property would you change to make the sprite turn in a circle?
sprite.x
sprite.y
sprite.scale
sprite.rotation
