Ternary Tree Multiple choice Questions and Answers (MCQs)
Click on any option to know the CORRECT ANSWERS
How many extra nodes are there in Full ternary tree than a complete ternary tree?
Both have same number of nodes
Question 1 Explanation:
Every Full ternary tree is also a complete ternary tree. Therefore, both have same number of nodes.
Is Node A sibling of Node D in the given ternary tree?
Question 2 Explanation:
Node B, Node C are the siblings of Node D while Node A is the parent node of Node D.
What is the size of the given ternary tree?
Question 3 Explanation:
Size of the ternary tree is defined as the total number of nodes present in the tree. Since there are total of 6 nodes in the ternary tree. So the size of the ternary tree is 6.
Who is the ancestor of Node G?
Question 4 Explanation:
Ancestor node is a node that comes in between the path from the node to the root. Since Node C comes between node G and root, so Node C is called the ancestor node.
Who is descendant of Node B?
Both E and F
Question 5 Explanation:
Descendant node is a node which has a direct path from ancestor node. Since both E and F are connected to B, so Node E and Node F are the descendants of Node B.
There are 5 questions to complete.