Modern JavaScript from the Beginning - Second Edition - Operators

Modern JavaScript from the Beginning - Second Edition - Operators

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

This video tutorial covers various operators in JavaScript, including arithmetic, concatenation, exponent, increment, decrement, assignment, and comparison operators. It explains how each operator functions and provides examples of their usage in expressions. The tutorial also highlights the importance of understanding these operators for future topics like type coercion.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to find the remainder of a division in JavaScript?

-

+

*

%

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression 'Hello' + 'World' in JavaScript?

Hello World

HelloWorld

Hello+World

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you express 2 raised to the power of 3 in JavaScript?

2^3

2**3

2*3

2^^3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to increase a variable's value by 1?

+=

--

-=

++

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression 'x += 5' do?

Multiplies x by 5

Subtracts 5 from x

Adds 5 to x

Assigns 5 to x

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator checks both value and type equality in JavaScript?

!==

!=

===

==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the expression '10 > 5' return?

undefined

true

false

null

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?