
Binary Search Trees and Balanced Trees Quiz
Authored by Matthew Garcia
Computers
University
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the worst case, a binary search tree will take how much time to search an element?
O(n)
O(log n)
O(n^2)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How much time does an AVL tree take to perform insert, insert, and delete operations in the average case as well as the worst case?
O(n)
O(log n)
O(n^2)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When the left sub-tree of the tree is one level higher than that of the right sub-tree, then the balance factor is
0
1
-1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which rotation is done when the new node is inserted in the right sub-tree of the right sub-tree of the critical node?
LL
LR
RL
RR
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a node N is accessed it is splayed to make it the
Root node
Parent node
Child node
Sibling node
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search tree, all the nodes in the left sub-tree have a value less than that of the root node.
True
False
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To find the node with the largest value, we will find the value of the rightmost node of the ____ ____ _____.
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?
Similar Resources on Wayground
17 questions
Graph Theory Data Structures
Quiz
•
University
18 questions
Programming in C language
Quiz
•
12th Grade - University
20 questions
JAVA FOR ANDROID-ANDROID
Quiz
•
University
16 questions
Computer Security Risk
Quiz
•
11th Grade - University
20 questions
CCE-III Programming in C Language
Quiz
•
University
21 questions
Quizzz 1.0
Quiz
•
University
20 questions
Mobile App Dev Endterm Quiz #2
Quiz
•
University
16 questions
Python Basics
Quiz
•
KG - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University