Year 10 - Computing
Substrings
Programming: strings and lists
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 10 - Computing
Programming: strings and lists
This unit introduces pupils to string-handling techniques, they will explore how a string can be iterated over using a loop and sliced to create substrings. Pupils will be introduced to arrays and lists and explore the differences between the two. They will manipulate with a variety of list methods.
You will learn to slice a string to create a substring and then use list methods on the substring.
A substring is a part of a string. Slicing can be used to separate a string into substrings.
part of a string. Add one real device or system example to prove understanding.
Mistake: Indexing starts at 1 as that is the location of the first element. Correction: In Python, and many other programming languages, indexing starts at 0.
Browse all guides in the Year 10 Computing guide library.