EXAM FOR TOMORROW

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

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

Execute them and produce desired outcomes

Algorithms are implemented in various programming languages, enabling computers.

2
New cards

Modularity

described as breaking down a problem into small-small modules or steps.

3
New cards

Scalability

quality of a good algorithm that ensure it can handle larger data sets without a significant decrease in performance.

4
New cards

Efficiency

the quality of a good algorithm that perform its task quickly and use minimal resources.

5
New cards

Functionality 

factor of an algorithm that consider various logical steps to solve a real-world problem.

6
New cards

Limitations

disadvantage of algorithms relates to the fact that some problems may not have efficient solutions.

7
New cards

Reliability

the quality of a good algorithm that is defined as its ability to consistently deliver correct results under different conditions.

8
New cards

Algorithmic complexity

The amount of time required by an algorithm for a specific input size.

9
New cards

The complexity of the underlying algorithm

is considered a significant factor in an algorithm's complexity.

10
New cards

To describe the limiting behavior of an algorithm's running time as the input size grows

the purpose of asymptotic analysis.

11
New cards

Worst, Best, and Average.

the three types of time required by an algorithm.

12
New cards

Worst case

is most commonly used when analyzing an algorithm.

13
New cards

The upper bound of an algorithm's running time, or the worst-case scenario -

Big O notation (O) represent

14
New cards

The best-case time complexity, or the lower bound of an algorithm's running time

Big Omega notation (Ω) represent

15
New cards

A tight bound that expresses both the lower and upper bounds of an algorithm's running time.

-Big Theta notation (Θ) represent.

16
New cards

A binary search.

an example of an algorithm with O(log n) time complexity.

17
New cards

Linear

example of time complexity is O(n).

18
New cards

Maintainability

factor of an algorithm means it should be designed in a straightforward, structured way to avoid significant changes when it is redefined.

19
New cards

Optimality

 The quality of a good algorithm that involves striving for the most efficient solution within given constraints.

20
New cards

Robustness

the term for an algorithm's ability to handle unexpected inputs or errors gracefully without crashing.

21
New cards

Reproducibility

advantage of algorithms related to them yielding consistent results when provided with the same inputs.

22
New cards

Clarity 

quality of a good algorithm makes it easy to understand and comprehend.

23
New cards

Extensibility

factor of an algorithm is defined by its ability to be used by another algorithm designer or programmer.

24
New cards

Simplicity

the quality of a good algorithm that relates to keeping it as simple as possible while still meeting its requirement.

25
New cards

Efficiency

advantage of algorithm is related to streamlining processes, leading to faster and more optimized solutions.

26
New cards

Adaptability

the term for an algorithm's ability to be applied to a range of related problems with minimal adjustments.

27
New cards

The amount of memory it requires as a function of the input size.

Is the space complexity of an algorithm?

28
New cards

They provide a guarantee on the algorithm's performance in the worst-case scenario.

Why are upper complexity bounds, like Big O notation, particularly important?

29
New cards

Accessing an element in an array by index.

An example of a constant time (O(1)) operation

30
New cards

What does it mean if an algorithm has constant space complexity, O(1)?

The amount of memory required remains constant regardless of the input size.

31
New cards

serves as a set of commands for a computer to perform tasks

primary purpose of an algorithm.

32
New cards

flowchart or pseudocode

one way to represent an algorithm

33
New cards

Input, Processing Unit, Output

 three main parts of an algorithm

34
New cards

Output

referred to as the "outcome or result of the program".

35
New cards

Efficiency

a key aspect of algorithms that aims to accomplish tasks quickly with minimal resources.

36
New cards

Backtracking Algorithm

is a trial-and-error technique that explores potential solutions by undoing choices when they lead to an incorrect outcome.

37
New cards

To arrange elements in a specific order

 The purpose of a Sorting Algorithm

38
New cards

It exhaustively tries all possible solutions

the approach of Brute Force Algorithm to solve its problem of high time complexity.

39
New cards

Divide and Conquer Algorithm

breaks a complex problem into smaller subproblems, solves them independently, and then combines their solutions.

40
New cards

ransforms data into a secure, unreadable form

 the primary function of an Encryption Algorithm.

41
New cards

finds a global optimum

the goal of a Greedy Algorithm

42
New cards

Optimization

algorithm designers constantly seek to do to make algorithms faster and more reliable.

43
New cards

Numbers, text, or images

 some examples of input formats for an algorithm.

44
New cards

aid in the understanding of scalability

The key reason for using an algorithm, especially when dealing with a sizable real-world problem.

45
New cards

Randomized Algorithm

utilizes randomness in its steps to achieve a solution?

46
New cards

breaks a problem into smaller, similar subproblems and repeatedly applies itself 

the main characteristic of a Recursive Algorithm.

47
New cards

convert data into a fixed-size hash value

The purpose of a Hashing Algorithm.

48
New cards

store and reuse intermediate results to avoid redundant computations

The key feature of a Dynamic Programming Algorithm.