NEW
Font size
WorksheetsCSD Unit 3 Review
Total questions: 60
Worksheet time: 43mins
Makes the sprite push the target as long as they are touching each other. The sprite keeps moving normally.
a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
Clockwise rotation change in degrees per frame of the sprite.
Velocity in the positive y direction of the sprite in pixels per frame.
Velocity in the positive x direction of the sprite in pixels per frame.
Speed Racer's mysterious older brother Racer X
Sets the collider for a sprite.
Checks if the sprite is touching the target sprite or any sprite in the target group.
Makes the sprite and the target bounce when they touch each other. Both the sprite and the target change how they are moving.
Velocity in the positive y direction of the sprite in pixels per frame.
Velocity in the positive x direction of the sprite in pixels per frame.
The velocity lost or gained by a sprite during a collision or bounce.
Displays the perimeter of the sprite's hit-box, true (the hit-box is visible) or false (the hit-box is not visible).
Makes the sprite bounce off the target when they touch each other. The target keeps moving as before.
Checks if the sprite is touching the target sprite or any sprite in the target group.
Makes the sprite and the target bounce when they touch each other. Both the sprite and the target change how they are moving.
Makes the sprite bounce off the target when they touch each other. The target keeps moving as before.
Makes the sprite push the target as long as they are touching each other. The sprite keeps moving normally.
Makes the sprite and the target bounce when they touch each other. Both the sprite and the target change how they are moving.
Sets the collider for a sprite.
Makes the sprite stop when it runs into the target. If the target is moving, it will push the sprite with it. The target keeps moving as before.
Makes the sprite push the target as long as they are touching each other. The sprite keeps moving normally.
Makes the sprite stop when it runs into the target. If the target is moving, it will push the sprite with it. The target keeps moving as before.
The debug state of the sprite, true or false.
Makes the sprite and the target bounce when they touch each other. Both the sprite and the target change how they are moving.
Makes the sprite bounce off the target when they touch each other. The target keeps moving as before.
Makes the sprite stop when it runs into the target. If the target is moving, it will push the sprite with it. The target keeps moving as before.
Makes the sprite bounce off the target when they touch each other. The target keeps moving as before.
Checks if the sprite is touching the target sprite or any sprite in the target group.
The velocity lost or gained by a sprite during a collision or bounce.
The velocity lost or gained by a sprite during a collision or bounce.
Makes the sprite stop when it runs into the target. If the target is moving, it will push the sprite with it. The target keeps moving as before.
Creates a Tigger sprite that is very bouncy, pouncy, and trouncy.
When you define a function you give a name to a set of actions you want the computer to perform. When you call a function you are telling the computer to run (or execute) that set of actions.
The common programming structure that implements "conditional statements".
Calls a user defined function that takes no parameters, and optionally generates a return value.
Calls a user defined function that takes no parameters, and optionally generates a return value.
a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.
Abstraction
A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.
When you define a function you give a name to a set of actions you want the computer to perform. When you call a function you are telling the computer to run (or execute) that set of actions.
Debugging
Finding and fixing problems in an algorithm or program.
The debug state of the sprite, true or false.
Makes the sprite bounce off the target when they touch each other. The target keeps moving as before.
If-Statement
The common programming structure that implements "conditional statements" and allows for branching.
A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.
Checks if the sprite is touching the target sprite or any sprite in the target group.
Function
A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.
A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
Checks if the sprite is touching the target sprite or any sprite in the target group.
How are shapes plotted on the screen?
with alphabet letters
with X and Y coordinates
using a touch screen
with width and height values
The x value represents...
How far away from the left of the screen
How far away from the right of the screen
How far away from the top of the screen
How far away from the bottom of the screen
The y value represents...
How far away from the right of the screen
How far away from the left of the screen
How far away from the bottom of the screen
How far away from the top of the screen
What is the origin of a square or rectangle? (What part of the square or rectangle indicate the x & y coordinates?)
The bottom right corner
The bottom left corner
The top right corner
The top left corner
What is the origin of a circle or ellipse? (What part of the ellipse or circle indicate the x & y coordinates?)
The bottom left corner
The center
The bottom right corner
The top
In this line of code:
rect(250, 100);
which number is the y value?
rect
250
100
In this line of code: rect(250, 250, 100, 50); what do 100 and 50 represent?
The x and y values
The w and h values (width & height)
Given rect(x, y, w, h); what are w and h?
width and heavy
width and tallness
width and length
width and height
The line of code: background("red"); will change what red?
Any shapes on the screen
The background
The foreground
Nothing
What line of code will change the color of any shapes coded below it?
color
rect
weight
fill
What does the randomNumber line of code do?
picks the same number every time
picks any number from zero to infinity
picks any number from the minimum and maximum that you set
it doesn't do anything
Can you use the randomNumber line of code to replace a single value, such as a y value?
Yes!
No!
This line of code does what?
var hello = 100
creates a variable
names or labels the variable "hello"
sets the value of the variable hello to 100
All three are correct
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?
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?
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.
Finding and fixing problems in an algorithm or program.
Bug
Variable
Property
Debugging
A graphic character on the screen with properties that describe its location,
Sprite
Property
Animation
Variable
A series of images that create the illusion of motion by being shown rapidly one after the other
Frame
Animation
Bug
What is x value in the following code?
rect(250, 200, 75, 225);
250
200
75
225
In which direction will the sprite move?
bee.y = bee.y + 2
left
right
up
down
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 make the sprite turn in a circle?
sprite.x
sprite.y
sprite.scale
sprite.rotation
Part of a program that does not work correctly.
Bugging
Bug
Parameter
Program
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 othe
Variable
Animation
A single image within an animation
Conditionals
Frame
Expression
The rate at which frames in an animation are shown, typically measured in frames per second
Frame
Parameter
Frame Rate
Any valid unit of code that resolves to a value.
Expression
Property
Parameter
A placeholder for a piece of information that can change.
Boolean
Variable
Abstraction
A single value of either TRUE or FALSE
Boolean
Conditionals
Expression
Yes
Statements that only run under certain conditions.
Conditionals
Scrunchies
Bugs
Any valid unit of code that resolves to a value.
Expression
Turtles
Conditional
In programming, an expression that evaluates to True or False.
No
Conditionals
Boolean Expression
The common programming structure that implements "conditional statements"
Pumpkin Spice
If-Statement
Expression
Statements that only run under certain conditions.
n i oop
Functions
Conditionals
The y value represents...
How far away from the right of the screen
How far away from the left of the screen
How far away from the corner of the screen
How far away from top to bottom of the screen
