Hash Compression: Concepts and Techniques — Topics & Learning Outcomes

📋 Module Topics🎯 Student Learning Outcomes📚 Materials for Each Topic

Module Topics

1. Introduction to Hash Compression

Defines hash compression and explains the fundamental problem of mapping large key spaces to smaller, bounded index ranges. Establishes the motivation and core vocabulary for understanding hash functions.

Materials for topic 1 (2)

2. Modular Arithmetic as a Compression Strategy

Explores the use of the modulo operation to compress hash values into a target index range. Examines how table size selection affects the quality and uniformity of the resulting distribution.

Materials for topic 2 (2)

3. Folding and Other Compression Techniques

Introduces folding methods that divide keys into segments and combine them to produce a compressed index. Surveys additional compression strategies and compares their approaches to reducing key space.

Materials for topic 3 (2)

4. Distribution Properties of Hash Functions

Analyzes how well different compression techniques spread keys uniformly across the index range. Discusses concepts such as clustering, load factor, and what makes a distribution desirable for hash table performance.

Materials for topic 4 (2)

5. Comparing and Selecting Compression Methods

Provides a framework for evaluating trade-offs among compression strategies based on efficiency, uniformity, and implementation complexity. Guides students in choosing an appropriate method for a given use case.

Materials for topic 5 (2)

Student Learning Outcomes

By the end of this module, students will be able to:

MO1
Define hash compression and identify the core properties that distinguish an effective hash function from an ineffective one
Level: RememberType: CognitiveCourse mapping: CO1
MO2
Apply modular arithmetic, shift folding, boundary folding, digit extraction, and the mid-square method to compress a given key into a valid hash table index
Level: ApplyType: CognitiveCourse mapping: CO3
MO3
Analyze how compression technique choice, table size selection, and load factor collectively affect the uniformity of key distribution and the frequency of collisions in a hash table
Level: AnalyzeType: CognitiveCourse mapping: CO4
MO4
Evaluate trade-offs among compression strategies—including efficiency, distribution uniformity, and implementation complexity—to select an appropriate method for a specified use case
Level: EvaluateType: CognitiveCourse mapping: CO2

Course Outcomes (reference)

CO1Describe both complex and simple data structures.
CO2Select the correct data structure and algorithm to solve specific problems
CO3Implement data structures and algorithms in computer code.
CO4Analyze the performance of algorithms and data structures

Materials for Each Topic

What has been made for each topic. Materials that cover the whole module are listed on the module page.

1. Introduction to Hash Compression

↑ Back to topic 1

2. Modular Arithmetic as a Compression Strategy

↑ Back to topic 2

3. Folding and Other Compression Techniques

↑ Back to topic 3

4. Distribution Properties of Hash Functions

↑ Back to topic 4

5. Comparing and Selecting Compression Methods

↑ Back to topic 5