Heap Sort

Heap Sort

12th Grade

11 Qs

quiz-placeholder

Similar activities

SDD HSC Quiz 4Review Q1-10

SDD HSC Quiz 4Review Q1-10

12th Grade

10 Qs

Sorting  Algorithms &  Efficiency

Sorting Algorithms & Efficiency

11th - 12th Grade

15 Qs

Heap

Heap

12th Grade

10 Qs

C++ Quiz 5: Searching and Sorting Algorithms

C++ Quiz 5: Searching and Sorting Algorithms

7th - 12th Grade

9 Qs

Priority Queues and Heaps

Priority Queues and Heaps

9th - 12th Grade

10 Qs

AP CSP Unit 10 Algorithms

AP CSP Unit 10 Algorithms

12th Grade

15 Qs

SDD HSC Quiz 4A

SDD HSC Quiz 4A

12th Grade

15 Qs

Unit 8 - Searching and Sorting

Unit 8 - Searching and Sorting

9th - 12th Grade

15 Qs

Heap Sort

Heap Sort

Assessment

Quiz

Computers

12th Grade

Medium

Created by

romaysa i

Used 3+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a binary tree?

A structure with nodes connected by edges

A tree that maintains a specific order between parent and child nodes.

A sublist created from values in an array

2.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

How many children can each node have?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the root node in a binary tree?

The node with no parent

The node with no children

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is a heap?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does heapify do?

Bring the greatest number to the top of the heap

Move the greatest number to the bottom of the heap

Remove the greatest number from the bottom of the heap

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens to a number after it's removed from a heap?

It gets sorted into its place in the array

It gets moved to the end of the array

It moves to the beginning of the array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the notation for heap sort's best-case scenario?

O(n log n)

O(n log 2)

O(log n)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?