What is the output of the following code
Python Ranges and Operators

Quiz
•
Other
•
12th Grade
•
Hard
Marissa Montes
Used 1+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Salary: 12000 Salary: 8000
Salary: 8000 Salary: 12000
The program failed with errors
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
The program executed with errors
[‘Jon’, ‘Kelly’, ‘Scott’, ‘Jessa’]
[‘Jon’, ‘Kelly’, ‘Jessa’, ‘Scott’]
[‘Jon’, ‘Scott’, ‘Kelly’, ‘Jessa’]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
True
True
True
False
False
True
False
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
20
30
The program executed with errors
24
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
{‘Vicki’, ‘Jodi’, ‘Garry’, ‘Eric’}
{‘Jodi’, ‘Vicki’, ‘Garry’, ‘Eric’}
The program executed with error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
py
yn
pyn
yna
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can we use the “else” block for for loop?
for example:
No
Yes
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Simple machines and Mechanical advantage-1

Quiz
•
9th - 12th Grade
19 questions
CODE Unit 3 Intro to App Design 2020-21

Quiz
•
9th - 12th Grade
13 questions
Python Fundamentals and Programming

Quiz
•
11th - 12th Grade
20 questions
Lego EV3

Quiz
•
9th - 12th Grade
17 questions
Computer assembling quiz

Quiz
•
7th Grade - Professio...
16 questions
Short-run and Long-run: Theory of Production I

Quiz
•
7th Grade - University
14 questions
Are You Smarter Than a Sixth Grader?

Quiz
•
KG - University
15 questions
1.3 Quiz

Quiz
•
8th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Other
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1

Quiz
•
9th - 12th Grade