Activity 01
Pair Programming: Looping Dance
In pairs, students select a ScratchJr character and use a for loop to repeat three dance moves, like spin, jump, slide. Partners alternate coding and testing, then perform routines for the class. Discuss why the loop saves time.
Differentiate between 'for' and 'while' loops and their appropriate use cases.
Facilitation TipDuring Pair Programming: Looping Dance, circulate to ensure both partners take turns coding and explaining the loop blocks they use.
What to look forPresent students with two short code snippets, one using a 'for' loop and one using a 'while' loop, to achieve a similar repetitive outcome. Ask students to identify which loop is used in each snippet and explain why it is appropriate for that task.