Ternary Heap Multiple choice Questions and Answers (MCQs)

Ternary Heap Multiple choice Questions and Answers (MCQs)

Congratulations - you have completed Ternary Heap Multiple choice Questions and Answers (MCQs).

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 1 [CLICK ON ANY COICE TO KNOW RIGHT ANSWER]
What is the smallest element of the given minimum ternary heap?
A
1
B
10
C
18
D
20
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 [CLICK ON ANY COICE TO KNOW RIGHT ANSWER]
What is the highest element of the given maximum ternary heap?
A
31
B
10
C
18
D
20
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 [CLICK ON ANY COICE TO KNOW RIGHT ANSWER]
What is the child of smallest element of the given minimum ternary heap?
A
1
B
10
C
22
D
24
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 [CLICK ON ANY COICE TO KNOW RIGHT ANSWER]
What are the siblings of smallest element of the given maximum ternary heap?
A
31
B
12
C
18
D
22
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 [CLICK ON ANY COICE TO KNOW RIGHT ANSWER]
What is the height of a given minimum ternary heap?
A
1
B
10
C
2
D
24
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.

Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 5 questions to complete.