
JavaScript Quiz
Quiz
•
Computers
•
University
•
Easy
Muhamad Gibran
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
What is the output of the following code snippet?
print(NaN === NaN);
True
False
Undefined
Error
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
How to stop an interval timer in Javascript?
clearInterval
stopInterval
clear
clearTimer
3.
MULTIPLE SELECT QUESTION
20 sec • 5 pts
What are variables? Choose two from the answers.
container for storing data
storing data values
A cupboard
hold a water in it
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What will be the output of the following code snippet?
console.log(typeof(NaN));
Number
String
Null
None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which function is used to serialize an object into a JSON string in Javascript?
parsa()
convert()
stringify()
json()
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
where id the correct place to insert a JavaScript?
<body>
<head>
<body>, <head>
html
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
How to write a try-catch block in JavaScript?
try{}catch{}
catch{}try{}
try{}catch(e){}
try(e){}catch{}
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
10 questions
Programming in C
Quiz
•
University
10 questions
CC 105 - Quiz 2 FINAL TERM
Quiz
•
University
12 questions
Programação Web - PHP
Quiz
•
University
20 questions
WML & WAP
Quiz
•
University
19 questions
Bases de Datos
Quiz
•
University
15 questions
ENGINEERING DATA ANALYSIS PRELIM
Quiz
•
University
20 questions
Comandos DDL
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
