
python - list - 1
Authored by IQuotient 369
Other
6th - 8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
aList = [10, 20, 30, 40, 50, 60, 70, 80]
print(aList[2:5])
print(aList[:4])
print(aList[3:])
[30, 40, 50]
[10, 20, 30, 40]
[40, 50, 60, 70, 80]
[ 40, 50]
[20, 30, 40]
[50, 60, 70, 80]
[30, 40]
[10, 20, 30]
[40, 50, 60, 70,]
Error
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
sampleList = [10, 20, 30, 40, 50]
print(sampleList[-2])
print(sampleList[-4:-1])
sampleList = [10, 20, 30, 40, 50]
print(sampleList[-2])
print(sampleList[-4:-1])50
[20, 30, 50]
40
[20, 30, 40]
10
[20, 30, 10]
error
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
my_list = [1, 2, 3, 4, 5]
print(my_list[2])
3
4
5
1
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
my_list = ['apple', 'banana', 'cherry']
item = my_list[-1]
print(item)
cherry
error
banana
apple
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
my_list = [10, 20, 30, 40, 50]
print(my_list[:3])
[10, 20, 30]
[20, 30]
[10, 20]
[10, 30]
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
my_list = [1, 2, 3, 4, 5]
my_list[2] = 10
print(my_list)
[1, 2, 10, 4, 5]
[1, 2, 4, 5]
[1, 10, 4, 5]
[1, 2, 10]
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
my_list = ['a', 'b', 'c', 'd', 'e']
print(my_list[-3:])
['c', 'd', 'e']
['a', 'b']
['b', 'c', 'd']
['c', 'd']
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
28 questions
Basic Economic Terms
Quiz
•
4th Grade - University
28 questions
Unit 1 Review ESL 1
Quiz
•
6th - 8th Grade
28 questions
MAWD 1.01 B
Quiz
•
KG - University
29 questions
Call of duty
Quiz
•
6th Grade - University
30 questions
Book of Prime Entry
Quiz
•
1st - 10th Grade
27 questions
Following Directions - Part 1
Quiz
•
5th - 9th Grade
31 questions
UJIAN SEKOLAH BAHASA INGGRIS
Quiz
•
6th Grade - University
31 questions
Area of Parallelograms
Quiz
•
6th 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
Discover more resources for Other
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
20 questions
Exponents
Quiz
•
6th Grade
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
22 questions
distributive property
Quiz
•
7th Grade
15 questions
Distributive Property & Review
Quiz
•
6th Grade
10 questions
Figurative Language
Quiz
•
6th Grade