Pre-Board examination question paper set for Data Structures and Algorithms from the year 2025.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2025
Bachelor in Computer Applications

Paper detail Value
Course Data Structures and Algorithms
Code No. CACS201
Semester IIIrd
Full marks 60
Pass marks 24
Time 3 hours

Candidates are required to answer the questions in their own words as far as possible.

Group B

2. Define data structure. How linear data structure is different from non-linear data structure? Explain.

3. List any two applications of stack. Convert A∗B−(C∗D−A)/(C−D)+EA * B - (C * D - A) / (C - D) + EA∗B−(C∗D−A)/(C−D)+E into postfix notations using stack.

4. Define priority queue. How circular queue is different from double ended queue? Explain.

5. Use the heap sort algorithm to sort the following data items: 12, 1, 17, 31, 24, 27, 19, 15, 18.

6. What is hashing? How collision resolution can be done using separate chaining method? Explain.

7. How quick sort works? Write a function to perform quick sort.

8. Differentiate between internal and external sorting? What do you mean by divide and conquer algorithm? Explain with example.

Group C

9. What are different techniques to access economic feasibility.

10. Explain different types of graph. Explain Kruskal's algorithm in detail.

11. Explain balanced binary tree and AVL Tree with proper examples. Create an AVL tree from the following: 4, 6, 12, 19, 15, 25, 13, 8, 3, 7, 11, 17, 31.