placeholder image to represent content

A Level Computer Science - Lists

Quiz by Grace Shaffi

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
16 questions
Show answers
  • Q1
    Arrays can be used to impliment a list?
    FALSE
    TRUE
    30s
  • Q2
    Lists are an exmape of a ______ data structure?
    Dynamic
    Static
    30s
  • Q3
    Lists using an array data struture are ______?
    Dynamic
    Static
    30s
  • Q4
    What is the psuedocode for implimenting a method that checks for an empty list?
    isEmpty(listName)
    isEmpty.ListName()
    if listName == Empty
    listName.isEmpty()
    30s
  • Q5
    What 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
  • Q6
    What is the psuedocode for removing the last item in a list?
    listName.add(item)
    listName.remove(item)
    listName.pop(item)
    listName.append(item)
    30s
  • Q7
    What is the psuedocode for implimenting a method that checks for an full list?
    isFull(listName)
    isFull.ListName()
    if listName == Full
    listName.isFull()
    30s
  • Q8
    What 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
  • Q9
    What 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
  • Q10
    Which 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
  • Q11
    Items in a list must be stored in memory contigously?
    TRUE
    FALSE
    30s
  • Q12
    The size of a list must be declared before items are added to it?
    FALSE
    TRUE
    30s
  • Q13
    The size of an array must be declared before items are added to it?
    FALSE
    TRUE
    30s
  • Q14
    What is the sytax for accessing the 5th item in a list?
    listName[5]
    4 = ListName
    5 = ListName
    listName[4]
    30s
  • Q15
    Lists in Python can store mixed data types such as integers and strings in the same list?
    FALSE
    TRUE
    30s

Teachers give this quiz to your class