Read the case and decide
Learning goal: Explain why a running total stays correct after each item is processed.
You are returning a practice response in a Grade 12 class. The next task will be similar, but you want students to revise their reasoning rather than copy a correction. You have room for one actionable comment.
What you didn’t know yet
Original, simulated material for this case.
Here is the specific issue in this simulated response: A student gives the final sum 10 but says total should hold the current item rather than the sum so far.
The learning criterion that the comment needs to make clear: After processing k items, total equals the sum of those k items; initialization and each update maintain the relationship.
Make your next decision
Give one actionable revision comment
Keep what works in your response. Revisit the step where you need to explain why a running total stays correct after each item is processed. Revise that step and tell me what you changed and why. Try it again on this example: Trace a running count of positive entries for 0, 4, −3, 2. State what the count should mean after the third item.
What to look for: After processing k items, total equals the sum of those k items; initialization and each update maintain the relationship. In the new example: Count is 1 after the third item and 2 at the end; the invariant counts only positive entries already examined.
Learning progression: what to look for next
These are possible patterns of reasoning, not fixed stages or a validated scale. Use what students show to decide whether to reteach, adjust support, or give a new challenge.
- Starting evidenceA student gives the final sum 10 but says total should hold the current item rather than the sum so far.
- A scaffold to tryTrace a running-total loop on values 4, −1, and 7 and verbalize what total represents immediately before and after each iteration.
- Independent checkTrace a running count of positive entries for 0, 4, −3, 2. State what the count should mean after the third item. Evidence to look for: Count is 1 after the third item and 2 at the end; the invariant counts only positive entries already examined.
Reflect and decide what to do next
- Which words in my feedback made the next action clear?
- Did students apply the revision to a new example without the same comment?
Why this works
Action-oriented feedback names the next move and keeps responsibility for the revision with the student. A fresh attempt helps show whether the feedback was understood.
Your teaching plan
Edit this plan for your setting. Don’t enter student names or identifying details. Nothing is saved or sent by the Lab.
Reasoning about an invariant: What feedback would help?
Grade 12 · Computer Science
Standards connection: 9-12.CT.8 (related): Explain why a running-total loop stays correct. Reasoning about the loop supports program development using control structures.