PYTHON LISTS

Quiz
•
Computers
•
6th Grade
•
Medium
Fazla Fairooz
Used 62+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lists use _____ to access values
values
indexes
key values
keys
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider this list, what will be the highest index the list can have:
li=[1,2,3,4,5]
2
3
4
5
3.
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
4.
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
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])
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider list list, what will be the output of the following
li=[[‘a’,’b’]]
print(li[0][0])
a
b
None
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Do lists preserve the order of the elements they contain?
Yes
No
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
HTML5 Basics

Quiz
•
6th - 12th Grade
20 questions
HTML Tags

Quiz
•
6th - 8th Grade
20 questions
Python Intermediate Quiz (Including pygame)

Quiz
•
3rd - 12th Grade
20 questions
chatbot python

Quiz
•
6th Grade
15 questions
Java Basic Data Structures

Quiz
•
6th - 10th Grade
15 questions
Классификация типов данных СОР №3

Quiz
•
6th Grade
20 questions
Python list, if

Quiz
•
6th - 12th Grade
15 questions
Python - тест

Quiz
•
1st - 12th Grade
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