
Heap Sort

Quiz
•
Computers
•
12th Grade
•
Medium
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
Similar Resources on Wayground
8 questions
Basics of JavaScript

Quiz
•
12th Grade
10 questions
ADA Module-3 Quiz 2024

Quiz
•
12th Grade
15 questions
Basic Data Structures - Intro to CS

Quiz
•
12th Grade
15 questions
Area With Arrays

Quiz
•
10th - 12th Grade
16 questions
Introduction to Programming (Ch2)

Quiz
•
9th - 12th Grade
16 questions
Sorting & Searching Algorithms

Quiz
•
12th Grade
11 questions
1.4.(c) Data Structures (video)

Quiz
•
12th Grade
8 questions
JS Talks, Quiz #4

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade