
Python Logic Pop Quiz
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Rokiah Jamil
Used 2+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What does this code output?
if 10 > 5:
print("Yes")
Yes
No
Error
True
2.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
For a 3-option if statement, what keyword is used to check a second condition after an if?
also
elseif
elif
else
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What will this code print?
score = 45
if score >= 50:
print("Pass")
else:
print("Fail")
Pass
Fail
Error
Nothing
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
True or False:
== is used to assign values.
True
False
5.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which of the following is a Boolean value in Python?
"True"
1
True
true
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What does else do in a conditional statement?
Checks another condition
Ends the program
Runs when all other if/elif are False
Loops the condition
7.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which statement is NOT correct in Python logic?
if age >= 18:
else:
elif age < 10:
elseif age < 10:
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
AZ-900 practice quiz
Quiz
•
Professional Development
10 questions
PYTHON VOCABULARY
Quiz
•
Professional Development
9 questions
Inducción Primer Ingreso
Quiz
•
Professional Development
11 questions
Evaluación Aplicaciones Web
Quiz
•
University - Professi...
10 questions
Weekly Quiz 1
Quiz
•
4th Grade - Professio...
10 questions
UD Cybersecurity Pro
Quiz
•
Professional Development
12 questions
Cloud QUIZ
Quiz
•
University - Professi...
12 questions
Te Rito - Cyber Security
Quiz
•
Professional Development
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
