vocab Flashcards

1
Q

arithmetic sequence

A

a sequence is equal to the number before plus a constant

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

Geometric sequence

A

a sequence equal to the number before times the a constant

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

(spped of algerathem )

A

df

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

best case
worst case - we use worst case to guarantee performance
average case

A

sdf

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

asymptotic notations

A
  1. Big O
  2. Big omega
  3. theta
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

logarithm

A

A logarithm answers the question “How many of one number do we multiply to get another number?”

Example How many 2s need to be multiplied to get 8?
Answer: 2 × 2 × 2 = 8, so we had to multiply 3 of the 2s to get 8

We say the logarithm of 8 with base 2 is 3

In fact these two things are the same:

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

algorithm

A

algorithm is any well-defined computational procedure that takes
some value, or set of values, as input and produces some value, or set of values, as
output.

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

Data structures

A

data structure is a way to store

and organize data in order to facilitate access and modifications

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

NP-complete

A

problems for which no efficient solution is known

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

Parallelism

A

“multithreaded” algorithms,

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

input size

A

number of items in the inpu

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

running time

A

running time of an algorithm on a particular input is the number of primitive
operations or “steps” executed

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

Analyzing algorithms

A

combo of running time and input size

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

Order of growth or order of growth,

A

constant factors are less significant than the rate of growth
in determining computational efficiency for large inputs

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

asymptotic efficiency of algorithms

A

input sizes large enough to make only the order of growth of

the running time relevant

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

Divide-and-Conquer- recursive

case

A

When the subproblems are large enough to solve recursively

17
Q

Divide-and-Conquer- base

case

A

subproblems become small enough that we no longer recurse,
we say that the recursion “bottoms out” and that we have gotten down to the base
case.

18
Q

Θ

A

Big Theta - after point x f(n) > g(n) and f(n)

19
Q

Ω

A

Big Omega - after point x f(n) > g(n) or f(n) = Ω(g(n))

20
Q

O

A

Big O Big Theta - after point f(x) is

21
Q

asymptotically tight bound

A

xxxx

22
Q

asymptotically nonnegative

A

xxx

23
Q

asymptotically positive

A

xxxx