Hash Tables and Dictionaries (AQA A-Level Computer Science): Flashcards

📚Flashcards
Hash Tables and Dictionaries
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

10 cards from this deck

Show

Hash table structure

Data structure with table/array & key for storing key/value pairs

Key/value pair in hash table

Key combined with its associated data

Hashing algorithm function

Creates unique index from key data to locate storage position

Collision in hashing

When algorithm produces same index for different keys

Chaining technique

Adding key/value pair to linked list at same index when collision

Rehashing technique

Running hashing algorithm again when collision occurs

Dictionary data structure

Abstract data type that maps keys to data (associative array)

Cache memory definition

High-speed temporary storage area for frequently accessed data

Load factor in hash tables

Ratio of occupied indices to total indices available

Checksum purpose

Verify whether data has been corrupted during transmission

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.