This study notes covers Exam Tips within String Handling for GCSE Computer Science. Revise String Handling in 3.2 Programming for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This is a high-frequency topic, so it is worth revising until the explanation feels precise and repeatable. It is section 6 of 7 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Exam Tips
- 0-indexed: First character is at position 0
- Substring: substring(start, length) not substring(start, end)
- Common mistake: Forgetting strings are immutable - operations return new strings
Practice questions for String Handling
The string variable word = "Hello". What does word.length return?
Explain the purpose of the ASC() and CHR() functions in OCR pseudocode. Give one reason a programmer might need to convert between characters and their ASCII codes.