What does this code print?
Python-loops, branches, functions

Quiz
•
Computers
•
University
•
Hard
Shannon Duvall
Used 94+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python debugging

Quiz
•
University
20 questions
Python Strings

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
16 questions
Python Basics

Quiz
•
KG - University
17 questions
Python Loops

Quiz
•
University
20 questions
Python Recap

Quiz
•
7th Grade - University
10 questions
Techno India University Python Quiz Contest

Quiz
•
University
10 questions
Lists review (Python)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade