HamiIT
Sign inGet started
Home
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBsc CSITSemester 3Data Structure and AlgorithmsUnit 8: Trees and Graphs (8 Hrs.)
Chapter Study

Bsc CSIT Semester 3 – Data Structure and Algorithms – Unit 8: Trees and Graphs (8 Hrs.)

Comprehensive questions and detailed answers for Unit 8: Trees and Graphs (8 Hrs.). Perfect for exam preparation and concept clarity.

10
Questions
75
Marks
Back to All Chapters
1

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

HardTHEORY10 marks2080(TU Final)
2

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

MediumTHEORY5 marks2080(TU Final)
3

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)
4

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)
5

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)
6

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

MediumTHEORY5 marks2079(TU Final)
7

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

HardTHEORY10 marks2078(TU Final)
8

What is graph traversal? Explain.

MediumTHEORY5 marks2078(TU Final)
9

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

HardTHEORY10 marks2077(TU Final)
10

What is minimum spanning tree? Explain

MediumTHEORY5 marks2077(TU Final)
Showing 10 questions

Exam Years

Past question papers

2081
TU Final•2 questions
2080
TU Final•2 questions
2079
TU Final•2 questions
2078
TU Final•2 questions
2077
TU Final•2 questions

Questions in Unit 8: Trees and Graphs (8 Hrs.)

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

Marks: 10

Year: 2080 Final TU

AVL Tree (Definition & Concept) Definition An AVL Tree is a self-balancing Binary Search Tree (BST) in which the difference between the heights of the left and right subtrees of any node is at most 1

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

Marks: 5

Year: 2080 Final TU

Definition Dijkstra’s Algorithm is a greedy algorithm used to find the shortest path from a single source vertex to all other vertices in a weighted graph with non-negative edge weights. --- Key Ide

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.

Marks: 10

Year: 2081 Final TU

1. AVL Tree Definition An AVL Tree is a self-balancing binary search tree (BST) in which the height difference between the left and right subtrees of any node is at most 1. - Named after Adelson-Ve

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

Marks: 5

Year: 2081 Final TU

1. Definition of Spanning Tree A Spanning Tree of a connected, undirected graph is a subgraph that: - Includes all vertices of the graph - Contains no cycles - Has exactly (V − 1) edges, where V i

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.

Marks: 10

Year: 2079 Final TU

Definition A Binary Search Tree (BST) is a binary tree in which: - The left child of a node contains a value less than the node's value. - The right child of a node contains a value greater than the n

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

Marks: 5

Year: 2079 Final TU

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

Marks: 10

Year: 2078 Final TU

1. Definition of Binary Search Tree (BST) A Binary Search Tree (BST) is a binary tree in which each node satisfies the following properties: - The left subtree of a node contains only nodes with val

What is graph traversal? Explain.

Marks: 5

Year: 2078 Final TU

Definition Graph Traversal is the process of visiting all the vertices (nodes) and edges of a graph in a systematic way. - Traversal helps in searching, analyzing, and processing graphs. - Every n

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

Marks: 10

Year: 2077 Final TU

1. Shortest Path (Definition) The shortest path between two vertices in a graph is the path with the minimum total weight (or distance) among all possible paths connecting them. - Graph types: Wei

What is minimum spanning tree? Explain

Marks: 5

Year: 2077 Final TU

Definition A Minimum Spanning Tree (MST) is a spanning tree of a connected, weighted, undirected graph such that: - It includes all the vertices of the graph. - It has no cycles. - The total weight of

About Unit 8: Trees and Graphs (8 Hrs.) Questions

This page contains comprehensive questions from the Unit 8: Trees and Graphs (8 Hrs.) chapter of Data Structure and Algorithms, part of the Bsc CSIT Semester 3 curriculum. All questions include detailed model answers from past TU exam papers.

Study Tips

  • Review concepts before attempting questions
  • Practice writing complete answers
  • Compare your answers with model solutions
  • Focus on questions from recent years
  • Use direct links (#question-ID) to bookmark and share specific questions

Related Resources

← Back to Data Structure and Algorithms Chapters

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.

H
Hami IT

Empowering IT students with quality education resources and comprehensive exam preparation materials.

Programs

  • Flutter
  • Java
  • DevOps

Company

  • About Us
  • Contact

Contact

  • 📧hamiit.dev@gmail.com
  • 📞+977 9813706443
  • 📍Kathmandu, Nepal

© 2026 Hami IT. All rights reserved.