
Custom Functions in Javascript P5

Interactive Video
•
Computers
•
10th Grade
•
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
Similar Resources on Wayground
9 questions
Zero Product Law and Quadratic Functions

Interactive video
•
9th - 10th Grade
10 questions
Understanding Cubic Functions and Transformations

Interactive video
•
9th - 10th Grade
7 questions
Exponential Functions and Geometric Series

Interactive video
•
9th - 10th Grade
8 questions
ChatGPT and Prompt Engineering With Advanced Data Analysis - Creating a Computer Program and Debugging

Interactive video
•
9th - 10th Grade
6 questions
Explaining if the tangent function is a continuous function or not

Interactive video
•
9th - 10th Grade
6 questions
VOICED : Portugal's Algarve, a refuge for risk-averse holidaymakers

Interactive video
•
9th - 10th Grade
8 questions
Understanding Rational Functions and Asymptotes

Interactive video
•
9th - 10th Grade
9 questions
Understanding Absolute Functions and Their Properties

Interactive video
•
9th - 10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade