
Python-loops, branches, functions
Authored by Shannon Duvall
Computers
University
Used 99+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does this code print?
A
B
C
A
C
A
A
B
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does this code print?
A
B
C
A
A
C
B
C
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the code print?
B
C
A
C
B
A
C
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the code print?
True True
True False
False True
False False
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the code print?
True True
True False
False True
False False
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the code print?
10
7
4
1
Done
10
9
8
7
6
5
4
3
2
1
Done
Done
10
7
4
1
-2
-5
... and more, running infinitely.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the code print?
10 stars, then the word "Done"
4 stars, then the word "Done"
Just the word "Done"
Infinitely many stars
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?