Activity 01
Simulation Game: Human Heap Construction
Write numbers on index cards and have students arrange themselves to form a valid max-heap, where each person must hold a number larger than both their children. Insert new students one at a time and ask the class to determine where they go and which swaps are needed to restore the heap property.
Explain how a heap maintains its properties during insertion and deletion operations.
Facilitation TipDuring Human Heap Construction, walk the room holding a deck of numbered cards and physically re-shape the heap whenever a swap is called for so every student sees the tree rebalance in real time.
What to look forPresent students with an array representing a max-heap. Ask them to identify the parent and child nodes for a given element and explain why the heap property holds. Then, ask them to demonstrate the first step of extracting the maximum element.