
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
Create a free account and access millions of resources
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
Diagramas de Flujo 2
Quiz
•
5th Grade - University
10 questions
Microsoft SmartArt Graphics
Quiz
•
8th - 10th Grade
15 questions
Programación
Quiz
•
7th - 9th Grade
12 questions
Web II: CSS Positioning
Quiz
•
9th - 12th Grade
14 questions
Repaso Teórico Conceptos Pascal
Quiz
•
8th - 12th Grade
10 questions
Berfikir Komputesional
Quiz
•
9th - 12th Grade
12 questions
HTML & Java
Quiz
•
9th Grade
10 questions
Code.org Discoveries
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
