
HEAPS
Authored by Taichi Ishikari
Computers
Professional Development
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
It is a specialized tree-based data structure that satisfies the ____ property.
Priority Queues
Maps
Heaps
Sets
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The key of a parent node is greater than or equal to the key of any of its children.
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The key of a parent node is less than or equal to the key of any of its children.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of heap is this?
Max Heap
Min Heap
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of heap is this?
Max Heap
Min Heap
6.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
In a Min Heap, every parent node is smaller than or equal to its ____.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This function converts a regular list to a heap.
heapify()
tuple()
list()
dict()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?