Unit 12: Approximation - Subjective Questions

ECAP538 • Practice Questions with Detailed Answers

20 questions

1

Define an approximation algorithm. Why are approximation algorithms needed for optimization problems?

2

Explain the approximation ratio for minimization and maximization problems.

3

Distinguish between an exact algorithm, a heuristic, and an approximation algorithm.

4

What are absolute and asymptotic approximation guarantees? Explain the difference with suitable formulas.

5

Explain the role of lower and upper bounds in proving the performance of an approximation algorithm.

6

Describe polynomial-time approximation schemes and fully polynomial-time approximation schemes. How do they differ from constant-factor approximation algorithms?

7

Formulate the identical-machine task-scheduling problem for minimizing makespan, and identify two fundamental lower bounds on the optimum.

8

Describe the list-scheduling algorithm for assigning tasks to identical machines. Illustrate it for processing times on two machines.

9

Derive the approximation guarantee of list scheduling on identical machines.

10

What is the Longest Processing Time first algorithm? Compare it with ordinary list scheduling.

11

Apply the LPT algorithm to tasks with processing times on three identical machines. Show the assignments and makespan.

12

Explain why scheduling large tasks before small tasks generally improves load balancing.

13

Discuss how list scheduling can be implemented efficiently and state its time and space complexity.

14

Define the one-dimensional bin-packing problem and give useful lower bounds on the minimum number of bins.

15

Describe and compare the Next Fit, First Fit, and Best Fit bin-packing heuristics.

16

Prove that Next Fit uses at most bins for any nonempty bin-packing instance.

17

Pack the items using Next Fit and First Fit in the given order. Compare the resulting packings.

18

Explain First Fit Decreasing and Best Fit Decreasing. Why can sorting improve the packing?

19

Compare online and offline algorithms for bin packing, including their practical advantages and limitations.

20

Analyze the relationship between task scheduling and bin packing. State their similarities and key differences.