Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

year 13 08/09/2021

Total questions: 9

Worksheet time: 3mins

Name
Class
Date
1.

Which of the following is/are strings?

a)

4

b)

4.0

c)

'4'

d)

3.9

2.

Does 100 + 30 produce a number or a string?

a)

Number

b)

String

3.

Which of this are datatype?

a)

String

b)

variable

4.

Which of this is a valid variable name in Javascript?

a)

111abc

b)

abc111

c)

abc 111

d)

abc111!

5.

Variable in JavaScript can hold ___ value at a time

a)

Multiple

b)

Double

c)

None of these

d)

Single

6.

We can declare all type of variables in JavaScript with the keyword ____

a)

var

b)

obj

c)

jvar

d)

None of these

7.

Identify the correct variable name

a)

!year13B

b)

Year13B!

c)

Year13 B !!

d)

3year1

8.

Will it rain today? will have the data type as

a)

String

b)

Boolean

c)

Numeric

9.

In the statement 2 + "10" will give the answer

a)

Null

b)

Error

c)

2

d)

12