What checks a specific condition and performs a task based on the condition?
Conditionals in JavaScript

Quiz
•
Computers
•
7th - 8th Grade
•
Medium
Mr. Stevens
Used 34+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
15 questions
FSWI - CH4 T1

Quiz
•
KG - Professional Dev...
18 questions
MYP2

Quiz
•
7th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
15 questions
PENILAIAN HARIAN ALGORITMA DAN PEMROGRAMAN

Quiz
•
8th Grade
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
11 questions
Java Printing Quiz

Quiz
•
8th Grade
10 questions
Y8 Microbit Python

Quiz
•
8th Grade
12 questions
Python

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
14 questions
One Step Equations

Quiz
•
5th - 7th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade