
3.4 Lesson Practice
Authored by Charlie Batchelor
Other
9th - 12th Grade
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
4 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
x = 9 % 2
if (x == 1):
print ("ONE")
else:
print ("TWO")
ONE
one
One
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For questions 2-4, consider the following code:
if (month ==9):
if (day > 15):
print ("Second half of the month")
else:
print ("First half of the month")
else:
print ("Not in September")
Nothing is output
First half of the month
Second half of the month
Not in September
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output if month = 11 day = 14?
Nothing is output
First half of the month
Second half of the month
Not in September
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output if month = 9 day = 21?
Nothing is output
First half of the month
Second half of the month
Not in September
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?