GCSE – Lesson 26 – String handling I
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
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.