DSALGO L1 INTRO Notes - Data Structures and Algorithms (Vocabulary)

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

1/41

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key data structures, abstract data types, hashing, trees, and algorithm concepts from the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

Data Structures

A particular way of organizing data in a computer to be used efficiently; involves arranging data in memory to represent values of an abstract data type and is key to designing efficient algorithms.

2
New cards

Pointer

A value that specifies a memory address, enabling the program to fetch and store data at that location.

3
New cards

Memory Address

A bit string representing a location in memory where data is stored.

4
New cards

Array

A fixed-length, ordered collection of values of the same type stored contiguously in memory; can be one- or two-dimensional; elements identified by indices.

5
New cards

Array Element

An individual value stored in an array, accessed via an index.

6
New cards

Matrix

A two-dimensional array (rows and columns) used to store data in a grid-like structure.

7
New cards

List

An abstract data type representing a sequence of values (duplicates allowed) with two main forms: one optimized for first-element/rest access and one with random access via an indexer.

8
New cards

Linked List

A list implemented as nodes where each node contains data and a link (reference) to the next node; allows insertions/removals without shifting and need not be stored contiguously.

9
New cards

Node

A basic element in a linked data structure that contains data and a link to another node.

10
New cards

Stack

An abstract data type with push (add) and pop (remove); follows Last-In-First-Out (LIFO) order; top is the accessible end of the structure.

11
New cards

Push

The operation to add an item to the top of a stack.

12
New cards

Pop

The operation to remove the top item from a stack.

13
New cards

Peek/Top

The operation to view the top item of a stack without removing it.

14
New cards

Queue

An abstract data type where elements are kept in order with First-In-First-Out (FIFO) semantics; insert at rear, remove from front.

15
New cards

Enqueue

The operation to add an element to the rear of a queue.

16
New cards

Dequeue

The operation to remove an element from the front of a queue.

17
New cards

Front

The front element of a queue (or the front end of a data structure).

18
New cards

Hashing

A method for storing and retrieving records by computing a table index using a hash function so records are placed in a hash table.

19
New cards

Hash Table

An array used to store records in a hashing scheme.

20
New cards

Hash Function

A function that computes the index in the hash table from a search key.

21
New cards

Slot

A position (index) in the hash table where a record can be stored.

22
New cards

M

The number of slots in the hash table; slots are numbered 0 to M-1.

23
New cards

Tree

A data structure made of nodes (vertices) and edges with no cycles.

24
New cards

Root

The top node of a non-empty tree.

25
New cards

Null or Empty Tree

A tree with no nodes.

26
New cards

Abstract Data Type (ADT)

A mathematical model for a class of data structures with similar behavior, defined by the operations that may be performed and the mathematical pre-conditions/constraints on effects.

27
New cards

Abstract Array

An abstract data type representing an array with operations such as adding, sorting, and searching.

28
New cards

Abstract List

An abstract data type representing a list with operations like inserting, searching, and deleting.

29
New cards

Abstract Stack

An abstract data type with operations push, pop, and top/peek.

30
New cards

Abstract Queue

An abstract data type with operations enqueue, dequeue, and front.

31
New cards

Abstract Hashing

An abstract data type focusing on storing and retrieving records using hashing (add/delete) and hashing structures.

32
New cards

Abstract Tree

An abstract data type focusing on tree structures and their operations.

33
New cards

Algorithm

A finite sequence of steps for solving a computational task; may be described in human language, pseudocode, or flowcharts; must terminate with a result.

34
New cards

Pseudocode

An informal, high-level description of an algorithm using the structure of programming languages but meant for human reading, omitting nonessential details.

35
New cards

Flowchart

A diagrammatic representation of an algorithm or process using standard symbols connected by arrows.

36
New cards

Terminal

symbol indicating the start or end of a process.

37
New cards

Input/Output

symbol indicating input or output operations.

38
New cards

Process

symbol representing a data-processing step.

39
New cards

Decision

symbol indicating a branching decision point.

40
New cards

On-page Connector

symbol used to connect parts of a flowchart on the same page.

41
New cards

Off-page Connector

symbol used to connect parts of a flowchart across pages.

42
New cards

Comment

symbol used to include explanatory statements.