
List
Authored by Josan Tamayo
University
Used 42+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [5, 'old', 'new', 8, 'time', 2]
print(my_list[0])
5
new
error
time
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [5, 'old', 'new', 8, 'time', 2]
print(my_list[2])
5
new
error
time
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [5, 'old', 'new', 8, 'time', 2]
print(my_list[4])
5
new
error
time
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [5, 'old', 'new', 8, 'time', 2]
print(my_list[6])
5
new
error
time
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [2.3, 'dog', 34, 'cat', 52]
print(my_list[-1])
52
2.3
cat
error
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [2.3, 'dog', 34, 'cat', 52]
print(my_list[-2])
52
2.3
cat
error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be printed after each of the following code segments?
my_list = [2.3, 'dog', 34, 'cat', 52]
print(my_list[-6])
52
2.3
cat
error
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?