Module 2: Fundamentals of Analysis of Algorithm Efficiency Flashcards

1
Q

Plot running time T(N) vs. input size N.

A

Standard Plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Plot running time T(N) vs input size N using log-log scale.

A

Log-log Plot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sum of cost x frequency for all operations.

A

Total running time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Cost dependents on machine, _____?

A

Compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Frequency depends on algorithm, _____?

A

Input data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

THe small set of functions 1(constant), log n(lagorithmic), n(linear), n log n(lenearithmic), n^2(quadratic), n^3(cubic), and 2^n(exponential). Suffices to describe the order-of-growth of typical algorithms.

A

Common Order-Of-Growth Classifications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly