Dsa-1 Unit-1 Assignment
Dsa-1 Unit-1 Assignment
(BCSE-0301)
COURSE/SEM: B.TECH/IIIrd
UNIT-I
Assignment Given Date: 03/09/2024
Assignment Submission Date: 23/09/2024
Faculty Name: - MOHIT KUMAR Faculty Mail Id: [email protected]
INSTRUCTIONS:
BLOOM’S
Q. No. Question Statement CO KNOWLEDGE
LEVEL
CO1 K3
2.
3.
4.
5.
1. 𝒇(𝒏) = 𝟑𝒏 + 𝟖
2. 𝒇(𝒏) = 𝒏𝟐 + 𝟏
3. 𝒇(𝒏) = 𝒏𝟒 + 𝟏𝟎𝟎𝒏𝟐 + 𝟓𝟎
4. 𝒇(𝒏) = 𝟐𝒏𝟑 − 𝒏𝟐 CO1 K3
5. 𝒇(𝒏) = 𝒏
4. Calculate the lower bound of the following functions:
1. 𝒇(𝒏) = 𝟓𝒏𝟐
2. 𝒇(𝒏) = 𝟏𝟎𝟎𝒏 + 𝟓 ≠ 𝝎(𝒏𝟐 )
𝒏𝟐 𝒏 K3
Find the ϴ bound for 𝒇(𝒏) = −𝟐
𝟐
Prove n≠ϴ(𝒏𝟐 )
Prove 𝟔𝒏𝟑 ≠ 𝜽(𝒏𝟐 )
5. Solve the following recurrences using Master Theorem: Dive
and Conquer Problems.
𝒏
1. 𝑻(𝒏) = 𝟐𝑻 (𝟐) + 𝒏𝒍𝒐𝒈𝒏
𝒏
2. 𝑻(𝒏) = 𝟔𝑻 (𝟑) + 𝒏𝟐 𝒍𝒐𝒈𝒏
𝒏
CO1 K3
3. 𝑻(𝒏) = 𝟔𝟒𝑻 (𝟖) − 𝒏𝟐 𝒍𝒐𝒈𝒏
𝒏
4. 𝑻(𝒏) = √𝟐𝑻 (𝟐) + 𝒍𝒐𝒈𝒏
𝒏
5. 𝑻(𝒏) = 𝟑𝑻 (𝟑) + √𝒏
6. 𝑻(𝒏) = 𝑻(√𝒏) + 𝟏
6. Solve the following recurrences using Iteration Method
𝒏 𝟐𝒏
1. 𝑻(𝒏) = 𝑻 (𝟐) + 𝑻 ( 𝟑 ) + 𝒏𝟐
𝒏
2. 𝑻(𝒏) = 𝟑𝑻(⌊𝟒⌋ + 𝜽(𝒏𝟐 )
𝒏 𝒏
3. 𝑻(𝒏) = 𝑻 (𝟒) + 𝑻 (𝟐) + 𝒏𝟐 CO1 K3
𝒏 𝒏 𝒏
4. 𝑻(𝒏) = 𝑻 (𝟐) + 𝑻 (𝟒) + 𝑻 (𝟖) + 𝒏
5. 𝑻(𝒏) = 𝑻(𝟏 − 𝜶)𝒏 + 𝑻(𝜶𝒏) + 𝒏 𝒘𝒉𝒆𝒓𝒆 𝜶 >
𝟎 𝒂𝒏𝒅 𝒂 < 𝟏
8. Elaborate the difference between Linear and Non-Linear Data CO1 K2
Structure with their applications.