Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Javascript second quiz

Total questions: 8

Worksheet time: 5mins

Name
Class
Date
1.

what is the operator to add two numbers

a)

=

b)

-

c)

+

d)

!=

2.

what is the operator to compare something is equal to ?

a)

==

b)

=

c)

+=

d)

<

3.

what will happen when you press click me

(a)  

4.

where is the event here

a)

button

b)

onclick

c)

demo

d)

getElementbyId

5.

let x = 5 + 5;

a)

55

b)

10

6.

let y = "5" + 5;

a)

55

b)

10

7.

let z = "Hello" + 5;

a)

Hello5

b)

5Hello

8.

How many time the code will be repeated

a)

4

b)

3

c)

5