First Exam Material Flashcards

1
Q

f = O(g(n)

A

Steps f less than or equal to g

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

f = Omega(g)

A

Steps f greater than or equal to g

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

f = Theta(g)

A

Steps f equal to g

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

O(n^a) compared to O(n^b)

A

O(n^a) > O(n^b) if a > b

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

O(n^5) compared to O(3^n)

A

O(3^n) > O(n^5)

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

O(3^n) compared to O(2^n)

A

O(3^n) > O(2^n)

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

O(log n ^3) compared to O(n)

A

O(n) > O(log n ^3)

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

O(n^2) compared to O(n log n)

A

O(n^2) > O(n log n)

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

log(x*y)

A

log(x) + log(y)

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

log(x/y)

A

log(x) - log(y)

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

log(x^y)

A

y log x

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

f(x) = log(x)

A

f’(x) = 1/x

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

integral(log(x))

A

x(log(x) - 1)

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

Satisfy +/- propertyn

A

For even n

1st n/2 are opposuite of n/2

wn0 = -wnn/2

wn1 = -wnn/2+1

…..

wnn/2-1 = -wnn-1

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

For n=2k

A

(nth roots)2 = n/2 roots

(wnj)2 = (1, 2π/n j)2 = (1, (2π/(n/2))j = wn/2j

(wnn/2+j)2 = (-wnj)2 = wn/2j

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