Search Header Logo

JavaScript Operator-Math

Authored by Marie Asuncion

Computers

9th Grade

JavaScript Operator-Math
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression? alert(12 + 6 / 2);

10

14

20

15

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly multiplies x by 4 in JavaScript?

y = x * 4;

x **= 4;

y =* 4;

x + 4 = y;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which arithmetic operator is used to find the remainder of a division operation?

d) -

c) +

b) %

a) *

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the modulo (%) operator return?

The difference of two numbers

The square of a number

The remainder of a division

The sum of two numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for division in JavaScript?

÷

/

//

%

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?