1. What is the data type of the value null in JavaScript?

Gold batch Quiz 5

Quiz
•
Other
•
Professional Development
•
Medium

Gnaneshwar Reddy
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) "null"
b) "object"
c) "undefined"
d) "boolean"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Which of the following is a primitive data type in JavaScript?
a) Object
b) Array
c) String
d) Function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What will typeof NaN return?
a) "NaN"
b) "undefined"
c) "number"
d) "object"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which function declaration syntax is correct in JavaScript?
a) def myFunc() {}
b) function:myFunc() {}
c) function myFunc() {}
d) func myFunc() {}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. What does typeof undefined return?
a) "null"
b) "undefined"
c) "object"
d) "string"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following is not a primitive data type in JavaScript?
a) Boolean
b) String
c) Object
d) Number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What does the typeof operator return for an undeclared variable?
a) "undefined"
Error
c) "null"
d) "object"
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
PPDM - Introdução

Quiz
•
Professional Development
10 questions
IoT และโหนด -Red

Quiz
•
University - Professi...
7 questions
WEB DEVELOPMENT QUIZ

Quiz
•
Professional Development
15 questions
REV CODE

Quiz
•
Professional Development
10 questions
¿Cuánto sabemos de Node.js?

Quiz
•
Professional Development
10 questions
Basic JavaScript (Henry)

Quiz
•
Professional Development
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
Web Development 2

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade