Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

TLE - MULTIPLE CHOICE : Q4 M1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following is not part of the three data type categories?

a)

a. Primary data types

b)

b. Compound data types

c)

c. Reference data types

d)

d. Special data types

2.

_______ are often used in conditional testing

a)

a. Null data types

b)

b. String data types

c)

c. Boolean data types

d)

d. Number data types

3.

The array index starts from:

a)

a. -1

b)

b. 0

c)

c. 1

4.

________ is the result of dividing a nonzero number by 0.

a)

a. infinity

b)

b. -infinity

c)

c. NaN

5.

Null value = ________

a)

a. value undefined

b)

b. represented using e-notation

c)

c. no value

d)

d. can hold only two values: true or false

6.

The typeof operator:

a)

a. Cannot be used without parenthesis

b)

b. Cannot be used with parenthesis

c)

c. Can be used with or without parenthesis

d)

d. Can only be used without parenthesis

7.

Composite data types:

a)

String

b)

Array

c)

Unidentified

d)

Number

8.

Integers value will be accurate up to __ digits in JavaScript

a)

25

b)

30

c)

20

d)

15

9.

A variable has been declared, but has not been assigned a value

a)

Undefined data type

b)

Null data type

c)

Object data type

d)

Function data type

10.

Data type that allows us to store collections of data

a)

Number

b)

Array

c)

Object

d)

String