Ternary Tree Multiple choice Questions and Answers (MCQs)

 

 Buy/Download all MCQ Ebook   >>>Click Here<<<

Ternary Tree Multiple choice Questions and Answers (MCQs)

Click on any option to know the CORRECT ANSWERS

Question 1
How many extra nodes are there in Full ternary tree than a complete ternary tree?
A
1
B
2
C
3
D
Both have same number of nodes
Reasoning Questions answers

Question 1 Explanation: 
Every Full ternary tree is also a complete ternary tree. Therefore, both have same number of nodes.

Question 2
Is Node A sibling of Node D in the given ternary tree?
A
True
B
False
Puzzles Questions answers

Question 2 Explanation: 
Node B, Node C are the siblings of Node D while Node A is the parent node of Node D.

Question 3
What is the size of the given ternary tree?
A
3
B
2
C
6
D
4
Education Questions answers

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.

Question 4
Who is the ancestor of Node G?
A
C
B
F
C
H
D
A
Commerce Questions answers

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.

Question 5
Who is descendant of Node B?
A
A
B
E
C
F
D
Both E and F
Education Questions answers

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.

 

 Buy/Download all MCQ Ebook >>>CLICK HERE<<<