Operators in JavaScript (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
10 questions from this quiz
ShowHide
Practise the questions
10 questions from this quiz
What two key capabilities do JavaScript operators enable?
What two key capabilities do JavaScript operators enable?
Data manipulation & decision-making
Which operator performs modulo (remainder) in JavaScript?
Which operator performs modulo (remainder) in JavaScript?
%
Which of these is NOT a comparison operator in JavaScript?
Which of these is NOT a comparison operator in JavaScript?
&&
What is the key difference between == and === operators?
What is the key difference between == and === operators?
=== checks value and type, == only value
What does the === operator check?
What does the === operator check?
Both value and type
Which operator represents logical AND in JavaScript?
Which operator represents logical AND in JavaScript?
&&
Which operator represents logical OR in JavaScript?
Which operator represents logical OR in JavaScript?
||
Which operator represents logical NOT in JavaScript?
Which operator represents logical NOT in JavaScript?
!
What is a common mistake when using comparison operators?
What is a common mistake when using comparison operators?
Misusing == and ===
Which arithmetic operators are supported in JavaScript?
Which arithmetic operators are supported in JavaScript?
+, -, *, /, %
