Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 9 - Computing

Creating lists in Python

Python programming with sequences of data

Unit Summary

In this unit pupils will discover how data is represented and processed in sequences, such as lists and strings. They will cover a spectrum of operations on sequences of data, that range from accessing an individual element to manipulating the entire sequence though real world practical activites.

Lesson Summary

You will learn to create a list in Python and use selection to access and display list items.

Key Notes

  • Lists are data structures that can store multiple related items in Python.
  • Values held in a list are ordered by index number, with the first item in the list being stored at index [0].
  • List items can be directly accessed by specifying the index value.

Vocabulary To Learn

  • selection: used when there is more than one possible path for a program to follow
  • list: a dynamic data structure that can contain items of different data types
  • data structure: a way of organising and storing data in a computer
  • index: the location of items or elements in a list, array or string

Common Mistakes To Avoid

  • A list index starts at 1 as that is the first element in the list and should be counted as the first item.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

Lists are data structures that can store multiple related items in Python. Values held in a list are ordered by index number, with the first item in the list being stored at index [0].

2. Define this computing term and give one practical example. 'selection'

used when there is more than one possible path for a program to follow. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: A list index starts at 1 as that is the first element in the list and should be counted as the first item. Correction: In most programming languages, list indexing is zero-based, which means the index starts at 0. The number indicates the position before the value is seen.

More Lessons In This Unit

Browse all guides in the Year 9 Computing guide library.