
Lists in Python
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Aakifah Rahman
Used 21+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the best description of a list in Python?
A list is a collection of data that has an order
A list is a lot of variables
A list is used for shopping
A list is a collection of data that cannot hold duplicated data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do i remove something from a list?
variable.append()
variable.delete()
variable.remove()
variable=(new variable)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An empty list can be declared as
fruitList = ""
fruitList = ["empty"]
fruitList == []
fruitList = []
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each item in a list has an "address" . The first address in a Python list is what?
1
0
a
A
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to add the number 4 to mylist?
mylist + 4
mylist.append(4)
mylist.append([4])
4.append(mylist)
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is used to separate elements in a list?
Bracket
Comma
Full Stop
Space
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
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
10 questions
Web Development
Quiz
•
1st - 12th Grade
15 questions
Basics in Java
Quiz
•
9th - 12th Grade
13 questions
Melody Tone
Quiz
•
9th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
12 questions
HIGHER Python Subroutines Quiz
Quiz
•
9th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
15 questions
IGCSE ICT Chapter 1 Review
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
