
03 - Python - Conditionals
Quiz
•
Computers
•
11th Grade
•
Medium

Hortense Cyr
Used 10+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If you want to test more than one condition (chained condition), what do you use after if statement?
elif
else
ifif
else if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The last part of a logical condition that is executed when the first conditions are false
if
else
for
input
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Data type that can only be true or false
int
string
boolean
float
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which character must be at the end of the line for if?
:
;
.
{
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code do?
name = "Bob"
if (name == "Bob"):
print ("Hello" + name)
else:
print ("I don't know you")
nothing
HelloBob
Hello Bob
I don't know you
Hello Bob
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
2.3 Producing Robust Programs
Quiz
•
10th - 11th Grade
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
12 questions
RO81 File Formats [Revision #1]
Quiz
•
9th - 11th Grade
16 questions
CyberSafety Pre-Assessment
Quiz
•
KG - University
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
