
Python if else
Authored by CodeLQ Team
Computers
4th - 9th Grade
Used 40+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What best defines an IF statement in python?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator means that one value is the same as the other value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
There can be an else statement without an if statement
FALSE
TRUE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ‘else’ statement is optional in Python
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator means that one value is not equal to another value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The result of this program:
Friday = False
if Friday:
print "Jeans day!"
else:
print "Uniform day"
Jeans day
Today is Friday
Uniform day
Not Friday
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
True
False
condition1
condition2
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
Activity 1: How well do you know Java?
Quiz
•
9th Grade
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
10 questions
For loop
Quiz
•
8th Grade
8 questions
Online safety
Quiz
•
5th Grade
12 questions
prep1-revision
Quiz
•
7th 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