Conditionals in JavaScript

Quiz
•
Computers
•
7th - 8th Grade
•
Medium
Mr. Stevens
Used 35+ 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
10 questions
Intro to Python

Quiz
•
8th Grade
15 questions
JavaScript Practice Quiz

Quiz
•
8th Grade
18 questions
Lesson 1.1 Statement terms Python

Quiz
•
7th - 9th Grade
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
11 questions
Coding Basics in Swift

Quiz
•
7th Grade
10 questions
Python Introduction

Quiz
•
6th - 8th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
10 questions
Algorithms

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade