Activity 01
Pair Programming: Comment Relay
Pairs alternate writing code for a simple function, like a sorting algorithm, then switch to add comments explaining logic without seeing the partner's notes. They review together, refining comments for clarity. End with a class share-out of best examples.
Explain the purpose of internal and external documentation in software projects.
Facilitation TipDuring Pair Programming: Comment Relay, sit nearby to listen for pairs negotiating which parts of the code need the most explanation.
What to look forPresent students with a short, uncommented code snippet containing a simple loop or conditional statement. Ask them to write one concise inline comment explaining its purpose. Review responses for accuracy and clarity.