Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Explain efficiency.
- ✓Find the bottleneck.
- ✓Measure, then optimize.
- ✓Think about scale.
How do you make a slow program faster — without just guessing?
Order the Optimization Steps
Project this and have students put the steps for speeding up code in order.
55 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Hook — Why So Slow?
An app lags with lots of data — where do you even start?
👩🏫 Teacher Moves
- Pose the question.
- Share ideas.
- Set the goal.
🎒 Student Actions
- Think.
- Share.
- Get ready.
Use — Program Efficiency
Students learn.
👩🏫 Teacher Moves
- Send students to Order the Optimization Steps.
- Order the steps.
- Note measure before optimizing.
🎒 Student Actions
- Order.
- Say.
- Note it.
Modify — Trace It
Students practice.
👩🏫 Teacher Moves
- Say why we measure first.
- Define a bottleneck.
- Name a way code gets slow.
🎒 Student Actions
- Say.
- Define.
- Name.
Create — Reason It
Students apply.
👩🏫 Teacher Moves
- Pick a slow task.
- Guess its bottleneck.
- Suggest a faster approach.
🎒 Student Actions
- Pick.
- Guess.
- Suggest.
Reflect — Reflect
Students close.
👩🏫 Teacher Moves
- Say the first step.
- Define a bottleneck.
- 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.
Evaluate algorithms for efficiency and correctness.
Evaluate and refine solutions for performance.
Use and adapt algorithms for a problem.
Reason about efficiency and scale.
One lesson, every learner
Multilingual Learners
- Optimization-step cards.
- Frame: "first measure, then ___."
- Use a slow-vs-fast example.
Support & Access
- Use 3 core steps.
- Use a visual.
- One concrete example.
Stretch & Extend
- Compare two algorithms’ speed.
- Intro Big-O notation.
- Profile a real program.
What to gather
- 📽️Screen / board
- ⚡Optimization cards
- 💻Order the Optimization Steps
- 📊Timing sheet
- 📓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: making programs faster.
Have students pick a slow task and suggest a faster approach. A printable timing 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
- make faster or leaner
- how fast it runs
- find where time is spent
- time how long it takes
- the slowest part
- how well a program uses time/space
- handle more data/users
- a step-by-step method
Part B · Show what you learned
- What is the first step to speed up code?
- What is a bottleneck?
- Why measure before optimizing?
Part B: 1) Measure how slow it really is. 2) The slowest part of the program. 3) So you fix the real slow part, not a guess.