Skip to content

// Anna University, Chennai / 2023

Anna University — Algorithms (CS3401), April/May 2023

Algorithms · CS3401 · R2021 · B.E. Computer Science and Engineering · Semester 4

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part ADescriptive2 marks

    Algorithms

    Define time complexity of an algorithm.

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Algorithms

    List the types of asymptotic notations in analysing complexity of algorithms.

    No verified answer or solution is available for this question.

  3. Question 3

    Part ADescriptive2 marks

    Algorithms

    Outline a directed graph with an example.

    No verified answer or solution is available for this question.

  4. Question 4

    Part ADescriptive2 marks

    Algorithms

    What is minimum spanning tree?

    No verified answer or solution is available for this question.

  5. Question 5

    Part ADescriptive2 marks

    Algorithms

    Outline divide-and conquer algorithm design paradigm.

    No verified answer or solution is available for this question.

  6. Question 6

    Part ADescriptive2 marks

    Algorithms

    Define a multistage graph.

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Algorithms

    What is backtracking?

    No verified answer or solution is available for this question.

  8. Question 8

    Part ADescriptive2 marks

    Algorithms

    State the travelling salesman problem.

    No verified answer or solution is available for this question.

  9. Question 9

    Part ADescriptive2 marks

    Algorithms

    Outline the difference between a tractable problem and an intractable problem.

    No verified answer or solution is available for this question.

  10. Question 10

    Part ADescriptive2 marks

    Algorithms

    State the bin packing problem.

    No verified answer or solution is available for this question.

  11. Question 11

    Part BDescriptive13 marks

    Algorithms

    (a) Write an algorithm to perform linear search on an array of 'N' numbers. Illustrate the best case, average case and worst case complexity of the linear search algorithm with an example. (13) (OR) (b) What is pattern searching? Outline the steps in the Rabin-Karp algorithm for pattern searching with an example. (13)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BDescriptive13 marks

    Algorithms

    (a) Outline the breadth first search graph traversal algorithm and depth first search graph traversal algorithm with an example. (13) (OR) (b) Explain the Dijkstra's shortest path algorithm with an example. (13)

    No verified answer or solution is available for this question.

  13. Question 13

    Part BDescriptive13 marks

    Algorithms

    (a) Outline the merge sort algorithm with an example. (13) (OR) (b) What is a Huffman tree? Outline the steps to build a Huffman tree using greedy algorithm design paradigm with an example. (13)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BDescriptive13 marks

    Algorithms

    (a) State the Hamiltonian circuit problem. Outline the steps to find the Hamiltonian circuit using backtracking algorithm design paradigm with an example. (13) (OR) (b) State the Knapsack problem. Outline how Knapsack problem can be solved using branch and bound algorithm design paradigm with an example. (13)

    No verified answer or solution is available for this question.

  15. Question 15

    Part BDescriptive13 marks

    Algorithms

    (a) Elaborate NP-complete problem and NP-hard problem with an example. (13) (OR) (b) Outline the randomized quick sort algorithm with an example. (13)

    No verified answer or solution is available for this question.

  16. Question 16

    Part CDescriptive15 marks

    Algorithms

    (a) Apply the insertion sort algorithm to sort the following sequence of n numbers stored in an array A. 15,9,1,22,26,19,55,43,99,2 Illustrate each step of the sorting process. (15) (OR) (b) What is dynamic programming? Explain the dynamic programming solution for matrix chain multiplication with an example. (15)

    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