
Python Lists Review
Quiz
•
Education
•
6th - 8th Grade
•
Practice Problem
•
Medium
Amber Price
Used 4+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which module allows you to create a random choice?
import
random
export
append
pop
2.
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 and can be changed.
A list is used for shopping in Python.
A list is a lot of variables in Python.
A list is a collection of data that cannot hold duplicated data and cannot be changed.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the correct code for creating a list of names in Python?
nameList=Sophia, Olivia, Riley, Emma, Ava, Isabella
nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']
nameList=('Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella')
nameList=[Sophia, Olivia, Riley, Emma, Ava, Isabella]
4.
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?
nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']
Sophia
Olivia
Riley
Emma
Ava
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List items have an index number. In the following list which item has the index number of 0?
nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']
Sophia
Olivia
Riley
Emma
Ava
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Isabella" from the following list?
nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']
nameList[5]
nameList(5)
nameList.5
nameList[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these pieces of code would return the name "Olivia" from the following list?
nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']
nameList[1]
nameList(1)
nameList[2]
nameList(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
15 questions
Advérbios em Português
Quiz
•
7th Grade
20 questions
Small Spaces Chapters 1-4
Quiz
•
4th - 7th Grade
17 questions
Czarne Stopy
Quiz
•
5th - 6th Grade
20 questions
TLE 6 Q2 W2 - Project Plan
Quiz
•
6th Grade
15 questions
March Madness Week Two
Quiz
•
8th Grade
19 questions
Year 6 Microsoft Word
Quiz
•
5th - 6th Grade
15 questions
movie trivia
Quiz
•
1st Grade - Professio...
20 questions
Math Trivia
Quiz
•
6th - 9th 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
