Understanding Conditional Statements

Quiz
•
English
•
11th Grade
•
Hard
+2
Standards-aligned
Sarah Williams
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If Sally ... her leg, she ... on holiday
wouldn't have broken - had gone
didn't break - would go
won't break - goes
hadn't broken - would've gone
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
We ... a cake if we ... to buy some eggs.
made - wouldn't forget
would've made - hadn't forgotten
had made - would have forgotten
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If Roberto ... some English, he ... the job.
would've known - had got
knew - got
had known - would've got
Tags
CCSS.L.2.1F
CCSS.L.8.1C
CCSS.L.8.3A
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you'd lived here, you ... have enjoyed it.
won't
must
might
should
Tags
CCSS.L.4.1C
CCSS.L.9-10.1B
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of using else if in an if-else statement?
To skip the initial 'if' condition and directly move to the 'else' condition
To terminate the if-else statement and move to the next block of code
To add additional conditions to be checked if the initial 'if' condition is not met.
To repeat the initial 'if' condition with different parameters
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When is the code inside an if statement executed?
When the condition specified in the if statement is true.
When the program encounters a syntax error.
When the condition specified in the if statement is false.
When the code outside the if statement is executed.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between the if-else statement and the switch statement?
The if-else statement can only be used for single condition checks, while the switch statement can handle multiple conditions.
The if-else statement can only handle boolean conditions, while the switch statement can handle any type of condition.
The if-else statement is based on a condition, while the switch statement is based on a value.
The if-else statement is more efficient than the switch statement in terms of execution speed.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Squeeze It!

Quiz
•
9th Grade - University
15 questions
The Adverbial Clauses

Quiz
•
11th Grade - University
10 questions
The Oxford Cleric and the Lawyer

Quiz
•
12th Grade
15 questions
English Vibes: Unit 9 - Vocabulary Study

Quiz
•
12th Grade
20 questions
BAHASA INGGRIS PEMINATAN XI

Quiz
•
11th Grade
20 questions
if-clauses(quiz)

Quiz
•
10th - 12th Grade
17 questions
Formal vs. Informal Writing

Quiz
•
11th - 12th Grade
20 questions
Verb Mood- The Subjunctive

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