WorksheetsTLE - MULTIPLE CHOICE : Q4 M1
Total questions: 10
Worksheet time: 5mins
Which of the following is not part of the three data type categories?
a. Primary data types
b. Compound data types
c. Reference data types
d. Special data types
_______ are often used in conditional testing
a. Null data types
b. String data types
c. Boolean data types
d. Number data types
The array index starts from:
a. -1
b. 0
c. 1
________ is the result of dividing a nonzero number by 0.
a. infinity
b. -infinity
c. NaN
Null value = ________
a. value undefined
b. represented using e-notation
c. no value
d. can hold only two values: true or false
The typeof operator:
a. Cannot be used without parenthesis
b. Cannot be used with parenthesis
c. Can be used with or without parenthesis
d. Can only be used without parenthesis
Composite data types:
String
Array
Unidentified
Number
Integers value will be accurate up to __ digits in JavaScript
25
30
20
15
A variable has been declared, but has not been assigned a value
Undefined data type
Null data type
Object data type
Function data type
Data type that allows us to store collections of data
Number
Array
Object
String
