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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
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
10 questions
Rational Function
Quiz
•
11th Grade
11 questions
Moments and Moment Generating Function
Quiz
•
University
10 questions
คณิตศาสตร์ ป.6
Quiz
•
1st Grade - University
9 questions
เลขยกกำลัง
Quiz
•
11th Grade
15 questions
M.3-MIDTERM-2.2566
Quiz
•
12th Grade
15 questions
Operaciones con matrices
Quiz
•
12th Grade
15 questions
Math 1110 -- College Algebra Midterm Review
Quiz
•
University
10 questions
Limit fungsi irasional
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Mathematics
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
20 questions
Classifying Polynomials by Degree and Number of Terms
Quiz
•
11th Grade
17 questions
Explore Experimental and Theoretical Probability
Quiz
•
7th - 12th Grade
15 questions
Parallelogram Properties
Quiz
•
10th - 12th Grade
10 questions
Special Right Triangles
Quiz
•
11th Grade
18 questions
Solving Systems- Word Problems
Quiz
•
9th - 12th Grade
34 questions
7.4 Review Cubic and Cube Root Functions
Quiz
•
10th - 12th Grade