Python programming with sequences of data

This unit introduces students to how data can be represented and processed in sequences such as lists and strings. The lessons cover a range of operations on sequences of data, from accessing an individual element to manipulating the entire sequence.  Care has been taken to create a realistic and engaging selection of problems.  Students will use data from planets in the solar system , book texts, capital cities, leaked passwords, word dictionaries, ECG data, and more.

A range of pedagogical methods are  employed throughout the unit, with the emphasis on pair programming, live coding, and worked examples. 

The unit resources include a useful learning graph (.jpg file) to show how the unit content is sequenced - see this link  for an explanation.

The Year 7 units Programming essentials in Scratch part I and II, and Year 8 unit Intro to Python programming are prerequisites for this unit.  Or it is assumed that students are already able to write Python programs that display messages, receive keyboard input, use simple arithmetic expressions, and control the flow of program execution through selection and iteration structures.



Lesson 4 - The famous for

In this lesson, students will use a for-loop to iterate over list items. They will initially study a range of examples — to familiarise themselves with its syntax, use, and mechanics — before moving on to apply what they’ve learnt to similar tasks.

The activities involve iterating over lists of real-world...

Lesson 5 - Make a thing

In this lesson, students will be provided with a selection of meaningful mini-projects that will allow them to apply the knowledge and skills they have acquired so far. Each project contains a short introduction that provides context, a detailed description of what students are expected to develop, and a set of...

Lesson 6 - Wrap up

In this final lesson, students will be given the opportunity to complete their mini-project or explore a second one. They will then take a quiz that will assess their grasp of the programming concepts they have encountered throughout the unit.

This lesson is the sixth in a six session teaching unit provided...


Published by


Share this resource