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. Trace the algorithm to convert infix to prefix using stack with following infix expression (A+B)∗(D−E/F)+G(A+B) * (D-E/F) + G(A+B)∗(D−E/F)+G.
3. Explain Approximation and Heuristic Algorithm. Explain briefly about best, worst and average case analysis of an algorithm.
4. Define MST. Apply Kruskal's algorithm to find the minimum spamming tree of the following graph.
5. Define Binary search. Consider a hash table of size 10; insert the keys 62, 37, 36, 44, 67, 91 and 107 using linear probing.
6. Write an algorithm to insert and delete an item in Circular Queue.
7. State TOH problem. Explain a recursive algorithm to solve the problem
8. Draw a AVL tree from the element 45, 15, 79, 90, 10, 55, 12, 20, 50 and traverse the tree in post order and preorder.
Group C
9. [Question 9 Placeholder]
10. [Question 10 Placeholder]
11. [Question 11 Placeholder]