
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
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
16 questions
AI Checkpoint 1 Revision
Quiz
•
9th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 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