Activity 01
Pair Challenge: Nested Pattern Builder
Pairs select a simple shape and use an outer loop for rows with an inner loop for columns, like drawing a grid. They adjust repeat numbers to vary size, then swap devices to extend each other's patterns. End with a quick share of one discovery.
Design a program that uses nested loops to create intricate patterns or process multi-dimensional data.
Facilitation TipDuring Pair Challenge: Nested Pattern Builder, circulate and ask each pair to explain their pattern’s structure before coding to ensure they plan the nesting logic first.
What to look forPresent students with a simple visual pattern created with code. Ask them to identify the type of loop used (e.g., repeat X times) and how many times it repeats. Then, show a slightly more complex pattern and ask them to predict how a nested loop might create it.