GCSE – Lesson 30 – List methods

Curriculum KS4 Unit Lesson

This lesson introduces learners to the many other list methods that can be used in programming. These were briefly introduced at the end of the last lesson. It also demonstrates that a list can be traversed using a for loop in much the same way as we can iterate over a string. Learners will complete an activity where they populate a deck of cards and perform some list operations and methods on the deck. Finally, learners will be shown that lists can be returned from a function. Live coding will be used to demonstrate how to do this, and how to create custom built functions.

Learning objectives

  • Traverse a list of elements
  • Use list methods
  • Create a function that returns a list
  • Import custom built functions

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework