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
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
10 questions
Grade 8 - Starter
Quiz
•
8th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
NETIQUETTE
Quiz
•
7th - 8th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
10 questions
Ms Excel - Grade 8
Quiz
•
8th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
C Variables and Constants
Quiz
•
7th Grade
17 questions
Home Learning Quiz : Manajemen File
Quiz
•
7th 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
