
Binary Search Tree Quiz

Quiz
•
Computers
•
12th Grade
•
Hard

Sreerama Murthy Velaga
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Data Structures

Quiz
•
12th Grade
8 questions
Understanding Binary Trees and Insertion

Quiz
•
12th Grade
10 questions
Binary Search Tree Quiz No 1

Quiz
•
12th Grade
10 questions
Binary Search Tree Traversal Quiz

Quiz
•
12th Grade
14 questions
Binary Tree Quiz

Quiz
•
12th Grade
10 questions
Tree Data Structure Quiz

Quiz
•
12th Grade
13 questions
A-level linked lists (video)

Quiz
•
12th Grade
15 questions
Data Structures & Algorithm Quiz final

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade