NANDHOO
.
Learning Paths
Dashboard
Sign In
Home
Dashboard
Basic JavaScript: A Comprehensive Guide
Operators & Expressions
Quiz
Chapter Quiz: Operators & Expressions
Operators Challenge
Complete this assessment with 100% score to master this chapter.
01
What does the modulo operator (%) do?
Calculates percentage
Returns the remainder of division
Multiplies two numbers
Checks if numbers are equal
02
What is the difference between == and ===?
There is no difference
=== checks both value and type
== is for strings, === is for numbers
== is faster
03
What does the expression 2 + 3 * 4 evaluate to in JavaScript?
20
14
24
10
04
What does the logical OR operator (||) return when used like: false || 'hello'?
false
true
'hello'
undefined
05
Which operator is used for exponentiation (raising to a power) in modern JavaScript?
^
**
^^
pow()
Submit Answers
Back to Lesson
Next Chapter