Introduction to Data Structures and Algorithms – Vocabulary Flashcards

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

1/27

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core terms from the lecture notes on data structures, ADTs, algorithms, and flowcharts.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

Data structures

A way of organizing data in memory to represent values of an abstract data type and enable efficient access and manipulation.

2
New cards

Abstract Data Type (ADT)

A mathematical model defining a class of data structures by their behavior (operations) and constraints, independent of implementation.

3
New cards

Array

Fixed-length, ordered collection of elements of the same type stored contiguously; 1D or 2D (matrix); indexed.

4
New cards

List

Abstract data type representing a sequence of values (duplicates allowed); has two families: front-focused and random-access interfaces.

5
New cards

Linked List

Chain of nodes with data and a link to the next node; allows efficient insertion/removal without contiguous storage.

6
New cards

Stack

Abstract data type implementing LIFO; operations: push (add), pop (remove), and top/peek; may overflow when full.

7
New cards

Queue

Abstract data type implementing FIFO; enqueue (add to rear) and dequeue (remove from front).

8
New cards

Hashing

Storing and retrieving records using a hash table and a hash function to map keys to slots.

9
New cards

Hash table

An array of slots where records are stored according to the hash function.

10
New cards

Slot

A position in a hash table, numbered from 0 to M-1.

11
New cards

Tree

A data structure of nodes connected by edges with no cycles; hierarchical with a root and children.

12
New cards

Root

The top node of a tree from which all other nodes descend.

13
New cards

Node

An element in a tree or graph containing data and references to other nodes (children/links).

14
New cards

Flowchart

A diagram showing an algorithm, workflow, or process using symbols connected by arrows.

15
New cards

Algorithm

A finite sequence of precise steps to solve a computational task; must terminate.

16
New cards

Pseudocode

An informal high-level description of an algorithm using a programming-like structure, readable by humans.

17
New cards

Human language

Expressing an algorithm in plain, natural language rather than formal code.

18
New cards

Terminal symbol

Flowchart symbol that marks the start or end of a process.

19
New cards

Input/Output (flowchart symbol)

Flowchart symbol representing input or output operations.

20
New cards

Processing (flowchart symbol)

Flowchart symbol representing a computation or processing step.

21
New cards

Decision symbol

Flowchart symbol indicating a point where a decision affects the next step.

22
New cards

On-page Connector

Flowchart symbol that connects flow lines within the same page.

23
New cards

Off-page Connector

Flowchart symbol that continues a flow line on a different page.

24
New cards

FIFO

First-In-First-Out ordering used by queues.

25
New cards

LIFO

Last-In-First-Out ordering used by stacks.

26
New cards

Hash function

Function that computes a hash index from a key to locate a record in a hash table.

27
New cards

Overflow

Condition when a data structure (like a stack) cannot accept more elements due to lack of space.

28
New cards

Null / Empty tree

A tree with no nodes.