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
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
Similar Resources on Wayground
11 questions
Python Basics Quiz

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

Quiz
•
8th Grade
10 questions
Basic Python Programming_Class VIII

Quiz
•
8th Grade
15 questions
Gaming Lesson 2

Quiz
•
6th - 8th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
16 questions
Program Development - Python: Code Basics 1

Quiz
•
8th - 10th Grade
17 questions
Python KS3

Quiz
•
8th Grade
17 questions
Gaming Lesson 3

Quiz
•
6th - 7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade