
JavaScript Quiz
Quiz
•
Information Technology (IT)
•
University
•
Medium
Abhishek Swami
Used 4+ times
FREE Resource
Enhance your content
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Operating System
Quiz
•
University
20 questions
Protocolo 802.15.4
Quiz
•
University
20 questions
PTS INFORMATIKA SEMESTER GENAP
Quiz
•
8th Grade - University
20 questions
Entity Relationship Modeling Quiz
Quiz
•
University
20 questions
2F-1 | Python Quiz | 14/10/2024
Quiz
•
University
20 questions
OSS (QUIZ 7) Input/Output Systems
Quiz
•
University
20 questions
MGT334_OS Basics Questions
Quiz
•
University
18 questions
Python Library Routines Quiz
Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
18 questions
Plotting Points on the Coordinate Plane
Quiz
•
KG - University
5 questions
Declaration of Independence
Interactive video
•
4th Grade - University
