Conditional Statements allow you to execute specific blocks of code based on conditions.
Conditional Statements

Quiz
•
Computers
•
8th Grade
•
Hard
Michelle Catarroja
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Executes a block of code if a specified condition is true.
if statement
else statement
else if statement
switch
ternary operator
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Executes a block of code if the same condition of the preceding if statement is false.
if statement
else statement
else if statement
switch
ternary operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Adds more conditions to the if statement, allowing for multiple alternative conditions to be tested.
if statement
else statement
else if statement
switch
ternary operator
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluates an expression, then executes the case statement that matches the expression’s value.
if statement
else statement
else if statement
switch
ternary operator
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Provides a concise way to write if-else statements in a single line.
if statement
else statement
else if statement
switch
ternary operator
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if both expressions are true it returns true, otherwise it returns false. denotes as &&
AND
OR
NOT
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if one or both expressions are true it returns true, otherwise it returns false. denotes as ||
AND
OR
NOT
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
returns true for false statements and false for true statements. denotes as !
AND
OR
NOT
Similar Resources on Quizizz
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
10 questions
Selection Control Structure Quiz

Quiz
•
6th Grade - University
10 questions
Excel If function WSC 4.2.3

Quiz
•
7th Grade - University
7 questions
Java Quiz 4: Booleans and Conditional Statements

Quiz
•
6th - 12th Grade
8 questions
KS3 Computing

Quiz
•
8th Grade
10 questions
CLASS 8 - VIVA 2024-25

Quiz
•
8th Grade
13 questions
Keep It Really Safe Lego SPIKE Prime Lesson Review

Quiz
•
7th Grade - University
14 questions
Conditionals in JavaScript

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
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
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade