Algorithm
| Term | Algorithm |
|———–|————————————————————————————————|
| Characteristics | **Step-by-step procedure**: A clear set of instructions to solve a problem or perform a task.
**Finite**: Must have a defined number of steps and terminate after completion.
**Input and output**: Takes input values and produces output results.
**Deterministic**: Each step is precisely defined and unambiguous.
**Effective**: Each step is basic enough to be carried out exactly and in a finite amount of time. |
| Examples | **Sorting algorithms**: Bubble sort, quicksort, merge sort.
**Search algorithms**: Binary search, linear search.
**Encryption algorithms**: RSA, AES.
**Pathfinding algorithms**: Dijkstra’s algorithm, A* algorithm. |
Aggregation
| Term | Aggregation |
|————–|————————————————————————————————|
| Characteristics | **- Combining multiple pieces of data into a single summary value** |
| | **- Used to simplify large datasets for analysis** |
| | **- Common in data analysis, reporting, and database queries** |
| Examples | **- Summing sales figures to get total revenue** |
| | **- Calculating average test scores for a class** |
| | **- Counting the number of customers in a database** |