Skip to main content

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
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

GCSE revision

A comprehensive range of content and helpful practice questions are also available for this topic.

Help us make these resources better

Provide your feedback

Or email us at [email protected]