Professional Documents
Culture Documents
Correct
Mark 1.00 out of 1.00
Flag question
Question text
b. 23
c. 0
d. 13
Feedback
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
b. a
c. n
d. banana
Feedback
Question 3
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
mylist = ["now", "four", "is", "score", "the", "and seven", "time", "years", "for"]
a=0
while a < 8:
print(mylist[a],)
a=a+2
Select one:
a. now is the time
Feedback
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
e. [3, 2, 1]
Feedback
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
a. 14
b. 23
c. 0
d. 13
Feedback
Question 6
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
True
False
Feedback
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
What is the output of the Python code below?
my_list = [3, 2, 1]
print(my_list.sort())
Select one:
a. 0
b. {1, 2, 3}
c. None
d. syntax error
e. [1, 2, 3]
Feedback
Question 8
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
a. 24
b. 0
c. 23
d. -1
Feedback
Flag question
Question text
True
False
Feedback
Question 10
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
To create a new object that has the same value as an existing object is knows as
creating an alias.
Select one:
True
False
Feedback
Question 1
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
b. {3, 2, 1}
c. None
d. syntax error
e. [3, 2, 1]
Feedback