
ALTSCHOOL AFRICA CIRCLE 7 (23/8/25)
Authored by adediji lekan
Specialty
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the first element in a Python list?
0
1
-1
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following creates a list in Python?
list = (1,2,3)
list = {1,2,3}
list = <1,2,3>
list = [1,2,3]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method adds an item to the end of a list?
Which method adds an item to the end of a list?
insert()
extend()
add()
append()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will len([10, 20, 30]) return?
What will len([10, 20, 30]) return?
4
2
3
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these will remove the first occurrence of 20 from [10, 20, 30, 20]?
Which of these will remove the first occurrence of 20 from [10, 20, 30, 20]?
list.pop(20)
list.delete(20)
list.discard(20)
list.remove(20)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hat is the output of x = [[1,2],[3,4]]; print(x[1][0])?
hat is the output of x = [[1,2],[3,4]]; print(x[1][0])?
3
4
2
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly defines a nested list?
Which of the following correctly defines a nested list?
[1,2,3,4]
[1, [2, 3], 4]
[[1,2,3,4]]
Both B and C
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?