Unit1 - Subjective Questions

CSE408 • Practice Questions with Detailed Answers

1

Define an algorithm. What are the essential characteristics that a sequence of instructions must possess to be considered an algorithm?

2

Discuss the fundamental steps involved in algorithmic problem solving.

3

Explain the importance of measuring input size when analyzing algorithm efficiency. Provide examples of input size metrics for different types of problems.

4

What are the standard units for measuring the running time of an algorithm? Why is physical execution time not a reliable metric?

5

Differentiate between Best-Case, Worst-Case, and Average-Case efficiencies of an algorithm.

6

Define Big-Oh () notation formally. Give a mathematical example.

7

Define Big-Omega () notation. What does it signify regarding algorithm efficiency?

8

Explain Big-Theta () notation and its relationship with Big-Oh and Big-Omega notations.

9

State and prove the useful property involving the asymptotic notations (the theorem concerning the sum of two functions).

10

How are limits used for comparing orders of growth of two functions and ? Explain the three possible outcomes.

11

List the basic efficiency classes in increasing order of their growth rate.

12

Briefly describe Linear Data Structures. Give examples.

13

Distinguish between Graphs and Trees as fundamental data structures.

14

Using limits, compare the order of growth of and .

15

What does 'Order of Growth' mean in the context of algorithm analysis?

16

Explain the concept of 'Basic Algorithm Design Techniques'. Name a few common techniques.

17

Prove that .

18

Why do we typically analyze the Worst-Case efficiency of an algorithm rather than the Best-Case?

19

Discuss how analyzing an algorithm helps in software development.

20

A given algorithm has a running time of . Determine its Big-Oh notation and explain why lower-order terms and constants are ignored.