
JavaScript Operators Quiz
Authored by Danny Schell
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid value for a boolean?
True
False
Yes
The above are all valid
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the or operator in JavaScript?
OR
or
|
||
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the and operator in JavaScript?
AND
and
&
&&
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After the following code runs, what is the value of isWeekend? var isSaturday = true; var isSunday = false; var isWeekend = isSaturday || isSunday;
true
false
isWeekend
isSaturday || isSunday
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper operator for "not equals" in JavaScript?
!=!
!=, ~=, NOT EQUALS
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper way to compare if two values are equal in a boolean expression in JavaScript?
=
==
EQUALS
is
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we check if a variable num is even?
num.isEven() will be true
(num % 2 == 0) will be true
(num % 2 == 0) will be false
(num / 2 == 0) will be true
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Тривимірна графіка. Основи роботи в Blender
Quiz
•
12th Grade
20 questions
Computer parts
Quiz
•
1st - 12th Grade
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
20 questions
3°DS _AV2_R2 3TEC_PM_Programação Mobile _12_20 Quizizz
Quiz
•
11th Grade - University
17 questions
Cuestionario de Certificación JS 2024
Quiz
•
12th Grade
15 questions
1.1 Computer Systems Essential Knowledge
Quiz
•
9th - 12th Grade
20 questions
System and network support and management
Quiz
•
11th Grade - Professi...
15 questions
M2S5P1
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade