Introduction to Data Structures

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

1/33

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering introductory concepts of data structures, algorithms, classification, linear and non-linear lists, stacks, queues, trees, graphs, and hashing based on Lecture 1.

Last updated 4:28 PM on 10/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Data Structure

A systematic way of organizing, storing, and managing data in a computer so that it can be accessed, modified, and processed efficiently.

2
New cards

Logical Structure

The abstract perspective of a data structure representing how data elements relate to one another (e.g., linear, tree, or graph).

3
New cards

Storage Structure

The physical representation of data elements in computer memory (e.g., arrays or linked blocks).

4
New cards

Abstract Data Type (ADT)

A mathematical model for data structures that specifies what operations can be performed (interface and contract), without defining how they are implemented.

5
New cards

Algorithm

A step-by-step procedure or set of instructions used to solve a problem.

6
New cards

Primitive Data Structure

Basic, built-in data types provided directly by a programming language that store simple, single values (such as integers, floats, characters, and pointers).

7
New cards

Non-Primitive Data Structure

Complex data structures built from primitive data types that store multiple values and model relationships among data.

8
New cards

Linear Data Structure

A data structure where elements are arranged in a sequential order, with each element (except the first and last) having a single predecessor and a single successor.

9
New cards

Non-Linear Data Structure

A data structure where elements are arranged hierarchically or as a network, allowing an element to connect with multiple other elements.

10
New cards

Array

A collection of homogeneous elements (same data type) stored in contiguous memory locations and accessed using an index.

11
New cards

Linked List

A dynamic data structure consisting of a collection of nodes, where each node stores data and a reference or pointer to the next node.

12
New cards

Singly Linked List

A type of linked list in which each node contains a pointer that references only the next node in the sequence.

13
New cards

Doubly Linked List

A linked list in which each node contains two pointers: one pointing to the next node and one pointing to the previous node.

14
New cards

Circular Linked List

A linked list variation in which the pointer of the last node points back to the first node instead of null.

15
New cards

Doubly Circular Linked List

A linked list variation where nodes link forward and backward, with the last node connecting back to the first node to form a complete loop.

16
New cards

Stack

A linear data structure that restricts insertion and removal of elements to one end called the top, following a Last In, First Out (LIFO) protocol.

17
New cards

PUSH

The stack operation used to insert a new element at the top of the stack.

18
New cards

POP

The stack operation used to remove the most recently added element from the top of the stack.

19
New cards

Stack Overflow

A condition that occurs when an attempt is made to PUSH an element onto a stack that is already full.

20
New cards

Stack Underflow

A condition that occurs when an attempt is made to POP an element from an empty stack.

21
New cards

Queue

A linear data structure where elements are added at the REAR end and removed from the FRONT end, following a First In, First Out (FIFO) protocol.

22
New cards

ENQUEUE

The queue operation used to insert an element at the REAR of the queue.

23
New cards

DEQUEUE

The queue operation used to remove an element from the FRONT of the queue.

24
New cards

Tree

A non-linear data structure consisting of a finite set of nodes organized hierarchically starting from a special root node, containing no cycles.

25
New cards

Root Node

The top node of a tree structure from which all hierarchical child node relationships descend.

26
New cards

Leaf Node

A node in a tree structure that has no child nodes.

27
New cards

Graph

A non-linear data structure G=(V,E)G = (V, E) consisting of a set of vertices VV (nodes) and a set of edges EE representing connections between pairs of vertices.

28
New cards

Directed Graph (Digraph)

A graph in which all edges have a specified direction connecting one vertex to another.

29
New cards

Weighted Graph

A graph in which edges are assigned specific numerical values representing costs, distances, or times.

30
New cards

Connected Graph

A graph in which a path exists between every pair of vertices.

31
New cards

Hashing

A technique that converts a key into an array index using a hash function (index=h(key)index = h(key)) to enable direct, fast data access.

32
New cards

Collision (Hashing)

A condition in hashing that occurs when two distinct keys map to the exact same index location.

33
New cards

Chaining

A collision resolution technique in hashing where elements mapping to the same index are stored together in a linked list at that index.

34
New cards

Open Addressing

A collision resolution technique in hashing that searches for another available empty slot in the array when a collision occurs.