Font size
WorksheetsCode.org Unit 3 Assessment Lessons 3-9
Total questions: 18
Worksheet time: 17mins
In which corner, will the square in line 1 be located on the coordinate plane?
upper left
In which corner, will the square in line 2 be located in the coordinate plane? (a)
The code has to appear in a certain order for the blue and green box to appear layered. The (a) code will have to appear 1st and the (b) code will appear 2nd.
Which line of code would you expect to find the purple square? Remember the purple square is layered on top of the 4 circles. (a)
Reorder the following sets of code so the yellow ellipse is behind the green ellipse. Hint: x, y, w, h will help with placing the ellipses.
You have been asked to make the background blue for this set of code. The code for the background would appear on line (a) because the background is behind the ellipses.
There are 3 conditions for creating a variable label. Choose all 3 below.
Labels can't have spaces.
Labels can't have symbols
Labels can't start with a number.
Capitalization and spelling must be the same.
Why will this code not run?
there has to be a number in the variable
there are supposed to be no spaces in the variable label
there are no caps in variables
Why is the randomNumber block useful in coding?
the random numbers will cause the code to spin
the random numbers will cause the sprite to change colors
random numbers can cause the sprite to change depending on which parameter it has been placed into
There will be (a) different sets of text that will appear in (b) different places.
What does this block do in code.org?
(a)
Which line of code is most likely to return an error?
What is a reason to include comments in a program?
Comments tell the computer what the code is doing.
Comments tell the programmer what the code is doing & why.
Comments will tell the program how to fix bugs.
Comments will help find bugs in the program.
A label for a piece of information used in a program.
Property
Variable
initialize
command
variable
A graphic character on the screen with properties that describe its location, movement, and look.
a series of images that create the illusion of motion by being shown rapidly one after the other
a single image within an animation
A placeholder for a piece of information that can change.
What is x 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
What is width of the rectangle in the following code?
rect(250, 200, 75, 225);
250
200
75
225
