
Understanding Conditional Statements and Boolean Logic
Authored by Jonathan Nicholson
Mathematics
11th Grade
14 Questions
CCSS covered

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an if statement do in a program?
Repeats a block of code multiple times
Stops the program
Executes a block of code if a certain condition is true
Declares a variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to write an if statement in Python to check if `a` is equal to 10?
if a == 10:
if a = 10:
if a equals 10:
if a!=10
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the else statement do in a program?
Executes a block of code if the if statement's condition is false
Stops the execution of the program
Executes a block of code multiple times
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a boolean expression?
5 + 3
"Hello World"
5 > 3
x = 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the AND operator do in a boolean expression?
Returns True if at least one of the conditions is true
Returns True if both conditions are false
Returns True if both conditions are true
Returns False if both conditions are true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the OR operator do in a boolean expression?
Returns True if both conditions are true
Returns True if at least one of the conditions is true
Returns True only if all conditions are false
Returns False if at least one condition is true
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the NOT operator do in a boolean expression?
Reverses the condition, making True False and vice versa
Makes both conditions required to be True
Combines two conditions into one
None of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Mathematics
15 questions
Mock Fall Final
Quiz
•
9th - 12th Grade
23 questions
Rational Exponents and Simplifying using Exponent Properties
Quiz
•
9th - 12th Grade
12 questions
Polynomials 7-1/7-2/7-3
Lesson
•
9th - 12th Grade
13 questions
Congruent Triangle Proofs
Quiz
•
9th - 12th Grade
14 questions
Permutations and Combinations
Quiz
•
9th - 12th Grade
13 questions
Reading And Writing Numerical Expression
Quiz
•
6th - 12th Grade
11 questions
73 WarmUp: Graphing SOE/Ineqs
Quiz
•
9th - 12th Grade
19 questions
Distributive Property
Quiz
•
6th - 12th Grade