
Custom Functions in Javascript P5
Interactive Video
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Ryan Paul
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in creating a function?
Adding parameters
Writing the word 'function'
Naming the function
Returning a value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it useful to create functions?
They make code longer
They can be reused in different programs
They are only for simple tasks
They are hard to understand
3.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Are you enjoying the video lesson?
Yes
No
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'compare' function do?
Adds two numbers
Divides two numbers
Checks if one number is greater than another
Multiplies two numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the 'compare' function return if both numbers are equal?
False
The first number
True
The second number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of documenting a function?
It changes the function's output
It makes the function run faster
It is not necessary
It helps others understand what the function does
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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade