
Variables and Sprites
Quiz by Jessica Wallace
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
___ is an extra piece of information passed to a function to customize it for a specific need.
A ___ is a placeholder for a piece of information that can change.
According to the naming rules of Camel case, which of the following is NOT correct.Â
_____ is a graphic character on the screen with properties that describe its location, movement, and look
You can think of each randomNumber() like a _____________.
In the command randomNumber(10, 60); , the 10 and 60 are referred to as:
To add or remove optional parameters to a block, you use the _________.
If you want to create "spaces" in your variable label, you can use
Labels with multiple words can be easier to read in camelCase. A camelCase label looks like
The equal sign in a variable means
You can initialize a variable in a single command by combining the ___________ and ___________ commands.
You can assign a variable a _____________ and ______________.
When placing multiple lines of code, the bottom line of code is the ____________ item to show up on the screen.
If you want to make the width and height of an ellipse change each time you run your program, what would that look like?
What code makes a square shape move randomly on the y-coordinate each time you run the program?
To change the background color of your Game Lab grid, you use the code
If you want to rotate a sprite a 1/4 turn how many degrees would you write in the command? Provide a number only.Â
If you want a sprite to appear to have a different color overlay on top, which property would you apply to the sprite?Â
If you want your sprite to appear double the size of it's original scale what value would you use in the scale parameter?Â
Which property allows you to change the size of your sprite?Â