
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
11 questions
Youtube
Quiz
•
4th Grade - University
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
15 questions
LA1.C1: Introduction to Small Basic
Quiz
•
9th Grade
10 questions
Computer Languages
Quiz
•
6th - 12th Grade
10 questions
python quiz
Quiz
•
6th Grade - Professio...
15 questions
Review Komputer Mid SMP (1)
Quiz
•
8th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 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