Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Use string methods.
- ✓Transform text.
- ✓Split & replace.
- ✓Process strings.
What built-in tools does Python give you for working with text?
Match the String Method
Project this and match each method to what it does — tap the method, then tap its job.
55 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Hook — Text Tools
Need to lowercase a name or split a sentence — do you code it from scratch?
👩🏫 Teacher Moves
- Pose the question.
- Share ideas.
- Set the goal.
🎒 Student Actions
- Think.
- Share.
- Get ready.
Use — String Methods
Students learn.
👩🏫 Teacher Moves
- Send students to Match the String Method.
- Match each one.
- Note methods return new strings.
🎒 Student Actions
- Match.
- Say.
- Note it.
Modify — Use It
Students practice.
👩🏫 Teacher Moves
- Uppercase a word.
- Split a sentence.
- Replace a word.
🎒 Student Actions
- Upper.
- Split.
- Replace.
Create — Create
Students apply.
👩🏫 Teacher Moves
- Clean up some text.
- Chain two methods.
- Count characters.
🎒 Student Actions
- Clean.
- Chain.
- Count.
Reflect — Reflect
Students close.
👩🏫 Teacher Moves
- What does .split() do?
- What does len() do?
- Complete the exit ticket.
🎒 Student Actions
- Say it.
- Say it.
- Complete the exit ticket.
Built to the standards you report on
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Use built-in methods on strings.
Develop programs that process text.
Test string-handling code.
Use tools to manipulate data.
One lesson, every learner
Multilingual Learners
- Method/job cards.
- Frame: "upper() makes it ___."
- Demo each live.
Support & Access
- Match upper & lower.
- Use 3 methods.
- Use examples.
Stretch & Extend
- Chain several methods.
- Use .strip() and .find().
- Build a text cleaner.
What to gather
- 🔤Method cards
- 📽️Screen / board
- 💻Match the String Method
- 💻Python
- 📓Notebooks
- 🎫Exit-ticket slips
Key terms — hover for a quick definition
Exit Ticket
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Reflect: string methods.
Have students clean up text using string methods. A printable method sheet is in the CS library.
Study the key terms
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
Nice work!
Check your understanding
A quick self-check with instant feedback, drawn from this lesson’s key terms.
Nice work!
Printable worksheet
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.
Part A · Write the word that matches each meaning
- swap text
- make uppercase
- text data
- break into a list
- make lowercase
- an action on a value
- combine methods
- count characters
Part B · Show what you learned
- What does .split() do?
- What does len() do?
- What does .replace(a, b) do?
Part B: 1) Breaks a string into a list of parts. 2) Counts the characters in a string. 3) Swaps one piece of text for another.