Search Header Logo

Operators Java

Authored by Wilian Kamada

Computers

8th Grade

Operators Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Multiply 10 with 5, and alert the result.

alert ( 10 "?" 5)

What replace the sign "?"

+

*

/

-

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Divide 10 by 2, and alert the result:

alert ( 10 "?" 2)

What replace the sign "?"

+

*

/

-

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Alert the remainder when 15 is divided by 9, alert the result:

alert ( 15 "?" 9)

What replace the sign "?"

+

*

/

%

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the final result of number?

var number = 99;

number--;

number--;

number++;

number--;

number--;

number++;

95

94

96

97

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code evaluate to?

100 >= 99

True

False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main purpose of JavaScript?


Functionality


Styling

Structure

Nothing

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will the following code console log?

var favFood = 'pizza';

console.log('favFood');

pizza

Favfood

favFood

"pizza"

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?