
A Level Computer Science - Lists
Quiz by Grace Shaffi
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
16 questions
Show answers
- Q1Arrays can be used to impliment a list?FALSETRUE30s
- Q2Lists are an exmape of a ______ data structure?DynamicStatic30s
- Q3Lists using an array data struture are ______?DynamicStatic30s
- Q4What is the psuedocode for implimenting a method that checks for an empty list?isEmpty(listName)isEmpty.ListName()if listName == EmptylistName.isEmpty()30s
- Q5What is the psuedocode for adding an item to the end of a list?listName.append(item)listName.add(item)listName.remove(item)listName.pop(item)30s
- Q6What is the psuedocode for removing the last item in a list?listName.add(item)listName.remove(item)listName.pop(item)listName.append(item)30s
- Q7What is the psuedocode for implimenting a method that checks for an full list?isFull(listName)isFull.ListName()if listName == FulllistName.isFull()30s
- Q8What is the psuedocode for removing the first instance of an item from a list?listName.append(item)listName.remove(item)listName.pop(item)listName.delete(item)30s
- Q9What is the psuedocode for adding an item to a specific place in the list?listName.insert()listName.add(item)listName.index()listName.pop(item)30s
- Q10Which method would you need to add an item to the start of a list?listName.insert()listName.index()listName.pop(item)listName.add(item)30s
- Q11Items in a list must be stored in memory contigously?TRUEFALSE30s
- Q12The size of a list must be declared before items are added to it?FALSETRUE30s
- Q13The size of an array must be declared before items are added to it?FALSETRUE30s
- Q14What is the sytax for accessing the 5th item in a list?listName[5]4 = ListName5 = ListNamelistName[4]30s
- Q15Lists in Python can store mixed data types such as integers and strings in the same list?FALSETRUE30s