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. What is data structure? Explain about divide and conquer strategy with example?
3. What is collision in hashing? How collision resolution can be done using separate chaining method? Explain
4. List any to application of Stack? Convert A+(B∗C−(D/E−F)∗G)∗HA+(B*C-(D/E-F)*G)*HA+(B∗C−(D/E−F)∗G)∗H into postfix expression.
5. Write an algorithm and a program to implement basic Queue Operation?
6. What is AVL tree? Construct AVL tree of 50, 40, 35, 58, 48, 42, 60, 30, 33, 32
7. What is double linked list? Write an algorithm to add a node at the beginning and end of double linked list?
8. Define graph. Explain breadth first traversal and depth first traversal with example.
Group C
9. What is sorting? Differentiate between internal and external sorting. Write a function to implement heap sort and sort the following using heap sort: 12, 9, 1, 13, 16, 24, 215
10. What is stack? List the application of stack. Write an algorithm to perform PUSH and POP operation?
11. Explain different types of graph. Explain prims algorithm with example