Python L1 Quiz 4: Lists
Quiz
•
Computers
•
1st - 12th Grade
•
Medium
Jerry Xiao
Used 372+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True or False: The index 1 identifies the first element in a list.
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
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?
Similar Resources on Wayground
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
LEDs on micro:bit
Quiz
•
8th Grade
10 questions
ICT Grade 8
Quiz
•
8th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
15 questions
REVIEW QUIZ
Quiz
•
7th Grade
10 questions
MEDIA AND INFORMATION LITERACY
Quiz
•
12th Grade
12 questions
Sumatif Harian 3
Quiz
•
7th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
