Programming and Data Structures





Programming and Data Structures Glossary


Programming and Data Structures Glossary

Programming

The process of writing instructions (code) that a computer can execute to perform specific tasks.

Diagram: Flowchart with Input → Process → Output.

Programming in C

C is a general-purpose, procedural language known for efficiency, portability, and close-to-hardware programming. It supports functions, pointers, arrays, and file I/O.

Diagram: Structure of a C program (Preprocessor → main() → Functions).

Recursion

A technique where a function calls itself to solve smaller subproblems, with a base case to terminate recursion.

Diagram: Recursive tree expansion for factorial(n).

Arrays

A collection of elements of the same data type stored in contiguous memory, accessed by index.

Diagram: Memory blocks labeled array[0], array[1], array[2] …

Stacks

A linear data structure following LIFO (Last In First Out). Supports push, pop, and peek operations.

Diagram: Stack of plates representation with Push/Pop arrows.

Queues

A linear data structure following FIFO (First In First Out). Supports enqueue and dequeue operations.

Diagram: Queue line with arrows showing Enqueue at rear and Dequeue at front.

Linked Lists

A dynamic data structure consisting of nodes where each node has data and a pointer to the next node.

Diagram: Node boxes linked by arrows (Head → Node1 → Node2 → NULL).

Trees

A hierarchical data structure with parent-child relationships. The top node is the root, and leaves have no children.

Diagram: Root with left and right children forming a binary tree.

Binary Search Trees (BST)

A binary tree where left child values are smaller and right child values are larger than the parent, enabling fast search.

Diagram: BST with Root 15, left child 10, right child 20.

Binary Heaps

A complete binary tree with heap property: Max-Heap (parent ≥ children) or Min-Heap (parent ≤ children).

Diagram: Heap tree with root larger than children (Max-Heap).

Graphs

A set of vertices (nodes) connected by edges, used to model networks and relationships.

Diagram: Graph with nodes A, B, C connected by edges.


TECH TALENTS
Average rating:  
 0 reviews
Social Share Buttons and Icons powered by Ultimatelysocial
Scan the code