Ternary Heap Multiple choice Questions and Answers (MCQs)

 

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

Ternary Heap Multiple choice Questions and Answers (MCQs)

Click on any option to know the CORRECT ANSWERS

Question 1
What is the smallest element of the given minimum ternary heap?
A
1
B
10
C
18
D
20
English literature Questions answers

Question 1 Explanation: 
Ternary heap is a type of data structure in the field of computer science. It is a part of the Heap data structure family. Minimum ternary heap has the smallest element as its root node. The parent node is all either equal or less than children node in a minimum ternary heap.

Question 2
What is the highest element of the given maximum ternary heap?
A
31
B
10
C
18
D
20
Reasoning Questions answers

Question 2 Explanation: 
Ternary heap is a type of data structure in the field of computer science. It is a part of the Heap data structure family. Maximum ternary heap has the highest element as its root node. The parent node is all either equal or greater than children node in a maximum ternary heap.

Question 3
What is the child of smallest element of the given minimum ternary heap?
A
1
B
10
C
22
D
24
UPSC Questions answers

Question 3 Explanation: 
Minimum ternary heap has the smallest element as its root node. The parent node is all either equal or less than children node in a minimum ternary heap. In the above minimum ternary heap, the smallest element is 1 and its children are 10, 18, 20.

Question 4
What are the siblings of smallest element of the given maximum ternary heap?
A
31
B
12
C
18
D
22
Arab culture Questions answers

Question 4 Explanation: 
Maximum ternary heap has the highest element as its root node. The parent node is all either equal or greater than children node in a maximum ternary heap. The smallest element in the maximum ternary heap is 10 and its siblings are 18, 20.

Question 5
What is the height of a given minimum ternary heap?
A
1
B
10
C
2
D
24
HRM Questions answers

Question 5 Explanation: 
Minimum ternary heap has the smallest element as its root node. The parent node is all either equal or less than children node in a minimum ternary heap. Height is the total length from the root node to the leaf node. So the height of the minimum ternary heap is 1.

There are 5 questions to complete.

 

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