Conditionals in JavaScript
Quiz
•
Computers
•
7th - 8th Grade
•
Practice Problem
•
Medium
Mr. Stevens
Used 35+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What checks a specific condition and performs a task based on the condition?
switch statements
operators
console.log
conditional statements
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print to the console?
Time to buy!
Time to wait for a sale.
sale
Nothing, there is a syntax error on the fourth line
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print to the console?
Time to buy!
Time to wait for a sale.
sale
Nothing, there is a syntax error on the fourth line
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct syntax for the strict identity operator.
=
==
===
====
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Boolean is the name for a true/false value.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which correctly matches the logical operator with its syntax?
and - !
or - | |
not - &&
and - &&
or - | |
not - !
and - | |
or - !
not - &&
and - &&
or - !
not - | |
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For this conditional to be true....
day must be equal to Saturday and Sunday
day must be not equal to Saturday or Sunday
day must be equal to Saturday or Sunday
Create a free account and access millions of resources
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
10 questions
Microsoft Word Screen Elements
Quiz
•
6th - 7th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
13 questions
topologies
Quiz
•
7th - 8th Grade
10 questions
Check-up Exercise: Buttons
Quiz
•
7th Grade
10 questions
What is a computer?
Quiz
•
7th - 9th Grade
10 questions
For loop
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
