The code's output:

Python 12 Sat

Quiz
•
Computers
•
12th Grade
•
Hard
rofaida hamad
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Math
Physics
Chemistry
English
4
3.8
3.6
3.7
None
None
None
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the code is
[101, 102, 103, 104]
[3.6, 3.7, 3.8, 4]
[104,103,102,101]
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following code deletes the key 103 and its value
del grades[103]
del grades["103"]
grades.pop(103)
grades.pop("103")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_______________method will returns number of key-value pairs in the given dictionary.
len( )
pop( )
del( )
keys( )
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Which of these is the best description of a list in Python?
A list is a collection of data that has an order and can be changed
A list is a lot of variables
Conditional Statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list, which item has the index number of 3?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Int Prog: Lists and Functions

Quiz
•
9th - 12th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)

Quiz
•
10th - 12th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
16 questions
Python List Comprehensions Quiz

Quiz
•
12th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
15 questions
HTML

Quiz
•
9th - 12th Grade
20 questions
Python list, if

Quiz
•
6th - 12th Grade
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 Computers
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