100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSE373, MAT373: Analysis of Algorithms, Mock Midterm Exam 1 (Solution Hints)

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
24-09-2025
Written in
2025/2026

CSE373, MAT373: Analysis of Algorithms, Spring 2021 Date: March 23, 2021 Mock Midterm Exam 1 (Solution Hints) ( 6:35 PM – 7:50 PM : 75 Minutes ) • This exam will account for 20% of your overall grade. • There are five (5) questions, worth 75 points in total. Please answer all of them. • This is a closed book, closed notes exam. No cheat sheets are allowed. • You are allowed to use scratch papers for your calculations. Good Luck! Question Parts Points 1. Asymptotic Bounds (a),(b),(c) 5 + 5 + 5 = 15 2. Recurrences. (a),(b),(c) 5 + 5 + 5 = 15 3. Cutting Rod – 12 4. Insertion Sort – 18 5. Prefix Sums (a),(b) 10 + 5 = 15 Total 75 This study source was downloaded by from CourseH on :21:19 GMT -05:00 Question 1. [ 15 Points ] Asymptotic Bounds. For each of the following statements state whether it is True or False. You must justify each answer. Assume that all log’s are of base 2. (a) [ 5 Points ] 2 log n 2 = Θ n 2  (b) [ 5 Points ] n 1.2 = Ω n log2 n  (c) [ 5 Points ] 2 2n = O (3n ) Solution Hints. (a) We have, 2log n 2 = 22 log n = 2 log n 2 = n 2 = Θ n 2  Hence, the given statement is True. (b) We have, limx→∞  n 1.2 n log2 n  = limx→∞  n 0.2 log2 n  = (ln 2)2 limx→∞  n 0.2 ln2 n  {∵ log2 n = ln n ln 2 } = (ln 2)2 limx→∞  0.2n 0.2−1 2 ln n n  {L’Hopital’s rule} = 0.1(ln 2)2 limx→∞  n 0.2 ln n  = 0.1(ln 2)2 limx→∞  0.2n 0.2−1 1 n  {L’Hopital’s rule} = 0.02(ln 2)2 limx→∞ n 0.2 = ∞ ≥ c {where, c is any positive constant} So, n 1.2 = Ω n log2 n  . Hence, the given statem

Show more Read less
Institution
Computer Information Systems
Course
Computer information systems









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Computer information systems
Course
Computer information systems

Document information

Uploaded on
September 24, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE373, MAT373: Analysis of Algorithms, Spring 2021 Date: March 23, 2021


Mock Midterm Exam 1 (Solution Hints)
( 6:35 PM – 7:50 PM : 75 Minutes )

• This exam will account for 20% of your overall grade.

• There are five (5) questions, worth 75 points in total. Please answer all of them.

• This is a closed book, closed notes exam. No cheat sheets are allowed.

• You are allowed to use scratch papers for your calculations.




Good Luck!




Question Parts Points
1. Asymptotic Bounds (a), (b), (c) 5 + 5 + 5 = 15
2. Recurrences. (a), (b), (c) 5 + 5 + 5 = 15
3. Cutting Rod – 12
4. Insertion Sort – 18
5. Prefix Sums (a), (b) 10 + 5 = 15
Total 75




This study source was downloaded by 100000899610689 from CourseHero.com on 09-24-2025 09:21:19 GMT -05:00


https://www.coursehero.com/file/106331785/midterm-sample-1-solpdf/

, Question 1. [ 15 Points ] Asymptotic Bounds. For each of the following statements state
whether it is True or False. You must justify each answer. Assume that all log’s are of base 2.

2
(a) [ 5 Points ] 2log n = Θ n2



(b) [ 5 Points ] n1.2 = Ω n log2 n



(c) [ 5 Points ] 22n = O (3n )

Solution Hints.


2 2
(a) We have, 2log n = 22 log n = 2log n = n2 = Θ n2


Hence, the given statement is True.

(b) We have,
   
n1.2 n0.2
limx→∞ n log2 n
= limx→∞ log2 n  
n0.2 ln n
= (ln 2)2 limx→∞ 2 {∵ log2 n = ln 2 }
ln n 
0.2n0.2−1
= (ln 2)2 limx→∞ 2 ln n {L’Hopital’s rule}
 n 
n0.2
= 0.1(ln 2)2 limx→∞
 ln n 0.2−1 
0.2n
= 0.1(ln 2)2 lim x→∞ 1 {L’Hopital’s rule}
n
= 0.02(ln 2)2 limx→∞ n0.2
= ∞≥c {where, c is any positive constant}
2
n1.2

So, = Ω n log n .
Hence, the given statement is True.
 
22n 4n 4 n
  
(c) We have, limx→∞ 3n = limx→∞ 3n = limx→∞ 3 = ∞.
So, 22n = ω (3n ).
Hence, the given statement is False.




1



This study source was downloaded by 100000899610689 from CourseHero.com on 09-24-2025 09:21:19 GMT -05:00


https://www.coursehero.com/file/106331785/midterm-sample-1-solpdf/

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Abbyy01 Exam Questions
View profile
Follow You need to be logged in order to follow users or courses
Sold
91
Member since
3 year
Number of followers
33
Documents
1121
Last sold
1 week ago

3.5

13 reviews

5
5
4
2
3
3
2
1
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions