HamiIT
Sign inGet started
Home
Theme
ADD CONTENT

Sign in Required

Please sign in to add content

Sign In
ProgramsBCASemester 3Data Structure and AlgorithmsUnit 7: Trees (5Hrs)
Chapter Study

BCA Semester 3 – Data Structure and Algorithms – Unit 7: Trees (5Hrs)

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

7
Questions
50
Marks
Back to All Chapters
1

Draw a BST from the string DATASTRUCTURE and traverse the tree in post order and preorder.

MediumTHEORY5 marks2019(TU FOHSS Final)
2

Define AVL tree. Construct AVL tree from given data set:4,6,12,9,5,2,13,8,3,7,11.4, 6, 12, 9, 5, 2, 13, 8, 3, 7, 11.4,6,12,9,5,2,13,8,3,7,11.

MediumTHEORY5 marks2019(TU FOHSS Final)
3

What do you mean by Huffman Algorithm? Explain with example. Construct the B tree of order 5 using following data: 20,10,26,55,80,11,9,60,67,55,22,76,56,45,34,100,15020, 10, 26, 55, 80, 11, 9, 60, 67, 55, 22, 76, 56, 45, 34, 100, 15020,10,26,55,80,11,9,60,67,55,22,76,56,45,34,100,150

HardTHEORY10 marks2021(TU FOHSS Final)
4

Differentiate between BST and AVL tree. Given the following AVL Tree:

DOT
1digraph Tree {
2    node [shape=circle];
3    5 -> 3;
4    5 -> 10;
5    3 -> 2;
6    3 -> 4;
7    2 -> 1;
8    10 -> 7;
9    10 -> 11;
10    7 -> 6;
11    7 -> 9;
12    9 -> 8;
13    11 -> 12;
14}

Draw the resulting BST after 5 is removed, but before any rebalancing takes place. Label each node in the resulting tree with its balance factor. Replace a node with both children using an appropriate value from the node's left child.

HardTHEORY10 marks2022(TU FOHSS Final)
5

What are the depth and degree of a node in a tree? Perform pre-order, in-order and post- order traversal of the following tree:

DOT
1digraph Tree {
2    node [shape=circle];
3    G -> K;
4    G -> H;
5    K -> D;
6    K -> M;
7    M -> C;
8    M -> E;
9    H -> A;
10    H -> B;
11    A -> F;
12    A -> N;
13}
MediumTHEORY5 marks2023(TU FOHSS Final)
6

What is an AVL tree? Create an AVL tree from the following data: 18,12,14,8,5,25,31,24,2718, 12, 14, 8, 5, 25, 31, 24, 2718,12,14,8,5,25,31,24,27

MediumTHEORY5 marks2024(TU FOHSS Final)
7

What is B-tree? How insertions and deletions of elements can be done in a B-tree.

HardTHEORY10 marks2024(TU FOHSS Final)
Showing 7 questions

Sample Questions

Draw a BST from the string DATASTRUCTURE and traverse the tree in post order and preorder.

Marks: 5Chapter: Unit 7: Trees (5Hrs)

Define AVL tree. Construct AVL tree from given data set:$4, 6, 12, 9, 5, 2, 13, 8, 3, 7, 11.$

Marks: 5Chapter: Unit 7: Trees (5Hrs)

What do you mean by Huffman Algorithm? Explain with example. Construct the B tree of order 5 using following data: \(20, 10, 26, 55, 80, 11, 9, 60, 67, 55, 22, 76, 56, 45, 34, 100, 150\)

Marks: 10Chapter: Unit 7: Trees (5Hrs)

Differentiate between BST and AVL tree. Given the following AVL Tree: dot digraph Tree { node [shape=circle]; 5 -> 3; 5 -> 10; 3 -> 2; 3 -> 4; 2 -> 1; 10 -> 7; 10 -> 11

Marks: 10Chapter: Unit 7: Trees (5Hrs)

What are the depth and degree of a node in a tree? Perform pre-order, in-order and post- order traversal of the following tree: dot digraph Tree { node [shape=circle]; G -> K; G -> H;

Marks: 5Chapter: Unit 7: Trees (5Hrs)

And more questions available on this page.

About Unit 7: Trees (5Hrs) Questions

This page contains comprehensive questions from the Unit 7: Trees (5Hrs) chapter of Data Structure and Algorithms, part of the BCA 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 7: Trees (5Hrs) chapter questions with answers for Data Structure and Algorithms (BCA 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
  • Terms of Service
  • Privacy Policy

Contact

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

Community

  • Join Discord
  • Report a bug
  • Request feature

© 2026 Hami IT. All rights reserved.