
Binary Search Trees

Quiz
•
Computers
•
University
•
Hard
Mrs.C. Rathika
Used 19+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a ____, for any node 'n' every descendant node's value in the left subtree is less than n and in the right subtree is greater than n.
Binary Tree
Binary Search Tree
AVL Tree
Binary Heap Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ____ of a Binary Search Tree starts by visiting the current node, then its left child node and then its right child node.
Pre-Order Traversal
In-Order Traversal
Post-Order Traversal
Linear Order Traversal
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A ____ is a Binary Search Tree whose left and right subtree differ in height by at most 1 unit; and whose left and right subtrees are AVL trees.
Red-Black Tree
AVL Tree
Binary Heap Tree
Complete Binary Tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For an AVL Tree, the ____ is the additional piece of information which indicates if the difference in height between the left and the right subtree is the same or not; which of the two subtrees has one unit larger height.
Tree Factor
Balance Factor
Additional Factor
Unit Factor
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Binary Tree can have
2 children
1 child
0 child
all of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binary Search works best on
Equally effective on sorted and unsorted lists
Unsorted lists
Sorted lists
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
MACHINE LEARNING

Quiz
•
University
10 questions
Quiz despre B Tree

Quiz
•
University
10 questions
BST 2

Quiz
•
University
7 questions
Intro to ML: Decision Trees

Quiz
•
University
15 questions
Design n Analysis of Algorithm

Quiz
•
University
10 questions
Evolutionary Algorithm Variants

Quiz
•
University
14 questions
Tree #1

Quiz
•
University
12 questions
Data Structures

Quiz
•
University
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
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University