IT2503 Data Structures Reviewer

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

flashcard set

Earn XP

Description and Tags

A set of 35 vocabulary flashcards covering hash tables, sets, maps, graph representations, collision handling, and search traversal concepts from the IT2503 Pre-Final Reviewer.

35 Terms

1
New cards

Load Factor

The factor that measures how full a hash table is, representing the proportion of capacity that is occupied.

2
New cards

Edges

The components that represent the connections between objects in a graph data structure.

3
New cards

Set

A data structure that stores unique elements without duplicates.

4
New cards

Map

A data structure that stores elements as key-value pairs.

5
New cards

Hashing

The process of converting a given key into another value using a hash function.

6
New cards

Ordered Set

The type of set implemented using a binary search tree.

7
New cards

Tree Map

The map type that stores elements in sorted order.

8
New cards

Unweighted Graph

A graph in which all edges have equal weight.

9
New cards

Vertices

The elements that represent the objects or nodes in a graph data structure.

10
New cards

Graph Data Structure

A collection of interconnected nodes containing data that represent relationships and connections between objects.

11
New cards

Chaining

A collision-handling technique where multiple keys share one bucket using a linked list.

12
New cards

Directed Graph

A graph where each edge has a direction representing a one-way relationship.

13
New cards

containsKey

The hash table operation that checks if a specified key exists in the table.

14
New cards

Hash Function

A mathematical function that produces a fixed-size numerical output from a given key.

15
New cards

Unordered Set

The type of set implemented using a hash table.

16
New cards

BFS Queue State at Completion

In Breadth-First Search traversal, the condition where the queue becomes empty once all reachable vertices have been visited.

17
New cards

Collision

The situation in a hash table where several different keys produce the same hash index.

18
New cards

Cyclic Graph

A graph type used to model networks where some routes form loops, such as road systems with circular paths.

19
New cards

HashMap

A data structure designed for fast average key-based lookup, best suited for storing identifiers that change frequently.

20
New cards

Linked List Map

A map data structure used when keys must be processed in the exact order they were entered, preserving insertion order.

21
New cards

Weighted Graph

A graph where edges carry values such as cost or distance, used to determine least-costly routes.

22
New cards

Load Factor Threshold Exceeded

The condition where a hash table becomes too full, causing retrieval to slow down significantly due to an excessive number of collisions.

23
New cards

Undirected Graph

A graph type where edges represent mutual, two-way connections, such as mutual friendships in a social network.

24
New cards

Chaining Collision Technique

The collision-handling approach where each hash table bucket maintains a linked list of keys that hash to that slot.

25
New cards

TreeMap for Customer Records

The collection appropriate for maintaining records sorted by key, such as ordering customer records by account number.

26
New cards

Set for Tracking Visitors

The data structure best suited for keeping track of unique entities, such as distinct website visitors, by preventing duplicate entries.

27
New cards

Prime Number Table Size

A design parameter that minimizes key clustering when implementing division-based hash functions.

28
New cards

Tree-based Set

A set represented as a binary search tree, where each node represents an individual element of the set.

29
New cards

Linear Probing

An open addressing method in which a colliding key is placed in the next available index in the table.

30
New cards

Bipartite Graph

A graph consisting of two distinct sets of vertices with edges connecting only between sets, such as students connected to enrolled courses.

31
New cards

Disconnected Graph BFS Traversal

The procedure of starting a new Breadth-First Search on each unvisited vertex or component individually to achieve complete traversal.

32
New cards

Rehashing to a Larger Size

The maintenance operation performed to restore performance when load factor is too high by rebuilding the table to a larger capacity and recomputing key indices.

33
New cards

BFS for Isolated Vertices

The method of executing Breadth-First Search from each disconnected component to identify isolated nodes or profiles in a network.

34
New cards

Division-Based Hashing Function

A hash function defined by h(k)=k mod mh(k) = k \bmod m, where choosing a prime number for the table size mm prevents clustering.

35
New cards

Rehashing at Load Factor > 0.85

The corrective procedure required when a hash table's load factor exceeds 0.850.85: resizing the table and recomputing indices for all keys.