Skip to content
Computing · Secondary 3

Active learning ideas

Pattern Recognition: Finding Similarities

Active learning works for pattern recognition because students need to see, touch, and adapt patterns with their own hands to truly internalize them. When they compare, match, and modify solutions, abstract ideas become concrete tools they can reuse. This hands-on engagement builds the flexible thinking required for efficient algorithm design.

MOE Syllabus OutcomesMOE: Computational Thinking - S3MOE: Algorithms - S3
25–45 minPairs → Whole Class4 activities

Activity 01

Placemat Activity30 min · Pairs

Pair Comparison: Algorithm Twins

Provide pairs with two problem cards, such as sorting student scores and arranging library books. Students list steps for each, then highlight identical patterns like comparison and swapping. Pairs share one adaptation idea with the class.

Compare the underlying patterns in two seemingly different computational problems.

Facilitation TipDuring Algorithm Twins, provide pseudocode snippets printed on separate cards so students can physically manipulate and compare them side by side.

What to look forPresent students with two short pseudocode snippets for different problems (e.g., finding the maximum value in a list and finding the earliest deadline). Ask them to identify one common pattern (e.g., sequential iteration) and explain how the core logic is similar.

UnderstandAnalyzeEvaluateSelf-AwarenessRelationship Skills
Generate Complete Lesson

Activity 02

Placemat Activity45 min · Small Groups

Small Group Puzzle Match: Pattern Hunt

Distribute problem puzzles cut into structures like loops or conditionals. Groups reassemble and match similar patterns across puzzles, such as binary search in games and databases. Record reusable solution templates.

Explain how recognizing patterns can lead to more efficient algorithm design.

Facilitation TipFor Pattern Hunt, assign roles like recorder, matcher, and presenter to ensure all students contribute to the matching process.

What to look forPose the question: 'Imagine you have a solution for finding the shortest path between two points on a map. How could you adapt this solution to find the fastest route for a delivery driver, considering traffic patterns?' Facilitate a class discussion on how the underlying pattern (shortest path) is reused.

UnderstandAnalyzeEvaluateSelf-AwarenessRelationship Skills
Generate Complete Lesson

Activity 03

Gallery Walk40 min · Whole Class

Gallery Walk: Solution Reuse

Post student-generated solutions to varied problems around the room. Class walks, notes patterns, and suggests adaptations. Vote on most reusable patterns to discuss efficiency.

Predict how a solution for one pattern might be adapted to solve another.

Facilitation TipIn Solution Reuse, display student adaptations on chart paper so the class can see how one pattern evolves into multiple solutions.

What to look forGive students a description of a new problem (e.g., finding the most frequent word in a document). Ask them to write down one existing algorithmic pattern they think could be applied and briefly explain why.

UnderstandApplyAnalyzeCreateRelationship SkillsSocial Awareness
Generate Complete Lesson

Activity 04

Placemat Activity25 min · Individual

Individual Challenge: Adapt or Invent

Give individual problems with a known pattern solution. Students decide to adapt an existing algorithm or create new, then justify in a quick share-out.

Compare the underlying patterns in two seemingly different computational problems.

Facilitation TipDuring Adapt or Invent, circulate with targeted questions like 'What part of this code stays the same?' to guide students toward identifying reusable structures.

What to look forPresent students with two short pseudocode snippets for different problems (e.g., finding the maximum value in a list and finding the earliest deadline). Ask them to identify one common pattern (e.g., sequential iteration) and explain how the core logic is similar.

UnderstandAnalyzeEvaluateSelf-AwarenessRelationship Skills
Generate Complete Lesson

A few notes on teaching this unit

Experienced teachers focus on making the invisible visible by asking students to externalize their thinking through drawings, annotations, or physical reordering of code snippets. Avoid rushing to the 'correct answer'—instead, let students debate mismatches and justify their reasoning. Research shows that when students articulate why a pattern fits, they retain it better than when they simply memorize it.

Successful learning looks like students confidently identifying core patterns across different problems and explaining how those patterns can be adapted rather than copied. They should articulate trade-offs in efficiency and justify their choices with clear reasoning. By the end, students should treat patterns as reusable templates rather than one-off solutions.


Watch Out for These Misconceptions

  • During Pair Comparison: Algorithm Twins, watch for students assuming that different problem statements mean entirely different solutions must be written.

    Use the activity’s pseudocode cards to prompt students to circle repeated structures like loops or conditionals, then ask them to explain how the same pattern solves both problems despite surface differences.

  • During Small Group Puzzle Match: Pattern Hunt, watch for students limiting their matching to problems with identical wording or context.

    Encourage students to draw arrows or use highlighters on their match sheets to show how the core logic (e.g., divide-and-conquer) appears in both sorting and searching tasks, even when contexts differ.

  • During Individual Challenge: Adapt or Invent, watch for students copying code verbatim without adjusting variables or conditions to fit the new problem.

    Have students highlight the parts of their code that stayed the same versus what they changed, using a two-column reflection sheet to articulate their adaptations clearly.


Methods used in this brief