Vidyalelo
Data Structure · all questions

Heaps
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

166

Questions

8/9

Page

Pick an option on a question to see the right answer and solution.

What is the time complexity for increasing priority of key in a maximum ternary heap of n elements?

Select an option to see the answer and solution.

How many properties does a leftist heap support?

Select an option to see the answer and solution.

Min heap is a complete binary tree.

Select an option to see the answer and solution.

The Statement "Fibonacci heap has better amortized running time in compare to a binomial heap".

Select an option to see the answer and solution.

Which of the following methods is the best choice for complex applications?

Select an option to see the answer and solution.

Is the priority queue abstract data type.

Select an option to see the answer and solution.

What is the amortized cost per operation of a skew heap?

Select an option to see the answer and solution.

What is the best case complexity in building a heap?

Select an option to see the answer and solution.

The following figure is an example for
Heaps mcq question image

Select an option to see the answer and solution.

What is the time complexity for decreasing priority of key in a maximum ternary heap of n elements?

Select an option to see the answer and solution.

What is the time taken to delete a minimum element in a leftist heap?

Select an option to see the answer and solution.

Why would a recursive implementation fail in skew heaps?

Select an option to see the answer and solution.

Which property should ternary heap hold for execution?

Select an option to see the answer and solution.

What is the basic operation performed in a pairing heap?

Select an option to see the answer and solution.

On which data structure is a d-ary heap based?

Select an option to see the answer and solution.

The actual pairing heap implementation uses the right child and left child representation.

Select an option to see the answer and solution.

What is the time complexity for creating a ternary heap using swapping?

Select an option to see the answer and solution.

What is a ternary heap?

Select an option to see the answer and solution.

Which of these operations have same complexities?

Select an option to see the answer and solution.

d-heap is shallower than a binary heap.

Select an option to see the answer and solution.