
Conditionals Quiz
Authored by Emilio Gasca
Other
12th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an "if" statement in Python?
To define a loop
To check a condition and execute code accordingly
To concatenate strings
To perform mathematical operations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to check for equality in Python's conditional statements?
=
==
<>
!=
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code?
'x is greater than y'
'y is greater than or equal to x'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following conditions checks if a variable "num" is less than or equal to 100?
num < 100
num <= 100
num =< 100
num == 100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "elif" keyword stand for in Python?
Element If
Else If
End If
Equal If
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator represents "and" in Python?
&
&&
and
AND
7.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the purpose of the "not" keyword in Python?
Evaluate responses using AI:
OFF
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
15 questions
Teacher's Day
Quiz
•
6th - 12th Grade
18 questions
IGCSE Economics Glossary Terms - B
Quiz
•
9th - 12th Grade
20 questions
Unit 1: Research Methods Psychology
Quiz
•
11th - 12th Grade
15 questions
Music Icon and Apps
Quiz
•
7th - 12th Grade
16 questions
Newspaper
Quiz
•
5th Grade - Professio...
17 questions
Economics - Chapter 9 Review
Quiz
•
9th - 12th Grade
18 questions
Big Cats
Quiz
•
3rd - 12th Grade
20 questions
B5L4 Lab-Grown Meat Quiz
Quiz
•
12th Grade
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 Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade