Conditional Statements

Quiz
•
Computers
•
8th Grade
•
Hard
Michelle Catarroja
Used 2+ 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
11 questions
Animation

Quiz
•
8th Grade
10 questions
Selection Control Structure Quiz

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

Quiz
•
8th Grade
11 questions
Python Week 3 Homework - Conditional Statements

Quiz
•
8th Grade
10 questions
Trắc nghiệm Pascal

Quiz
•
8th Grade
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
14 questions
Python Basics - Year 8

Quiz
•
7th - 9th Grade
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade