Searching and Sorting Algorithms

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary related to searching and sorting algorithms as discussed in the lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

Linear Search

An algorithm that sequentially examines each element in an array until the desired value is found.

2
New cards

Binary Search

An efficient algorithm that requires sorted data and repeatedly divides the search interval in half to locate a value.

3
New cards

Bubble Sort

A sorting algorithm that repeatedly compares adjacent elements and swaps them if they are in the wrong order, continuing until no swaps are needed.

4
New cards

Selection Sort

A sorting algorithm that divides the input into a sorted and an unsorted region, repeatedly selecting the smallest element from the unsorted region and moving it to the sorted region.

5
New cards

Search Algorithm

A procedure for finding an item or value within a list of information.

6
New cards

Tradeoff

A compromise between the benefits and disadvantages of an algorithm, such as ease of implementation versus efficiency.

7
New cards

Array

A collection of elements, typically of the same data type, stored in contiguous memory locations.

8
New cards

Efficiency

The effectiveness of an algorithm in terms of time and resources required to complete its task.

9
New cards

Comparison

An operation that determines the relative order of two values, commonly used in search and sort algorithms.

10
New cards

Parameter

A variable used in a function to accept input during its call, enabling the function to operate on varying data.