
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
20 questions
Exprésate 2 capitulo 6-2 vocabulario
Quiz
•
9th - 12th Grade
17 questions
Chapter 16 8th Grade Science Putman
Quiz
•
6th - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
PBNO Holiday Trivia
Quiz
•
12th Grade
15 questions
Ady Endre ars poeticája I.
Quiz
•
11th - 12th Grade
20 questions
Planes
Quiz
•
3rd Grade - University
20 questions
Humas & Protokol Kls 12 OTKP
Quiz
•
9th - 12th Grade
20 questions
Tin học bài 8
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