Activity 01
Simulation Game: Paper Hash Table
Each student group receives a set of key cards and a small table drawn on paper with 10 buckets. They design a simple hash function, insert all keys, and document every collision. Groups then compare which hash functions produced fewer collisions and discuss why, building intuition about what makes a good hash function.
Explain the mechanism of a hash table for efficient data retrieval.
Facilitation TipDuring the Paper Hash Table activity, circulate and ask each group to explain their hash function choice before they insert values to surface assumptions early.
What to look forPresent students with a small array representing a hash table and a simple hash function. Provide a list of key-value pairs. Ask students to trace the insertion of each pair, showing how collisions are handled using a specified strategy (e.g., chaining). Check their work for correct index calculation and collision management.