Activity 01
Pair Activity: Card-Based Tree Construction
Provide pairs with numbered cards and blank tree diagrams. Partners take turns drawing a card, comparing its value to the current root and subtrees to insert it correctly, then verify the structure against rules. Switch roles after five insertions and discuss shape changes.
How does the shape of a tree affect the efficiency of data retrieval?
Facilitation TipFor the card-based tree construction activity, circulate and ask pairs to verbally state each comparison aloud before placing a card to reinforce decision-making.
What to look forPresent students with a sequence of numbers (e.g., 50, 30, 70, 20, 40, 60, 80). Ask them to draw the resulting binary search tree. Then, ask them to trace the path to find the value 40 and state its time complexity.