
JavaScript Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Muhamad Gibran
Used 1+ times
FREE Resource
Enhance your content in a minute
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{}
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
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
CC 105 - Quiz 2 FINAL TERM
Quiz
•
University
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
20 questions
WML & WAP
Quiz
•
University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
15 questions
ENGINEERING DATA ANALYSIS PRELIM
Quiz
•
University
18 questions
Introducción a HTML
Quiz
•
University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - 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
