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
Conditional Statements allow you to execute specific blocks of code based on conditions.
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 Wayground
10 questions
Reference and Pointers in C++

Quiz
•
6th - 8th Grade
14 questions
Python L1

Quiz
•
8th Grade - University
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
7 questions
Conditionals and Booleans

Quiz
•
6th - 12th Grade
14 questions
Coding Conditionals

Quiz
•
6th - 8th Grade
10 questions
Operators & IF Statements

Quiz
•
7th - 8th Grade
10 questions
Programming - Selection in an Algorithm

Quiz
•
1st - 11th Grade
10 questions
Quiz#5

Quiz
•
8th 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