
Python Lists

Quiz
•
Computers
•
University
•
Medium
Mr Hoplar
Used 2+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is associated to lists in Python?
" "
' '
( )
[ ]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we convert a data type to a list?
list( )
array( )
int( )
dataTypeToList( )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When does indexing start for lists in Python?
0
1
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you create a list in Python that contains 1, 2, and 3?
numbers = 1, 2, 3
numbers = 1 + 2 + 3]
numbers = (1, 2, 3)
numbers = [1, 2, 3]
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you create a list in Python that contains 43.0, "A", True and 2?
data = [43.0, "A", True, 2]
data = 43.0 + "A" + True + 2
data = (43.0, "A", True, 2)
data = 43.0, "A", True, 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
integers = [10, 20, 30, 40, 50]
What is the output of integers[1] ?
10
20
30
Index Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
integers = [10, 20, 30, 40, 50]
What is the output of integers[0] ?
10
20
30
Index Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python-Lists_Dictionaries

Quiz
•
University
24 questions
Python Lists Quiz 8

Quiz
•
University
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
20 questions
loops and iterables in python

Quiz
•
University
20 questions
8-期中总结

Quiz
•
University
20 questions
Computer Graphics

Quiz
•
University
20 questions
ISTE TECHNICAL

Quiz
•
University
20 questions
Python Lists and Sets

Quiz
•
9th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade