
Binary Search Tree Quiz
Authored by Sreerama Murthy Velaga
Computers
12th Grade
Used 4+ 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
30 sec • 1 pt
In a Binary Search Tree (BST), what is the value of a node called with respect to its left subtree?
Predecessor
Successor
Ancestor
Descendant
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a property of a Binary Search Tree (BST)?
In-order traversal gives nodes in sorted order
Each node has at most two children
Left subtree of a node contains nodes with values less than the node's value
Right subtree of a node contains nodes with values greater than the node's value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal of a Binary Search Tree (BST) will give nodes in non-decreasing order?
Pre-order
Post-order
In-order
Level-order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a disadvantage of Binary Search Trees (BSTs)?
Search operation is fast
Insertion and deletion can be slow in the worst case
Requires less memory compared to other tree structures
Suitable for all types of data
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a Binary Search Tree (BST), what is the maximum number of nodes at level "h"?
2^h
2^(h-1)
h
h^2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching for a value in a balanced Binary Search Tree (BST)?
O(n)
O(log n)
O(n log n)
O(1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a Binary Search Tree (BST), which operation is used to remove a node with two children?
Delete
Erase
Remove
None of the above
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
12 questions
2.0 (b) Approach in Problem Solving
Quiz
•
12th Grade
12 questions
Vyhledávání na internetu
Quiz
•
9th - 12th Grade
10 questions
KEIRO PROGRAMMING
Quiz
•
4th - 12th Grade
12 questions
HTTP protocol and Privacy on the web
Quiz
•
9th - 12th Grade
12 questions
2ND QUARTER REVIEW 2
Quiz
•
12th Grade
10 questions
Bitwise Operators in C Language
Quiz
•
12th Grade
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
14 questions
Cuestionario sobre Lenguajes de Programación
Quiz
•
7th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade