
Gold batch Quiz 5
Authored by Gnaneshwar Reddy
Other
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the data type of the value null in JavaScript?
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"
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?