No student devices needed. Know more
93 questions
Which answer contains the code to draw this image?
Which answer shows the code to draw this image?
Which code will draw this picture?
Which code will make the plane move to the right?
What direction will the sprite in this code go?
Up and left
Up and right
Down and right
Down and left
What will franklyn look like?
Franklyn will be an old dude with glasses.
Franklyn will be a blue circle.
Franklyn will be a gray square.
Franklyn is an orange and white stripped cat.
If I wanted Franklyn to be a mermaid with orange hair, will Franklyn appear that way?
Yes, I did everything I should.
No, Franklyn is supposed to be a green monster.
Yes, but Franklyn will have purple hair.
No, I forgot to assign an animation to my sprite.
Where will Franklyn appear? (All options have Franklyn represented as a square.)
This code will draw a purple bunny. What part of the bunny will be drawn at 200, 200,
The center of the bunny.
The top left of the bunny.
The top right of the bunny.
The bottom left of the bunny.
The bottom right of the bunny.
This code will draw a pink monster. Which of the pictures is drawn correctly?
Which image will this code produce?
Which image will this code produce?
Which image will this code produce?
Why is the order of the code important?
It is important because it goes from top to bottom.
It is important because if you don't pay close attention to where you put things, you might not see all your shapes or sprites.
It is not important.
It is important because following the same order every time prevents you from making mistakes.
Will this code work? Why or why not?
Yes, it will work and make a circle on the center of your screen.
Yes it will work. It has camelCase.
No, it will not work. It has a number to start a name and spaces. It also is not case sensitive.
No, it will not work. The variables called are not the same as the variables listed by ellipse, and the rules of naming variables were not followed.
What are the rules you need to follow when naming variables?
Labels cannot include spaces. Labels cannot begin with a number.
Labels cannot include spaces. Labels cannot begin with a number. Be very careful with spelling. Labels are case sensitive.
Labels are case-sensitive. Labels need to be spelled correctly.
Labels should be in camel case. Labels should be spelled correctly. Labels cannot begin with a number.
How can you fix this code?
Call and name the variables exactly the same. Pay close attention to case and spelling. Don't start names with numbers.
Call and name the variables exactly the same. Pay close attention to case and spelling. Get rid of any spaces.
Pay close attention to case and spelling. Get rid of any spaces. Don't start names with numbers.
Call and name the variables exactly the same. Pay close attention to case and spelling. Get rid of any spaces. Don't start names with numbers.
Which of these has the x axis labeled correctly?
Which of these has the y axis labeled correctly?
What is the center of my grid?
(0, 0)
(400, 400)
(200, 200)
(250, 250)
Which of these pictures best captures the overall shape of the ellipse in this code?
Which of the numbers represents the width of the ellipse?
200
100
300
150
Which of the numbers represents the height of the ellipse?
200
100
300
150
How many 3 cent stamps are in a dozen?
What does this have to do with code?
3
4
12
Drawing in Game Lab, what is a bug?
An algorithm that has been coded into something that can be run by a machine
Finding and fixing problems in an algorithm or program
Part of a program that does not work correctly
none of the above
Drawing in Game Lab, what is debugging?
Part of a program that does not work correctly
Finding and fixing problems in an algorithm or program
An algorithm that has been coded into something that can be run by a machine
none of the above
Drawing in Game Lab, what is a program?
An algorithm that has been coded into something that can be run by a machine
Finding and fixing problems in an algorithm or program
Part of a program that does not work correctly
none of the above
Shapes and Randomization, what is a parameter?
Part of a program that does not work correctly
Finding and fixing problems in an algorithm or program
An extra piece of information passed to a function to customize it for a specific need
none of the above
Variables, what is a variable?
An extra piece of information passed to a function to customize it for a specific need
An algorithm that has been coded into something that can be run by a machine
A placeholder for a piece of information that can change
none of the above
Sprites, what is property?
A placeholder for a piece of information that can change
Part of a program that does not work correctly
Attributes that describe an object's characteristics
none of the above
Sprites, what is a sprite?
Attributes that describe an object's characteristics
A graphic character on the screen with properties that describe its location, movement, and look
Finding and fixing problems in an algorithm or program
none of the above
The Draw Loop, what is animation?
Finding and fixing problems in an algorithm or program
An algorithm that has been coded into something that can be run by a machine
a series of images that create the illusion of motion by being shown rapidly one after the other
none of the above
The Draw Loop, what is a frame?
a series of images that create the illusion of motion by being shown rapidly one after the other
A graphic character on the screen with properties that describe its location, movement, and look
a single image within an animation
none of the above
The Draw Loop, what is the frame rate?
a single image within an animation
a series of images that create the illusion of motion by being shown rapidly one after the other
he rate at which frames in an animation are shown, typically measured in frames per second
none of the above
Look at the following code. Which line should the following comment go? "Player jumps up"
Line 5
Line 11
Line 14
Line 17
Line 19
Look at the following code. Which line should the following comment go? "Fall down"
Line 5
Line 11
Line 14
Line 17
Line 19
Look at the following code. Which line should the following comment go? "Shake back and forth"
Line 5
Line 11
Line 14
Line 17
Line 19
Look at the following code. Which line should the following comment go? "Give the bubble an outline"
Line 5
Line 11
Line 14
Line 17
Line 19
Look at the following code. Which line should the following comment go? "Bubble floats up"
Line 5
Line 11
Line 14
Line 17
Line 19
A team is making a platform jumper game. The background and platforms are working, but the main character won't appear. What might be the problem?
3 only
1 and 2
1 and 3
2 and 3
1, 2 and 3
Consider the following program (blocks and text)...What is the apple's x position at the end of this program?
20
90
110
There will be two apples in two different positions.
None, because the program will have an error.
Which of the following tests will be true given x is 20?
x != 20
x > 25
x < 25
x == 25
How many stars will this code draw?
0
1
2
3
The picture is an example of...
Loop
Variable
Conditional Statement
Condition
A placeholder for a piece of information that can change is a:
property
debugging
variable
parameter
A graphic character on the screen with properties that describe its location, movement, and look is a:
parameter
variable
sprite
program
An extra piece of information that you pass to the function to customize it for a specific need is a:
frame rate
animation
sprite
parameter
A series of images that create the illusion of motion by being shown rapidly one after the other is:
animation
parameter
abstraction
frame rate
Which of the following is correct code for declaring a variable?
height = 45;
var height;
var height = createSprite (50, 100);
variable = height;
Which of these would be a useful way to make an image fly across the screen, to count down a timer, or to keep track of clicks?
draw sprite
counter pattern
variable
text
Which one of these comparison operators means " greater than or equal to"?
>=
==
<=
!=
The randomNumber( ) block can be used to:
Find and fix problems in your algorithm or program.
Generate images.
Hold a place for a piece of information that can change.
Generate random numbers in your programs.
In Game Lab, animations are:
Find and fix problems in your algorithm or program.
Where you can import or draw animations for your sprites.
A placeholder for a piece of information that can change.
Drawings/ images you can use to change the look of sprites.
What is the best definition for a 'sprite'?
To find and fix problems in your algorithm or program.
A graphic character with descriptive properties.
A placeholder for a piece of information that can change.
Attributes that describe an object's characteristics.
What is the best definition for a 'property'?
To find and fix problems in your algorithm or program.
A graphic character with descriptive properties.
A placeholder for a piece of information that can change.
Attributes that describe an object's characteristics.
What is the best definition for a 'variable'?
To find and fix problems in your algorithm or program.
A graphic character with descriptive properties.
A placeholder for a piece of information that can change.
Attributes that describe an object's characteristics.
What is the best definition for a 'parameter'?
To find and fix problems in your algorithm or program.
Part of a program that does not work correctly.
An extra piece of information that you pass to the function
An algorithm that can be run by a machine.
What is the best definition for a 'program'?
To find and fix problems in your algorithm or program.
Part of a program that does not work correctly.
An extra piece of information that you pass to the function.
An algorithm that can be run by a machine.
What does it mean to 'debug' (verb)?
To find and fix problems in your algorithm or program.
Part of a program that does not work correctly.
An extra piece of information that you pass to the function.
An algorithm that can be run by a machine.
What is a 'bug' when relating the word to computer science?
An insect with 4 or 8 legs.
Part of a program that does not work correctly.
An extra piece of information that you pass to the function.
An algorithm that can be run by a machine.
What type of code block is this?
loop
variable
conditional statement
condition
Select the correctly written custom reporter block named "Classification". It should takes one argument "grade" and returns "Freshman" if equal to 9, "Sophomore" if equal to 10, "Junior" if equal to 11, "Senior" if equal to 12, or "Error" if none of these grades.
What happens in this code?
nothing is shown, there are no sprites
the background is white and we can't see anything because the textsize is 0;
the background is white, the counter increases in size as the counter increase.
the background is white, and we see a number that goes up but the textsize stays the same.
What code do we add to make the elephant push the hippo off the screen?
In which direction will the sprite move?
plane.x = plane.x - 2
left
right
up
down
In which direction will the sprite move?
bee.y = bee.y + 2
left
right
up
down
What is x value in the following code?
rect(250, 200, 75, 225);
250
200
75
225
What is width of the rectangle in the following code?
rect(250, 200, 75, 225);
250
200
75
225
What is y value in the following code?
rect(250, 200, 75, 225);
250
200
75
225
What is height of the rectangle 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
Which variable is named correctly?
BlueFish
Bluefish
blueFish
BLUEFISH
Explore all questions with a free account