
Python Lists
Authored by Paul Meehan
Computers
8th Grade
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
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?
["John", "Harry", "Jesse", "John", "Harry", "Harry"]
"John"
"Harry"
"Jesse"
2.
MULTIPLE CHOICE QUESTION
1 min • 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
30 sec • 1 pt
Which of these is a list?
["apples", "oranges", "bananas"]
"apples", "oranges", "bananas"
{"apples", "oranges", "bananas"}
("apples", "oranges", "bananas")
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
What is the position of the name "Robert" in the following list:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output will this code produce?
France
Wales
Wales
France
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is this the correct code for a list?
register = {"Sam", "Pheobe", Georgia", Richard"}
Yes
No
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
Python strings
Quiz
•
8th - 9th Grade
13 questions
How Search Engines Work
Quiz
•
7th - 12th Grade
10 questions
HTML Basics
Quiz
•
7th - 10th Grade
12 questions
Scratch Basics
Quiz
•
7th - 9th Grade
12 questions
Loops (Python)
Quiz
•
8th Grade
10 questions
Python list and tuple
Quiz
•
6th - 8th Grade
11 questions
Advanced Spreadsheet Functions Review
Quiz
•
8th Grade
11 questions
Trusting websites
Quiz
•
7th - 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