NEW
Font size
Worksheets3rd 9 Weeks Review 22-23
Total questions: 25
Worksheet time: 13mins
Random numbers will make shapes appear randomly in location and size.
True
False
Which of the following will make a sprite turn in a circle?
sprite. y
sprite.rotation
sprite.scale
sprite.x
Which of the following is used to make a sprite increase or decrease in size?
sprite.y
sprite.rotation
sprite.scale
sprite.x
Which of the following will move a sprite left or right?
sprite.x
sprite.location
sprite.rotation
sprite.y
Which of the following will make a sprite move up and down the grid?
sprite.y
sprite.rotation
sprite.scale
sprite.x
Which of the following is a character on the screen with properties that describe its location, movement, and look?
variable
property
sprite
random
How can we correct the code?
Change drink to ice cream in line 6
Change drink to sprite in line 6
Change drink to dessert in line 6
What is a variable?
a type of weather
the value of something (like a score)
a placeholder for a piece of information that changes
Which code will cause your program to run differently each time?
randomnumber
fill
background
var
Which of the following is a good variable name?
bottles of milk
bottlesofmilk
99bottlesofmilk
bottlesOf milk
Where should a fill block be placed to change the color of text or shapes?
after the shape or text
it doesn't matter
before the text or shape
What is drawn first in the code?
orange background
purple rectangle
blue rectangle
purple ellipse
Which block will draw a rectangle?
background
fill
rect
ellipse
Which block will draw an ellipse?
background
fill
rect
ellipse
Which paramters change the location of a shape on the grid?
w and h
y and w
x and h
x and y
Which parameters change the size of a shape on the grid?
x and h
x and y
w and h
y and w
What is debugging?
statements that only run under certain conditions
part of a program that does not work correctly
any valid unit of code that resolves to a value
finding and fixing problems in your program
Which block makes the screen all one color?
ellipse
background
fill
rect
Where should the background usually be placed in the code?
Line 1
Line 5
Line 10
Line 15
Which code will place the blue square at the correct position?
rect (100, 200)
rect (250, 300)
rect (350, 50)
Which code will place the red square at the correct position?
rect (100, 200)
rect (250, 300)
rect (350, 50)
Which code will place the green square at the correct position?
rect (100, 200)
rect (250, 300)
rect (350, 50)
Which block is used to make shapes and text a specific color?
fill
ellipse
background
rect
What is a bug in a program?
an algorithm coded into something that can be run by a machine
a graphic character on the screen with properties describing location, movement, look
part of a program that doesn't run correctly
the rate at which frames in an animation are shown
What will happen when "Run" is pressed?
An ellipse is placed at (400, 400)
The size of the ellipse is changed each time run is pressed.
The x location of the ellipse changes each time run is pressed.
The x and y location of the ellipse changes each time run is pressed.
