
Python Lists Quiz
Authored by Elsayed Seleim
Computers
8th - 9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to create an empty list in Python?
my_list = list()
my_list = {}
my_list = [None]
my_list = []
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list in Python?
list_name[0]
list_name.first()
list_name(1)
list_name.get(0)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name 'Paula' in the following list: names = ["Marco","Phillip","Paula","Tommy"]
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lists use _____ to access values
values
indexes
key values
keys
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider this list, what will be the output of the following: li=[1,2,3,4,3,2,1] print(li[3])
4
3
2
1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list in Python?
list_name[0]
list_name.first()
list_name(1)
list_name.get(0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these collections defines a LIST?
{"numbers": "omar", "Ali": "Ahmed"}
["omar", "Ali": "Ahmed"]
("omar", "Ali": "Ahmed")
{"omar", "Ali": "Ahmed"}
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
Internet Safety Quiz
Quiz
•
9th - 12th Grade
9 questions
Name that OS
Quiz
•
9th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
AI QUIZ
Quiz
•
6th - 8th Grade
13 questions
Python
Quiz
•
9th Grade
11 questions
Website constructs
Quiz
•
6th - 8th Grade
11 questions
Ethical Issues of I.T.
Quiz
•
7th - 8th Grade
10 questions
Arithmetic Operators, Casting, Concatenation
Quiz
•
9th - 12th 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