Skip to main content

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
  • 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]