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 17 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 165 people
Updated ... ago
5.0 Stars(4)
note Note
studied byStudied by 236 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 146 people
Updated ... ago
4.7 Stars(3)

Explore top flashcards

flashcards Flashcard79 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard21 terms
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard52 terms
studied byStudied by 28 people
Updated ... ago
4.5 Stars(2)
flashcards Flashcard75 terms
studied byStudied by 40 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard58 terms
studied byStudied by 23 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard24 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 29 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard41 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(1)