Binary Search Tree
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
PANDU WICAKSONO
Used 6+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the left subtree of a node in a Binary Search Tree contain?
Elements with duplicate keys
Elements equal to the node
Elements smaller than the node
Elements greater than the node
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is used to find a key in a Binary Search Tree?
remove(x)
insert(x)
update(x)
search(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is insertion into a Binary Search Tree done?
Recursively
Using a stack
Using a queue
Iteratively
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is the correct algorithm for deletion in a Binary Search Tree?
Find the successor and remove it
Find the predecessor and remove it
Delete the root node
Delete the leaf nodes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the property of Binary Search Tree that makes searching easy?
Elements are sorted in descending order
Elements are sorted in ascending order
Elements are randomly arranged
Elements are stored in a linked list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is used to insert a new key into a Binary Search Tree?
search(x)
remove(x)
insert(x)
find(x)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the right subtree of a node in a Binary Search Tree contain?
Elements greater than the node
Elements smaller than the node
Elements equal to the node
Elements with duplicate keys
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
10 questions
ICT 1202-B-2021-Q1
Quiz
•
University
11 questions
Latex
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
12 questions
Kuiz Komputer dan ICT
Quiz
•
1st Grade - University
10 questions
ML Course Activity-II
Quiz
•
University
10 questions
Tes Awal Modul 5 CC
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
