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

Hortense Cyr
Used 10+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these would work as a piece of code?
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
Python identifies blocks of code by
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
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
11 questions
What is a computer
Quiz
•
KG - University
10 questions
Working with tables
Quiz
•
5th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
14 questions
1.1 Data and information
Quiz
•
10th - 12th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th 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
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
