CMP4010 Computational Thinking - Week 4: Non-Linear Data Structures

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary and concepts related to non-linear data structures in computational thinking.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Data Structures

Organized ways to store, manage, and retrieve data in a computational context.

2
New cards

Tree

A hierarchical data structure consisting of nodes, with one node as the root and other nodes as children.

3
New cards

Graph

A data structure that consists of a set of vertices connected by edges, representing relationships between pairs of elements.

4
New cards

Heap

A tree-based data structure that satisfies the heap property, where each parent node is prioritized over its children.

5
New cards

Hash Table

A data structure that uses a hash function to map keys to values for efficient data retrieval.

6
New cards

Traversal

The process of visiting each node in a data structure to access or modify its data.

7
New cards

Depth-First Traversal (DFT)

A graph traversal method that explores as far as possible down one branch before backtracking.

8
New cards

Breadth-First Traversal (BFT)

A graph traversal strategy that explores all of the neighbor nodes at the present depth prior to moving on to nodes at the next depth level.

9
New cards

Preorder Traversal

A tree traversal method where the root node is visited before its child nodes.

10
New cards

Inorder Traversal

A tree traversal method where the root is visited between its left and right child nodes.

11
New cards

Postorder Traversal

A tree traversal method where the root node is visited after its child nodes.

12
New cards

Insertion (Data Structure Operation)

Adding a new data element to a data structure.

13
New cards

Deletion (Data Structure Operation)

Removing a data element from a data structure.

14
New cards

Searching (Data Structure Operation)

Finding the location of a given data element in a data structure.

15
New cards

Sorting (Data Structure Operation)

Arranging data elements in a logical order, either ascending or descending.

16
New cards

Merging (Data Structure Operation)

Combining data elements from two or more data structures into one.

17
New cards

Complete Graph

A graph where every pair of distinct vertices is connected by a unique edge.

18
New cards

Adjacent Vertices

Two vertices in a graph that are connected by an edge.

19
New cards

Connected Graph

A graph in which there is a path between every pair of distinct vertices.

20
New cards

Max-Heap

A type of heap where the value of each node is greater than or equal to the values of its children.

21
New cards

Min-Heap

A type of heap where the value of each node is less than or equal to the values of its children.