Unit 6: Backtracking, Approximation, and Complexity Classes - Subjective Questions

CSE408 — Design And Analysis Of Algorithms • Practice Questions with Detailed Answers

20 questions

1

Define backtracking. Explain its general state-space-tree formulation and distinguish it from exhaustive search.

2

Describe a backtracking algorithm for the n-Queens problem. Derive its promising condition and analyze its complexity.

3

Explain how the Hamiltonian Circuit problem can be solved using backtracking.

4

Formulate the Subset-Sum problem and explain a backtracking solution using suitable pruning conditions.

5

Define Branch and Bound. Explain the roles of branching, bounds, incumbent solutions, and node-selection strategies.

6

Explain how Branch and Bound is applied to the Assignment Problem. Illustrate how a lower bound is computed.

7

Describe the Branch-and-Bound solution for the 0/1 Knapsack Problem, including the calculation of an upper bound.

8

Develop a Branch-and-Bound approach for the Traveling Salesman Problem and explain how reduced cost matrices provide lower bounds.

9

What is an approximation algorithm? Define approximation ratio for minimization and maximization problems.

10

Describe the standard 2-approximation algorithm for Vertex Cover and prove its approximation ratio.

11

Explain the greedy approximation algorithm for the Set-Covering Problem and state its performance guarantee.

12

Explain the Bin Packing Problem and compare the Next Fit, First Fit, Best Fit, and First Fit Decreasing heuristics.

13

Define the complexity classes P and NP. Explain the significance of polynomial-time verification.

14

Distinguish among NP, NP-Hard, and NP-Complete problems using definitions and examples.

15

What is a polynomial-time reduction? Explain the standard procedure used to prove that a problem is NP-Complete.

16

Explain why the decision version of the Hamiltonian Circuit problem belongs to NP and summarize its NP-Completeness.

17

Discuss the complexity status of the Subset-Sum Problem and distinguish between its decision and optimization forms.

18

Compare backtracking and Branch and Bound with respect to goals, pruning rules, search order, and applications.

19

Compare approximation for metric TSP with general TSP, and explain the role of the triangle inequality.

20

Explain the importance of bound quality in Branch and Bound. Compare suitable bounds for the Assignment, Knapsack, and Traveling Salesman problems.