Analysis and Design of Algorithms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/13

flashcard set

Earn XP

Description and Tags

These flashcards cover essential vocabulary relevant to the Analysis and Design of Algorithms, focusing on definitions and key concepts discussed in the lecture.

14 Terms

1
New cards

Algorithm

A set of computational steps for solving a well-specified computational problem.

2
New cards

Input

Values that an algorithm receives from a specified set.

3
New cards

Output

Values that an algorithm produces from input values, representing the solution to the problem.

4
New cards

Definiteness

The steps of the algorithm must be defined precisely.

5
New cards

Correctness

An algorithm should produce the correct output values for every set of input values.

6
New cards

Finiteness

An algorithm must produce the desired output after a finite number of steps.

7
New cards

Effectiveness

Each step of an algorithm must be performed exactly and in a finite amount of time.

8
New cards

Generality

The algorithm should apply to all problems of the desired form, not just a specific set of inputs.

9
New cards

Time Complexity

A function that describes the amount of time required to run an algorithm in relation to the size of the input.

10
New cards

Space Complexity

A function that describes the amount of memory an algorithm uses in relation to the size of the input.

11
New cards

Worst-case analysis

The scenario that requires the maximum number of operations to be executed.

12
New cards

Best-case analysis

The scenario that requires the minimum number of operations to be executed.

13
New cards

Insertion Sort

An efficient algorithm for sorting a small number of elements, resembling how people sort playing cards.

14
New cards

Sieve of Eratosthenes

An algorithm for finding all prime numbers up to a specified integer n.