Chapter Study

BSC CSIT Semester 3 Data Structure and Algorithms () Questions & Answers | Past TU Exam Papers

Practice from Data Structure and Algorithms with detailed solutions and model answers from past Tribhuvan University exams.

10
Questions
75
Marks
Back to All Chapters

Explain AVL tree with example. Also, explain balancing algorithm for this tree.

HardTHEORY10 marks2080(TU Final)

Write Dijkstra’s algorithm to find shortest path between any two vertices of a graph.

MediumTHEORY5 marks2080(TU Final)

What is AVL tree? How heap differ from tree? Construct an AVL tree for data 24,12,8,15,35,30,57,40,45 and 78.

HardTHEORY10 marks2081(TU Final)

What is the application of spanning tree? Draw a MST of a graph containing any 8 vertices and 11 edges with arbitrary edge costs.

MediumTHEORY5 marks2081(TU Final)

Why do we need to balance the binary search tree? Justify with an example. Create an AVL tree from the data 24, 12, 8, 15, 35, 30, 57, 40, 45, 78.

HardTHEORY10 marks2079(TU Final)

Find the MST of following graph using Prim’s algorithm.

MediumTHEORY5 marks2079(TU Final)

What is binary search tree? Write a program to implement insertion and deletion algorithms in binary search tree.

HardTHEORY10 marks2078(TU Final)

What is graph traversal? Explain.

MediumTHEORY5 marks2078(TU Final)

What is shortest path? Explain Dijkstra algorithm for finding shortest path using suitable example.

HardTHEORY10 marks2077(TU Final)

What is minimum spanning tree? Explain

MediumTHEORY5 marks2077(TU Final)
Showing 10 questions

Unit 8: Trees and Graphs (8 Hrs.) chapter questions with answers for Data Structure and Algorithms (BSC CSIT Semester 3). Prepare for TU exams with our comprehensive question bank and model answers.