wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

JavaScript Operators and Expressions Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which arithmetic operator is used for multiplication in JavaScript?

a)

%

b)

/

c)

*

d)

+

2.

What is the assignment operator that adds the right operand to the left operand and assigns the result to the left operand?

a)

++

b)

*=

c)

+=

d)

-=

3.

Which comparison operator checks if two values are equal without checking the data type?

a)

!=

b)

===

c)

><

d)

==

4.

What is the result of 10 + 5 * 2 in JavaScript?

a)

15

b)

12

c)

20

d)

25

5.

In JavaScript, which operator is used to find the remainder of a division operation?

a)

/

b)

*

c)

%

d)

#

6.

What is the result of '5' + 3 in JavaScript?

a)

8

b)

NaN

c)

53

d)

35

7.

Which comparison operator checks if two values are equal in value and data type?

a)

!=

b)

><

c)

===

d)

==

8.

Which logical operator is used to combine two conditions where both must be true?

a)

&&

b)

||

c)

!

d)

??

9.

What is the assignment operator that multiplies the right operand with the left operand and assigns the result to the left operand?

a)

*=

b)

**=

c)

x=

d)

^=

10.

Which comparison operator is used to check if two values are not equal in JavaScript?

a)

!=

b)

!==

c)

<=

d)

<