
COMP1010 Week 3 Quiz
Authored by Ethan Ryoo
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following would add the integer 1 to the start of my_list? There may be multiple correct answers.
[1] + my_list
my_list.append(1)
my_list.insert(0, 1)
1 + my_list
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
len("my string") = _
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
[1, 2, 3, 2, 3, 2, 1]._____(2) = 3
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
[1, 2, 3, 2, 3, 2, 1]._____(2) = 1
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
[1, 2, 3, 2, 3, 2, 1].______(2) = [1, 3, 2, 3, 2, 1]
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
[1, 2, 3, 2, 3, 2, 1].___(2) = [1, 2, 2, 3, 2, 1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print([1, 2, 3, 2, 3, 2, 1].remove(2)) print?
[1, 3, 2, 3, 2, 1]
[1, 2, 2, 3, 2, 1]
[1, 3, 3, 1]
None
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?