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
13 questions
CTE Information Technology Quiz

Quiz
•
7th - 9th Grade
9 questions
Highlands Computing: Y9 W02 Homework

Quiz
•
8th Grade
10 questions
Вспоминаем условный оператор

Quiz
•
8th - 10th Grade
7 questions
Karel Programming Drill

Quiz
•
8th Grade
10 questions
ASK Tingkatan 2 - Struktur Kod Arahan

Quiz
•
8th Grade
12 questions
Алгоритми з розгалуженнями

Quiz
•
8th Grade
10 questions
หน่วยที่ 2 การเขียนโปรแกรมเพื่อแก้ปัญหา ป 6

Quiz
•
1st - 12th Grade
10 questions
แบบทดสอบบทที่ 2 การแก้ปัญหาด้วยไพทอน

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