BIT201 Data Structure and Algorithms

Data Structure and Algorithms TU Board 2083 question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Information Technology

Semester 3 · TU Board 2083

Course Title: Data Structure and Algorithms (BIT201)

Full Marks: 60Pass Marks: 24Time: 3 hours

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

Group A

Attempt any Two questions.(2 × 10 = 20)

  1. 1.

    Define hash function. Discuss the types of graph. Explain the working mechanism of BFS.

    10
  2. 2.

    Make a comparison between quick sort and merge sort.

    10
  3. 3.

    What is balanced tree? How do you insert and delete a node in a Binary Search Tree? Explain.

    10

Group B

Attempt any Eight questions(8 × 5 = 40)

  1. 4.

    Describe the merits and demerits of sequential search over binary search.

    5
  2. 5.

    Define level, height and depth of a tree with example.

    5
  3. 6.

    Differentiate between static and dynamic list structure.

    5
  4. 7.

    How do you insert a node at n^th position in singly linked list? Explain.

    5
  5. 8.

    Differentiate between doubly linked list and doubly circular linked list.

    5
  6. 9.

    Write a recursive program to generate the Fibonacci series.

    5
  7. 10.

    List the advantages and disadvantages of linear queue.

    5
  8. 11.

    Define stack. Evaluate + * 3 4 2 using stack.

    5
  9. 12.

    What is structure? Discuss about time and space complexities.

    5

— The End —