IB Computer - Algorithm

studied byStudied by 8 people
5.0(1)
Get a hint
Hint

Algorithm

1 / 12

13 Terms

1

Algorithm

A step-by-step procedure for solving a problem or performing a task, typically expressed in pseudocode or a programming language.

New cards
2

Data Structure

A way of organizing and storing data to enable efficient access and modification. Examples include arrays, linked lists, trees, and graphs

New cards
3

Linear Search

A simple searching algorithm that checks each element of a list sequentially until the target element is found or the list ends.

New cards
4

Binary Search

An algorithm for traversing or searching tree or graph data structures, starting from the root and exploring as far as possible along each branch before backtracking.

New cards
5

Depth-First Search (DFS)

An algorithm for traversing or searching tree or graph data structures, starting from the root and exploring as far as possible along each branch before backtracking.

New cards
6

Breadth-First Search (BFS)

An algorithm for traversing or searching tree or graph data structures, starting from the root and exploring all neighbors at the present depth level before moving on to nodes at the next depth level.

New cards
7

Bubble Sort

A simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.

New cards
8

Selection Sort

A sorting algorithm that divides the list into a sorted and an unsorted part, repeatedly selecting the smallest (or largest) element from the unsorted part and moving it to the sorted part.

New cards
9

Insertion Sort

A sorting algorithm that builds the final sorted array one item at a time, inserting each new element into its proper place among the already sorted elements.

New cards
10

Merge Sort

A divide-and-conquer sorting algorithm that divides the list into halves, recursively sorts each half, and then merges the sorted halves to produce the final sorted list.

New cards
11

Quick Sort

A divide-and-conquer sorting algorithm that selects a 'pivot' element, partitions the array around the pivot, and recursively applies the same process to the sub-arrays.

New cards
12

Dynamic Programming

A method for solving complex problems by breaking them down into simpler subproblems, storing the results of subproblems to avoid redundant computations.

New cards
13

Optimal Substructure

A property of a problem that indicates an optimal solution can be constructed from optimal solutions to its subproblems.

New cards

Explore top notes

note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 26 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (27)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (322)
studied byStudied by 314 people
... ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (45)
studied byStudied by 96 people
... ago
5.0(4)
flashcards Flashcard (78)
studied byStudied by 34 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 488 people
... ago
5.0(14)
robot