Madanapalle Institute of Technology & Science Department of Computer Science & Engineering

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

MADANAPALLE INSTITUTE OF TECHNOLOGY & SCIENCE

Department of Computer Science & Engineering


Class: II B.Tech II Sem Course: 14CSU109 - Design and Analysis of Algorithms

Important Questions
Unit II

1. Define greedy technique.


2. What are five components of greedy method?
3. Differentiate the 0/1 and fractional knapsack problem.
4. What is dynamic programming?

1. Explain about 0/1 and fractional knapsack algorithm in detail.


2. Discuss the Huffman code compression method.

3. Describe travelling salesman problem using dynamic programming.

4. Write about jog sequencing with deadlines using greedy method.

5. Define single source shortest path. Explain with example (Dijkstra).

6. Define MST. Explain kruskal algorithm using greedy method.

7. Discuss about prim’s algorithm using greedy method.

8. Explain about Fibonacci using dynamic programming (D.P). 5 marks

9. Write pseudo code for LCS.

You might also like