KS3 Computing (Years 7–9)

Python 2: Lists and Sequences of Data: revision quiz and key terms

Free practice for Python 2: Lists and Sequences of Data in KS3 Computing (Years 7–9). It covers: python lists and strings: indexing, len, append, remove, insert, pop, in, looping, slicing, upper and lower. Try the questions, then check the key terms.

Try 5 free questions

No sign-in needed. Tap an answer to check it.

Question 1 · Multiple choice

scores = [12, 7, 9]. What is scores[-1]?

Question 2 · True or false?

You can use a for loop to go through every item in a list.

Question 3 · Multiple choice

Which code prints every name in the list names?

Question 4 · True or false?

remove() takes away an item using its index number.

Question 5 · Multiple choice

fruits = ["apple", "pear", "plum"]. What is fruits[1]?

In RADevo, this topic has fill-in-the-blank, matching, multiple-choice and true or false activities, and every question you get wrong comes back in Revise today until you've learnt it.

Key terms for Python 2: Lists and Sequences of Data

Empty list
Written as [], it holds no items yet.
Index
The position number of an item, counting from 0.
IndexError
The error you get when you ask for a position that does not exist.
insert()
Adds a new item at a chosen position in a list.
lower()
Gives back a copy of a string with every letter in small letters.
Sequence
An ordered set of items, such as a list or a string.
Square brackets
The [ ] symbols used to create a list or pick out one item.
String
A data type for text, written in quote marks.

Teaching KS3 Computing (Years 7–9)?

Set this topic as homework in two clicks, see who has done it and which questions your class got wrong, and start every lesson with a Do Now built from their mistakes.

Start a free 2-week trial

Revising for this?

If your school uses RADevo, sign in to do the full quizzes and keep your progress. If it doesn't, show this page to your Computing teacher.

Log in to RADevo