Bsc Csit
Nepal
Toggle Menu
Home
Learning
Notices
About
Curriculum
Colleges
Blog
Contact Us
2071
Data Structures and Algorithms
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Attempt any two questions: (2 x 10 = 20)
What is stack? How is it different from queue? Write a program to implement all stack operations.
What is linked list? Explain the process of inserting and removing nodes from a linked list.
What is graph traversal? Discuss depth-first traversal technique with suitable example.
Attempt any eight questions: (8 x 5 = 40)
Discuss array as an ADT.
Transform the postfix expression AB − C + DEF − + $ to infix.
What is recursion? Write a recursive program to find factorial of a number.
Explain almost complete binary tree with example.
Write a program to sort an array using selection sort.
Discuss binary search technique along with its efficiency.
Why do we need Hashing? Discuss linear probing in detail.
How to find complexity of algorithms? Explain.
Hand test the insertion sort algorithm with following array of numbers.
16 7 31 2 9 41 -10
Write short notes on:
a. Tree traversal
b. Circular queue
Print this page