Deck 11: Analyzing Algorithm Efficiency
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/22
Play
Full screen (f)
Deck 11: Analyzing Algorithm Efficiency
1
Express the following statement using Θ-notation: 


2
Use O-notation to express the following statement: 


3
Let h be the function whose graph is shown below. Carefully sketch the graph of 2h. 


4
Express the following statement using O-notation: 

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
5
Draw a careful graph of the function f defined by the formula
for all integers n.

for all integers n.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
6

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
7
Consider the statement:
Express this statement using O-notation.

Express this statement using O-notation.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
8
Describe the operation of the sequential search algorithm.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
9
Consider the statement:
Express this statement using

Express this statement using

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
Explain why the following statement is true. (You may use the theorem on polynomial orders.) 

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
11

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
12
Sketch the graph of 

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
13
(a) Find the total number of additions and multiplications that must be performed when the
following algorithm is executed. Show your work carefully.
(b)
following algorithm is executed. Show your work carefully.

(b)

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
14
Describe the operation of the insertion sort algorithm.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
15

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
16
Express the following statement using Ω-notation.: 

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
17
Consider the statement:
Express this statement using

Express this statement using

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
18

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
19
If x is a real number and
Why?

Why?
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
20

Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
21
Describe the operation of the binary search algorithm.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
22
Describe the operation of the merge sort algorithm.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck