GCSE – Lesson 26 – String handling I

Curriculum KS4 Unit Lesson

This lesson introduces learners to string-handling techniques. They will be given two new techniques to use (length and access a character), before they are given a programming challenge where they use these techniques in a ‘guess the word’ game. Next, they will be shown how a string can be iterated over using a for loop. A walk through is used to help learners build a mental model of how this works. They will then be asked to use this technique to add extra functionality to their ‘guess the word’ game. Finally, learners will explore the Python documentation for different string methods.

Learning objectives

  • Describe the function of string operators
  • Use string handling techniques
  • Use for loops with string operations

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework