
JS Function - Parameter Names
Authored by Jocelyn Hall
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a better name for apple?
boatX
boatY
boatSize
boatColor
Answer explanation
A better name for apple is boatSize
Line 27
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a better name for banana?
boatX
boatY
boatSize
boatColor
Answer explanation
A better name for banana is boatX
Line 28
text("text", x-pos, y-pos)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code respresent?
Function Definition
Function Call
Answer explanation
This is a function definition.
A function call would be
drawBoat(20, 200, 100)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is drawBoat?
Custom Function
Stored Procedure
Answer explanation
drawBoat is a Custom Function
It must be called in order to execute on the canvas.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a better name for carrot?
boatX
boatY
boatSize
boatColor
Answer explanation
A better name for carrot is boatY
Line 28
text("text", x-pos, y-pos)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?