Skip to content

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

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

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

Work through the questions

24 questions

No verified answers are available for this paper.

  1. Question 1(a)

    Descriptive2 marks

    Algorithms

    How analyze the performance of an algorithm in different cases?

    No verified answer or solution is available for this question.

  2. Question 1(c)

    Descriptive2 marks

    Algorithms

    Explain left rotation in RB tree.

    No verified answer or solution is available for this question.

  3. Question 1(d)

    Descriptive2 marks

    Algorithms

    Write down the properties of Fibonacci Heap.

    No verified answer or solution is available for this question.

  4. Question 1(e)

    Descriptive2 marks

    Algorithms

    Explain Greedy programming in brief.

    No verified answer or solution is available for this question.

  5. Question 1(f)

    Descriptive2 marks

    Algorithms

    What do you mean by convex hull?

    No verified answer or solution is available for this question.

  6. Question 1(g)

    Descriptive2 marks

    Algorithms

    Write down the Floyd Warshal algorithm.

    No verified answer or solution is available for this question.

  7. Question 1(h)

    Descriptive2 marks

    Algorithms

    Explain Branch and Bound method in brief.

    No verified answer or solution is available for this question.

  8. Question 1(i)

    Descriptive2 marks

    Algorithms

    Explain Randomized algorithm in brief.

    No verified answer or solution is available for this question.

  9. Question 1(j)

    Descriptive2 marks

    Algorithms

    Explain NP-complete and NP-Hard.

    No verified answer or solution is available for this question.

  10. Question 2(a)

    Descriptive10 marks

    Algorithms

    Solve the recurrence i) T (n) =3T (n/4) + cn2 using recursion tree method. ii) T (n) = n + 2T (n/2) using Iteration method. (Given T(1)=1)

    No verified answer or solution is available for this question.

  11. Question 2(b)

    Descriptive10 marks

    Algorithms

    What is Binomial Heap? Write down the algorithm for Decrease key operation

    No verified answer or solution is available for this question.

  12. Question 2(c)

    Descriptive10 marks

    Algorithms

    Write and explain the Kruskal algorithm to find the Minimum Spanning Tree of a graph with suitable example.

    No verified answer or solution is available for this question.

  13. Question 2(d)

    Descriptive10 marks

    Algorithms

    What is N queens problem? Draw a state space tree for 4 queens problem using backtracking.

    No verified answer or solution is available for this question.

  14. Question 2(e)

    Descriptive10 marks

    Algorithms

    Write Rabin Karp string matching algorithm. Working modulo q=11, how many spurious hits does the Rabin karp matcher in the text T= 3141592653589793, when looking for the pattern P=26.

    No verified answer or solution is available for this question.

  15. Question 3(a)

    Descriptive10 marks

    Algorithms

    Write Merge sort algorithm and sort the following sequence {23, 11, 5, 15, 68, 31, 4, 17} using merge sort.

    No verified answer or solution is available for this question.

  16. Question 3(b)

    Descriptive10 marks

    Algorithms

    What do you understand by stable and unstable sorting? Sort the following sequence {25, 57, 48, 36, 12, 91, 86, 32} using heap sort.

    No verified answer or solution is available for this question.

  17. Question 4(a)

    Descriptive10 marks

    Algorithms

    Discuss the various cases for insertion of key in red-black tree for given sequence of key in an empty red-black tree- {15, 13, 12, 16, 19, 23, 5, 8}.

    No verified answer or solution is available for this question.

  18. Question 4(b)

    Descriptive10 marks

    Algorithms

    What is skip list? Explain the Search operation in Skip list with suitable QP22O1P_138 | 30-Dec-2021 08:58:24 | 115.243.37.58 QP22O1P_138 | 30-Dec-2021 08:58:24 | 115.243.37.58 0 0 example also write its algorithm.

    No verified answer or solution is available for this question.

  19. Question 5(a)

    Descriptive10 marks

    Algorithms

    What is Knapsack problem? Solve Fractional knapsack problem using greedy programming for the following four items with their weights w = {3, 5, 9, 5} and values P = {45, 30, 45, 10} with knapsack capacity is 16.

    No verified answer or solution is available for this question.

  20. Question 5(b)

    Descriptive10 marks

    Algorithms

    Write down the Bellman Ford algorithm to solve the single source shortest path

    No verified answer or solution is available for this question.

  21. Question 6(a)

    Descriptive10 marks

    Algorithms

    What is travelling salesman problem (TSP)? Find the solution of following TSP using Branch & Bound method 20 30 10 11 16 4 18 0 16 0

    No verified answer or solution is available for this question.

  22. Question 6(b)

    Descriptive10 marks

    Algorithms

    Explain the method of finding Hamiltonian cycles in a graph using backtracking method with suitable example.

    No verified answer or solution is available for this question.

  23. Question 7(a)

    Descriptive10 marks

    Algorithms

    Write and explain the algorithm to solve vertex cover problem using approximation algorithm.

    No verified answer or solution is available for this question.

  24. Question 7(b)

    Descriptive10 marks

    Algorithms

    Explain and Write the Knuth-Morris-Pratt algorithm for pattern matching also

    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