
Advanced JavaScript
Authored by Allan Saleh
Computers
Professional Development
Used 74+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Functions cannot be passed as parameters
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Callback functions are used like this
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Callback functions are more of a restriction in JS than an advantage
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following functions doesn't take a callback function as one of its parameters?
.addEventListener()
.reduce()
.splice()
.filter()
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the correct explanation of this code?
sayHi is a function that returns a string that goes into a console.log to get info
sayHi is a function that returns a string and will be executed in 1s
sayHi is a function that returns a string and gets executed in 1000ms but nothing will be printed out because we don't have console.log
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A function can be called a limited number of times
True
False
Answer explanation
The core thing that makes a function useful is the fact that you can use it an unlimited amount of times
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?