
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
27 questions
1.1 The role of business enterprise and entrepreneurship
Quiz
•
6th - 8th Grade
27 questions
Lego Brick, Simple Machines, and Gear Ratio Test
Quiz
•
6th - 7th Grade
28 questions
7th grade EOC Review
Quiz
•
7th Grade
37 questions
Regents Earth Science - Weather 3 Exam Review
Quiz
•
8th - 10th Grade
30 questions
مضاف/مضاف اليه
Quiz
•
6th - 8th Grade
30 questions
ضمائر المتكلّم
Quiz
•
2nd - 8th Grade
30 questions
GENERAL APTITUDE II
Quiz
•
1st Grade - Professio...
30 questions
Year 7 Economics Revision
Quiz
•
7th 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