WorksheetsG(7) Quiz#4 - L3.4
Total questions: 9
Worksheet time: 5mins
subjects_list = []
This code line will
create an empty list
print list
delete an element
None of the above
True/False: A list is an example of a data structure.
True
False
A ___________ is a type of variable that can hold many values.
Loop
if condition
data structure
None of the above
Traverse a list means
looking at every value
printing a list
deleting a list
None of the above
We can traverse a list using a
variable
for loop
None of the above
for i in range(5):
^
This loop will repeat
i times
4 times
5 times
None of the above
The number that stops the loop is called
pause value
stop value
element value
None of the above
colors = ["blue", "pink", "yellow"]
Select the code to get the list length
print(colors)
colors[i]
len(colors)
None of the above
colourList = ["red","yellow","blue","green"]
stop = len(coloursList)
the value of stop is equal to
3
4
5
None of the above
