Understanding Conditional Statements

Quiz
•
English
•
11th Grade
•
Hard
Standards-aligned
Sarah Williams
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the role of the break statement in a switch statement?
The role of the break statement in a switch statement is to terminate the loop and move to the next block of code
The role of the break statement in a switch statement is to repeat the loop with different parameters
The role of the break statement in a switch statement is to skip the initial condition and directly move to the next condition
The role of the break statement in a switch statement is to add additional conditions to be checked if the initial condition is not met.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the syntax for an if statement in programming?
if [condition] then {code block}
if condition then {code block}
if (condition) {code block}
In Python, the syntax for an if statement is: if condition: (indented block of code)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the syntax for a switch statement in programming?
switch (expression) { case value1: code block break; case value2: code block break; default: code block }
switch (expression) { case value1: code block break; case value2: code block break; }
switch (expression) { case value1: code block break; case value2: code block }
switch (expression) { case value1: code block; case value2: code block; default: code block }
4.
DROPDOWN QUESTION
1 min • 1 pt
, he wouldn't have had an accident.
If he had driven carefully
If he drove carefully
If he has driven carefully
If he drives carefully
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which alternative complete correctly the sentence?
_______________ I'll go to the beach.
If I will have time tomorrow,
If I have time tomorrow,
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
6.
DROPDOWN QUESTION
1 min • 1 pt
Which alternative complete correctly the sentence? (a) he will visit you
If he comes to the city today,
If he will come to the city today,
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
7.
DROPDOWN QUESTION
1 min • 1 pt
Which alternative complete correctly the sentence?They'll come here (a)
if you call them.
if you will call them.
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Conditional clauses

Quiz
•
University
15 questions
Conditional sentence type 2

Quiz
•
10th Grade - University
12 questions
Conditional Sentences

Quiz
•
10th Grade - University
15 questions
SSP 108: Real and Unreal Conditionals

Quiz
•
University
20 questions
Cause and Effect Essay

Quiz
•
12th Grade - University
20 questions
Real conditionals

Quiz
•
10th - 11th Grade
20 questions
VERBALS AND VERB MOODS

Quiz
•
6th - 12th Grade
15 questions
2nd Conditional Video Quiz

Quiz
•
12th 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 English
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
19 questions
Understanding the Circle of Control

Quiz
•
9th - 12th Grade
20 questions
Chronological Order of Events (Chp. 61-70) in Born Behind Bars

Quiz
•
9th - 12th Grade
20 questions
The Crucible Act 1

Quiz
•
11th Grade
8 questions
Elements of Poetry

Lesson
•
9th - 12th Grade
20 questions
Rhetorical Appeals

Lesson
•
9th - 12th Grade
20 questions
Editing and Revising Practice

Quiz
•
9th - 11th Grade
20 questions
Chronological Order of Events (Chp. 48-60) in Born Behind Bars

Quiz
•
9th - 12th Grade