K-ary Tree Multiple choice Questions and Answers (MCQs)

 

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

K-ary Tree Multiple choice Questions and Answers (MCQs)

Click on any option to know the CORRECT ANSWERS

Question 1
How many child nodes does each node of K-ary Tree contain?
A
2
B
3
C
more than k
D
at most k
English grammar Questions answers

Question 1 Explanation: 
Each node of K-ary tree contains at most k nodes. While tree with 2 nodes is called Binary tree and tree with 3 nodes is called Ternary tree.

Question 2
Which of the following is the name of the node having child nodes?
A
Brother
B
Sister
C
Mother
D
Parent
Aptitude test Questions answers

Question 2 Explanation: 
Parent node is the node having child nodes and child nodes may contain references to their parents. Parent node is a node connected by a directed edge to its child.

Question 3
What is the depth of the root node of K-ary tree?
A
2
B
1
C
0
D
3
Microbiology Questions answers

Question 3 Explanation: 
Depth is defined as the length of the path from root to the node. So the depth of root node in K-ary tree is 0.

Question 4
What is the Height of the root node of K-ary tree?
A
1
B
2
C
3
D
0
GK Questions answers

Question 4 Explanation: 
Height of K-ary tree is defined as the length of path from root to deepest node in tree. Therefore, height of root node in K-ary tree is 0.

Question 5
Which node is the root node of the following K-ary tree?
A
A
B
B
C
C
D
D
GK Questions answers

Question 5 Explanation: 
Node A is called the root node of the above K-ary tree while the Node B, Node C, Node D are called Leaf node.

There are 5 questions to complete.

 

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