
General Tree ,binary tree,traversal
Authored by Vrushali Kondhalkar
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?