code.org Lessons 1-5 Assessment

QuizÂ by Alexandra Larson

Feel free to use or edit a copy

includes Teacher and Student dashboards

### Measure skillsfrom any curriculum

Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.

• edit the questions
• save a copy for later
• start a class game
• automatically assign follow-up activities based on studentsâ€™ scores
• assign as homework
• share a link with colleagues
• print as a bubble sheet

### Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

34 questions
• Q1
You can think of each randomNumber() like a _____________.
new roll of a die
fun game
mystery
lot of work
60s
• Q2
In the command randomNumber(10, 60), the 10 and 60 are referred to as
parameters
things
numbers
10 and 60
60s
• Q3
To add or remove optional parameters to a block, you use the _________.
arrow buttons
"+" and delete key
magical words of Mary Poppins
space bar
60s
• Q4
What are the optional parameters for the rect and ellipse?
w, h
w, x
x, y
y, h
60s
• Q5
The x coordinate tells how far something is from the _______ side of the display area. The y coordinate tells how far something is from the _______ of the display area.
left, top
left, bottom
right, bottom
right, top
60s
• Q6
The x and y coordinates tell it where the top left corner of the square goes in the display area.
false
true
60s
• Q7
If you want to create "spaces" in your variable label, you can use
underscores
hyphens
an ampersand
a space
60s
• Q8
Labels with multiple words can be easier to read in camelCase. A camelCase label looks like
Msalexlarson
msAlexLarson
MsAlexLarson
msAlexlarson
60s
• Q9
Variable labels
all of the above
are case sensitive and be spelled the same everywhere
cannot begin with a number
cannot include spaces
60s
• Q10
equals
is equal to
is the same as
gets the value of
60s
• Q11
You can initialize a variable in a single command by combining the ___________ and ___________ commands.
=, var
var, +
var, var
var, =
60s
• Q12
You can assign a variable a _____________ and ______________.
label, value
1, 2
bug, code
life, score
60s
• Q13
The command for variable is
var
variable
V
change
60s
• Q14
A variable is a placeholder for a piece of information that can __________.
change
seen
be debugged
disappear
60s
• Q15
This code makes a shape randomly move between what two numbers? randomNumber(30, 50)
50, 30
3, 5
40, 60
30, 50
60s

Teachers give this quiz to your class