JS-QUIZ

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Asma Fathima
Used 5+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to declare a variable in JavaScript?
var
let
const
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does typeof null return?
null
object
undefined
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to convert a string into an array?
arrayify()
slice()
join()
split()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a single-line comment in JavaScript?
// comment
<!-- comment -->
/* comment */
# comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will 2 + "2" evaluate to in JavaScript?
4
22
undefined
NaN
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to parse a string into an integer?
parseInt()
parseFloat()
Number()
toInt()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does NaN stand for?
No Argument Needed
Not a Number
Number at Null
Non-Accessible Node
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade