Skip to content

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

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

Design And Analysis Of Algorithms · NCS501 · 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

    What is the importance of average case analysis of algorithm?

    No verified answer or solution is available for this question.

  2. Question 1(b)

    Descriptive2 marks

    Algorithms

    What do you understand by stable sort?

    No verified answer or solution is available for this question.

  3. Question 1(c)

    Descriptive2 marks

    Algorithms

    Explain left rotation in RB tree.

    No verified answer or solution is available for this question.

  4. Question 1(d)

    Descriptive2 marks

    Algorithms

    Write down the properties of Binomial Heap.

    No verified answer or solution is available for this question.

  5. Question 1(e)

    Descriptive2 marks

    Algorithms

    Explain Divide and conquer approach.

    No verified answer or solution is available for this question.

  6. Question 1(f)

    Descriptive2 marks

    Algorithms

    What do you mean by convex hull?

    No verified answer or solution is available for this question.

  7. Question 1(g)

    Descriptive2 marks

    Algorithms

    Write down the Floyd Warshal algorithm.

    No verified answer or solution is available for this question.

  8. Question 1(h)

    Descriptive2 marks

    Algorithms

    What is Dynamic programming?

    No verified answer or solution is available for this question.

  9. Question 1(i)

    Descriptive2 marks

    Algorithms

    Explain Randomized algorithm in brief.

    No verified answer or solution is available for this question.

  10. Question 1(j)

    Descriptive2 marks

    Algorithms

    Write naïve string matching algorithm.

    No verified answer or solution is available for this question.

  11. Question 2(a)

    Descriptive10 marks

    Algorithms

    in best, average and worst case.

    No verified answer or solution is available for this question.

  12. Question 2(b)

    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- {10, 9, 8, 7, 6, 5, 4, 3, 2, 1}

    No verified answer or solution is available for this question.

  13. Question 2(c)

    Descriptive10 marks

    Algorithms

    Write down the Dijkstra algorithm to solve the single source shortest path

    No verified answer or solution is available for this question.

  14. Question 2(d)

    Descriptive10 marks

    Algorithms

    Write an algorithm for graph coloring problem. Draw a state space tree for graph coloring problem using backtracking? Let n=4 and m=3.

    No verified answer or solution is available for this question.

  15. Question 3(a)

    Descriptive10 marks

    Algorithms

    Solve the recurrence i) T (n) =2T (n/2) + n2 ii) T (n) = n + T (n/2) (Given T(1)=1)

    No verified answer or solution is available for this question.

  16. Question 3(b)

    Descriptive10 marks

    Algorithms

    Sort the following sequence {25, 57, 48, 36, 12, 91, 86, 32} using Quick sort.

    No verified answer or solution is available for this question.

  17. Question 4(a)

    Descriptive10 marks

    Algorithms

    What are the difference between Binary heap and Binomial Heap? Write down the algorithm for Decrease key operation in Binomial Heap.

    No verified answer or solution is available for this question.

  18. Question 4(b)

    Descriptive10 marks

    Algorithms

    Perform the insertion operation using the keys F, S, Q, K, C, L, H, T, V, W, M, R, N, P, A, B in order into an empty B-tree. Use t=3, where t is the minimum degree of B- tree. 0 0

    No verified answer or solution is available for this question.

  19. Question 5(a)

    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.

  20. Question 5(b)

    Descriptive10 marks

    Algorithms

    What is Knapsack problem? Solve Fractional knapsack problem using greedy programming for the following five items with their weights w = {5, 10, 20, 30, 40} and values P = {30, 20, 100, 90, 160} with knapsack capacity is 60.

    No verified answer or solution is available for this question.

  21. Question 6(a)

    Descriptive10 marks

    Algorithms

    Discuss Travelling Salesman Problem with respect to Dynamic programming technique.

    No verified answer or solution is available for this question.

  22. Question 6(b)

    Descriptive10 marks

    Algorithms

    Discuss Sum of subset problem using Backtracking approach 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 set cover problem using approximation algorithm.

    No verified answer or solution is available for this question.

  24. Question 7(b)

    Descriptive10 marks

    Algorithms

    Explain P, NP, NP-Complete and NP-Hard problems in detail.

    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