Unit6 - Subjective Questions

CSE357 • Practice Questions with Detailed Answers

1

Define an Algorithm and explain the five essential characteristics that every algorithm must satisfy.

2

Distinguish between A Priori Analysis and A Posteriori Analysis of algorithms.

3

Explain the concept of Asymptotic Notation. Define Big-O notation () formally and provide its geometric interpretation.

4

Define Big-Omega () and Big-Theta () notations. How do they differ from Big-O?

5

Given the function , prove that .

6

Discuss the Best Case, Worst Case, and Average Case analysis of an algorithm. Why is the Worst Case often the most important?

7

Arrange the following functions in increasing order of their Rate of Growth: , , , , , , .

8

What is Recursion? Explain the mechanics of a recursive call using the stack memory, citing the concept of a 'Base Case'.

9

Explain the Backtracking algorithmic strategy. How does it differ from Brute Force?

10

Analyze the recurrence relation using the Master Theorem. What standard algorithm has this time complexity?

11

Describe the Dynamic Programming (DP) strategy. What are the two key properties a problem must possess to be solved efficiently using DP?

12

Compare and contrast Memoization (Top-Down) and Tabulation (Bottom-Up) approaches in Dynamic Programming.

13

Explain the Greedy Algorithm paradigm. What is the 'Greedy Choice Property'?

14

Distinguish between Greedy Algorithms and Dynamic Programming.

15

Describe the Fractional Knapsack Problem and explain why it can be solved using a Greedy strategy, whereas the 0/1 Knapsack problem cannot.

16

Provide an overview of the Activity Selection Problem. How does the Greedy approach solve it?

17

Explain the N-Queens Problem. How is Backtracking used to solve it?

18

What is the Fibonacci Series? Derive the time complexity of the naive recursive solution vs. the Dynamic Programming solution.

19

Define Little-o () and Little-omega () notation. How do they relate to strict inequality?

20

Analyze the time complexity of the following code snippet: