
Introduction to Python - If and Else
Authored by Khadeeja Haji
Computers
1st - 6th Grade
Used 23+ 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
45 sec • 1 pt
What does this print?
if 5 > 7:
print("Hello!")
else:
print("Bye")
Hello
Bye
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is this true or false?
6 > 8
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this print?
if 5 == 5:
print("Right")
else:
print("Wrong")
Right
Wrong
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this print?
if 6 != 6:
print("hi")
else:
print("hello")
hello
hi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False?
7 <= 8
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code output?
x = True
print(not x)
False
True
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does this output?
x = True
y = False
print(x and y)
False
True
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
QBASIC Programming
Quiz
•
5th - 10th Grade
15 questions
Storage-Quiz-2
Quiz
•
1st Grade
10 questions
Class III Quiz
Quiz
•
3rd Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
15 questions
XI MIPA SEM 2
Quiz
•
1st Grade
15 questions
Ozzy's Super Mario
Quiz
•
2nd - 4th Grade
10 questions
Computer practice quiz for class 1
Quiz
•
1st Grade
10 questions
6 сынып PYTHON тілінде программалау
Quiz
•
1st 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