
Data Types in JavaScript
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two main categories of data types in JavaScript?
Static and Dynamic
Primitive and Reference
Integer and Float
String and Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in JavaScript?
Array
String
Boolean
Number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In JavaScript, what is the result of 'typeof null'?
undefined
null
string
object
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in JavaScript is used to represent a sequence of characters?
Symbol
String
Boolean
Number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a characteristic of reference data types in JavaScript?
They are accessed by reference.
They are immutable.
They are accessed by value.
They are stored on the stack.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a reference data type in JavaScript?
Number
Array
Boolean
Symbol
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'typeof' operator do in JavaScript?
Converts data types
Checks the type of a variable
Declares a variable
Assigns a value to a variable
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?