True or False: The index 1 identifies the first element in a list.
Python L1 Quiz 4: Lists

Quiz
•
Computers
•
1st - 12th Grade
•
Medium
Jerry Xiao
Used 372+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True or False: Lists can only contain integers.
True
False
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will always be the index of the last item in a list?
(You may select multiple answers)
-0
-1
0
The size of the list minus 1
4.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which code will print cat?
(You may select multiple answers)
print(my_list[1])
print(my_list[2])
print(my_list[-2])
print(my_list[-3])
5.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Which index will get the first item in a list?
(You may select multiple answers)
0
1
the size of the list, as a negative number
-1
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code?
arr = [10, 20, 30, 40, 50, 60]
print(len(arr))ㅤㅤㅤㅤㅤㅤ
0
6
5
SyntaxError
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the output of the following code?
value = [[10, 20, 30], [40, 50, 60]]
print(len(value))ㅤㅤㅤㅤㅤㅤㅤ
2
3
6
0
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
12 questions
Python Basics for Students

Quiz
•
3rd Grade
10 questions
Python Concepts

Quiz
•
9th Grade
10 questions
Python Generators

Quiz
•
10th Grade - University
10 questions
Python lists and tuples

Quiz
•
12th Grade
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
15 questions
Python Unit 8 Quiz

Quiz
•
9th - 12th Grade
10 questions
Ստանդարտ ֆունկցիաներ - Python

Quiz
•
7th Grade
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
Discover more resources for Computers
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
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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