Deck 11: Analyzing Algorithm Efficiency

ملء الشاشة (f)
exit full mode
سؤال
Express the following statement using Θ-notation: Express the following statement using Θ-notation:  <div style=padding-top: 35px>
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Use O-notation to express the following statement: Use O-notation to express the following statement:  <div style=padding-top: 35px>
سؤال
Let h be the function whose graph is shown below. Carefully sketch the graph of 2h. Let h be the function whose graph is shown below. Carefully sketch the graph of 2h.  <div style=padding-top: 35px>
سؤال
Express the following statement using O-notation: Express the following statement using O-notation:  <div style=padding-top: 35px>
سؤال
Draw a careful graph of the function f defined by the formula Draw a careful graph of the function f defined by the formula   for all integers n.<div style=padding-top: 35px>
for all integers n.
سؤال
 <div style=padding-top: 35px>
سؤال
Consider the statement: Consider the statement:   Express this statement using O-notation.<div style=padding-top: 35px>
Express this statement using O-notation.
سؤال
Describe the operation of the sequential search algorithm.
سؤال
Consider the statement: Consider the statement:   Express this statement using  <div style=padding-top: 35px>
Express this statement using Consider the statement:   Express this statement using  <div style=padding-top: 35px>
سؤال
Explain why the following statement is true. (You may use the theorem on polynomial orders.) Explain why the following statement is true. (You may use the theorem on polynomial orders.)  <div style=padding-top: 35px>
سؤال
 <div style=padding-top: 35px>
سؤال
Sketch the graph of Sketch the graph of  <div style=padding-top: 35px>
سؤال
(a) Find the total number of additions and multiplications that must be performed when the
following algorithm is executed. Show your work carefully. (a) Find the total number of additions and multiplications that must be performed when the following algorithm is executed. Show your work carefully.   (b)  <div style=padding-top: 35px>
(b) (a) Find the total number of additions and multiplications that must be performed when the following algorithm is executed. Show your work carefully.   (b)  <div style=padding-top: 35px>
سؤال
Describe the operation of the insertion sort algorithm.
سؤال
 <div style=padding-top: 35px>
سؤال
Express the following statement using Ω-notation.: Express the following statement using Ω-notation.:  <div style=padding-top: 35px>
سؤال
Consider the statement: Consider the statement:   Express this statement using  <div style=padding-top: 35px>
Express this statement using Consider the statement:   Express this statement using  <div style=padding-top: 35px>
سؤال
 <div style=padding-top: 35px>
سؤال
If x is a real number and If x is a real number and   Why?<div style=padding-top: 35px>
Why?
سؤال
 <div style=padding-top: 35px>
سؤال
Describe the operation of the binary search algorithm.
سؤال
Describe the operation of the merge sort algorithm.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 11: Analyzing Algorithm Efficiency
1
Express the following statement using Θ-notation: Express the following statement using Θ-notation:
2
Use O-notation to express the following statement: 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. Let h be the function whose graph is shown below. Carefully sketch the graph of 2h.
4
Express the following statement using O-notation: Express the following statement using O-notation:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
Draw a careful graph of the function f defined by the formula Draw a careful graph of the function f defined by the formula   for all integers n.
for all integers n.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
Consider the statement: Consider the statement:   Express this statement using O-notation.
Express this statement using O-notation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
Describe the operation of the sequential search algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
Consider the statement: Consider the statement:   Express this statement using
Express this statement using Consider the statement:   Express this statement using
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
Explain why the following statement is true. (You may use the theorem on polynomial orders.) Explain why the following statement is true. (You may use the theorem on polynomial orders.)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
Sketch the graph of Sketch the graph of
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
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. (a) Find the total number of additions and multiplications that must be performed when the following algorithm is executed. Show your work carefully.   (b)
(b) (a) Find the total number of additions and multiplications that must be performed when the following algorithm is executed. Show your work carefully.   (b)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
Describe the operation of the insertion sort algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
Express the following statement using Ω-notation.: Express the following statement using Ω-notation.:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
Consider the statement: Consider the statement:   Express this statement using
Express this statement using Consider the statement:   Express this statement using
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
If x is a real number and If x is a real number and   Why?
Why?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
Describe the operation of the binary search algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
Describe the operation of the merge sort algorithm.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.