IT238 Data Structure And Algorithms

Data Structure And Algorithms old question papers

Pick a year on the left to see the full paper, exactly as it was set.

22 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Information Technology Management

Semester 3 · TU Board 2023

Course Title: Data Structure And Algorithms (IT238)

Full Marks: 60Pass Marks: 30Time: 3 Hrs

Candidates are required to give their answers in their own words as for as practicable.

Group A

Brief Answer Questions(10 × 1 = 10)

  1. 1.

    Define Asymptotic notations.

    1
  2. 2.

    Draw a doubly linked list.

    1
  3. 3.

    Define stack.

    1
  4. 4.

    What is a priority queue?

    1
  5. 5.

    What do you mean by tail recursion?

    1
  6. 6.

    Define a balanced tree.

    1
  7. 7.

    Define hashing.

    1
  8. 8.

    What do you mean by degree of a vertex?

    1
  9. 9.

    List any two sorting algorithms.

    1
  10. 10.

    Why is Huffman algorithm needed?

    1

Group B

Short Answer Questions: (Attempt any FIVE Questions)(5 × 3 = 15)

  1. 11.

    Explain Abstract Data Type.

    3
  2. 12.

    Explain Worst-Case time complexity.

    3
  3. 13.

    Write a function to traverse a binary tree in Preorder.

    3
  4. 14.

    Explain different application of queue.

    3
  5. 15.

    How binary search differs from linear search? Explain.

    3
  6. 16.

    Explain Breadth First Traversal of a graph.

    3

Group C

Long Answer Questions: (Attempt any THREE Questions)(3 × 5 = 15)

  1. 17.

    Write an algorithm to find the factorial of n number using recursion.

    5
  2. 18.

    Define an AVL tree. Construct an AVL tree from the given data: 14, 16, 22, 19, 15, 12, 21.

    5
  3. 19.

    Sort the given data using quick sort algorithm: 17, 8, 91, 10, 111.

    5

Group D

Comprehensive Answer / Case / Situation Analysis Questions(2 × 10 = 20)

  1. 20.

    Draw a minimum spanning tree of the below graph using Kruskal's algorithm: [figure in the original paper]

    10
  2. 21.

    Write an algorithm to perform insertion and deletion operation in a binary search tree.

    10
  3. 22.

    Illustrate push and pop operation in stack using linked lists.

    10

— The End —