
General Tree ,binary tree,traversal

Quiz
•
Computers
•
University
•
Medium
Vrushali Kondhalkar
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of children a node can have in a general tree?
2
3
Unlimited
It depends on the tree structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the height of a general tree?
The number of nodes in the tree.
The number of edges on the longest path from the root to a leaf
The number of leaf nodes
The total number of levels in the tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a general tree, if a node has a degree of zero, what type of node is it?
Root node
Internal node
Leaf node
Sibling node
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, the node that has no parent is called:
Leaf node
Internal node
Root node
Child node
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, the number of leaf nodes is always one more than the number of internal nodes with two children.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about a binary tree?
Each node has at most two children.
Each node has exactly two children
All nodes are either leaf nodes or internal nodes
It is always a balanced tree
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which traversal method is the root node visited between the left and right subtrees?
In-order traversal
Pre-order traversal
Post-order traversal
Level-order traversal
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A
/ \
B C
/ \ \
D E F
What is the correct sequence of nodes visited in a post-order traversal of the tree below?
A, B, D, E, C, F
D, E, B, F, C, A
D, E, B, C, F, A
A, B, C, D, E, F
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4
/ \
2 6
/ \ / \
1 3 5 7
What is the output of an in-order traversal of the following binary search tree?
4, 2, 1, 3, 6, 5, 7
1, 2, 3, 4, 5, 6, 7
1, 3, 2, 5, 7, 6, 4
7, 6, 5, 4, 3, 2, 1
Similar Resources on Wayground
7 questions
Final Practice

Quiz
•
University
10 questions
2025_DSA_LinkedList

Quiz
•
University
11 questions
Linked List Quiz

Quiz
•
University
9 questions
Litle surprise

Quiz
•
University
9 questions
DSC119_Chap 3: Data Visualization Structure

Quiz
•
University
13 questions
DS UNIT-2 TEST-2

Quiz
•
University
10 questions
Quiz Champ Level 3

Quiz
•
University
10 questions
dsa-11.7.24 an

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University