Skip to content

// Dr. A.P.J. Abdul Kalam Technical University, Uttar Pradesh / 2024

AKTU B.Tech — Design And Analysis Of Algorithms (KCS503), Semester 4, 2024

Design And Analysis Of Algorithms · KCS503 · B.Tech Computer Science and Engineering · Semester 4

Work through the questions

25 questions

No verified answers are available for this paper.

  1. Question 1(a)

    Descriptive2 marks

    Algorithms

    What do you mean by algorithm? Write the characteristic of algorithm.

    No verified answer or solution is available for this question.

  2. Question 1(b)

    Descriptive2 marks

    Algorithms

    Show that equation are correct: 10n^2+9 = O(n^2)

    No verified answer or solution is available for this question.

  3. Question 1(c)

    Descriptive2 marks

    Algorithms

    Write short note on Fibonacci Heap.

    No verified answer or solution is available for this question.

  4. Question 1(d)

    Descriptive2 marks

    Algorithms

    Explain Binary Search Tree.

    No verified answer or solution is available for this question.

  5. Question 1(e)

    Descriptive2 marks

    Algorithms

    Define fractional Knap-Sack problem.

    No verified answer or solution is available for this question.

  6. Question 1(f)

    Descriptive2 marks

    Algorithms

    Write name of Spanning tree algorithm with complexity.

    No verified answer or solution is available for this question.

  7. Question 1(g)

    Descriptive2 marks

    Algorithms

    Define the term "Graph Coloring".

    No verified answer or solution is available for this question.

  8. Question 1(h)

    Descriptive2 marks

    Algorithms

    What do you mean by Activity selection problem?

    No verified answer or solution is available for this question.

  9. Question 1(i)

    Descriptive2 marks

    Algorithms

    What do you mean by Boyer-Moore Algorithm?

    No verified answer or solution is available for this question.

  10. Question 1(j)

    Descriptive2 marks

    Algorithms

    Write short note on Fast Fourier Transform.

    No verified answer or solution is available for this question.

  11. Question 2(a)

    Descriptive10 marks

    Algorithms

    Sort the following array by counting sort A={2,5,3,0,2,3,0,3}

    No verified answer or solution is available for this question.

  12. Question 2(b)

    Descriptive10 marks

    Algorithms

    Prove all the four properties of Binomial Tree.

    No verified answer or solution is available for this question.

  13. Question 2(c)

    Descriptive10 marks

    Algorithms

    Describe DFS with its algorithm. How DFS can be used to solve the problem.

    No verified answer or solution is available for this question.

  14. Question 2(d)

    Descriptive10 marks

    Algorithms

    Apply Floyd-Warshall algorithm for constructing shortest path.

    No verified answer or solution is available for this question.

  15. Question 2(e)

    Descriptive10 marks

    Algorithms

    Write short notes on the following: i) Randomized Algorithm ii) Approximation algorithm.

    No verified answer or solution is available for this question.

  16. Question 3(a)

    Descriptive10 marks

    Algorithms

    What is stable sorting algorithm? Which of the sorting algorithms we have seen are stable and which are unstable? Give name with explanation.

    No verified answer or solution is available for this question.

  17. Question 3(b)

    Descriptive10 marks

    Algorithms

    Write an algorithm of merge sort and prove its worst time complexity.

    No verified answer or solution is available for this question.

  18. Question 4(a)

    Descriptive10 marks

    Algorithms

    Insert the following elements using the property of RB tree: 61, 58, 51, 32, 39, 29

    No verified answer or solution is available for this question.

  19. Question 4(b)

    Descriptive10 marks

    Algorithms

    Explain B-Tree and its properties. Also write B-Tree deletion cases with example.

    No verified answer or solution is available for this question.

  20. Question 5(a)

    Descriptive10 marks

    Algorithms

    Determine an LCS of X={A,B,C,B,D,A,B} and Y={B,D,C,A,B,A}

    No verified answer or solution is available for this question.

  21. Question 5(b)

    Descriptive10 marks

    Algorithms

    Explain Backtracking. Let set S = {1,3,4,5} and X=8, we have to find subset sum problem using backtracking approach.

    No verified answer or solution is available for this question.

  22. Question 6(a)

    Descriptive10 marks

    Algorithms

    Write an algorithm of Dijkstra and implement it by taking any example.

    No verified answer or solution is available for this question.

  23. Question 6(b)

    Descriptive10 marks

    Algorithms

    Apply Branch and Bound technique to solve travelling salesman problem for the graph whose cost matrix given below: [∞ 17 13 22 18; 13 ∞ 16 24 19; 15 18 ∞ 16 28; 19 13 15 ∞ 21; 28 24 19 18 ∞]

    No verified answer or solution is available for this question.

  24. Question 7(a)

    Descriptive10 marks

    Algorithms

    Explain P, NP, NP Hard and NP Complete Classes with example.

    No verified answer or solution is available for this question.

  25. Question 7(b)

    Descriptive10 marks

    Algorithms

    Explain KMP matcher and also implement it by an algorithm, where P=a,a,b,a,b,b,b,a and T=b,a,b,a,a,b,a,b,b,b,a

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam