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 https://blog.teachcomputing.org/approaches-to-developing-progression  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.

These teaching resources are published under the Open Government License v 3.0

Resources

Python programming with sequences of data overview

This resource provides a unit overview for the Year  9 ‘Python programming with sequences of data’ unit of work. It gives a clear overview of objectives to be covered within each session and a learning graph to show the range of skills being...

Lesson 1 - Warm up

This introductory lesson serves a double purpose: it reconnects students with Python, making sure they can read and create simple programs that use selection, and it also takes a step forward, providing a very gentle introduction to lists.

...

Lesson 2 - Playlist

This lesson provides students with an overview of the operations that are commonly performed on lists: adding, removing, or modifying items; locating or counting occurrences of particular items, etc. Students are presented with a set of short...

Lesson 3 - In a while, crocodile

This lesson revolves around iteration using while loops, offering students a chance to retrieve and apply relevant knowledge. In the first activities, students will practise using list operations in iterative contexts.

Students will be introduced to the similarities between lists and strings, which will be...

Pages

Published by

Actions

Share this resource