
JavaScript Quiz
Authored by Abhishek Swami
Information Technology (IT)
University
Used 4+ 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
1 min • 1 pt
What is the main difference between let and const?
let is block-scoped, const is global-scoped
let can be reassigned, const cannot
let creates immutable variables, const creates mutable ones
let is function-scoped, const is block-scoped
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method is used to make HTTP requests with Axios?
axios.get()
axios.fetch()
axios.request()
axios.http()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will this code output? console.log(typeof null);
"null"
"object"
"undefined"
"string"
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is an example of a recursive function?
function countdown(num) {
if (num <= 0) return;
console.log(num);
countdown(num - 1);
}
Yes
No
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a valid HTTP method?
PATCH
FETCH
PUT
DELETE
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of JSON.parse()?
Converts an object to a string
Parses a string into a JSON object
Fetches data from an API
Validates JSON syntax
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a higher-order function?
A function that only works with arrays
A function that returns an object
A function that takes another function as an argument or returns a function
A function that executes immediately
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?
Similar Resources on Wayground
15 questions
ITEC 70: Multimedia Quiz 1
Quiz
•
University
20 questions
Eva_Est_P1_11_PMV
Quiz
•
4th Grade - University
20 questions
Digitalization and Development
Quiz
•
University
15 questions
KUR EVENT
Quiz
•
11th Grade - University
15 questions
Dispositivos de Red
Quiz
•
University
15 questions
Module 5: Creating Dynamic Web Pages with Scripting
Quiz
•
University
17 questions
Latihan Soal Informatika
Quiz
•
8th Grade - University
20 questions
Understanding Database Technologies, Relational Model, and Data
Quiz
•
University
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
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University