Binary Search Tree

Quiz
•
Computers
•
University
•
Medium

PANDU WICAKSONO
Used 5+ times
FREE Resource
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
Similar Resources on Wayground
8 questions
Exploring Binary Trees in C#

Quiz
•
University
6 questions
MPS INTERNAL 2 TEST

Quiz
•
University
10 questions
tree

Quiz
•
University
11 questions
AI Quiz 1

Quiz
•
University
9 questions
C++ linked lists

Quiz
•
University
9 questions
Data Structures and Algorithm

Quiz
•
University
10 questions
1.4.2 Data Structures - Trees

Quiz
•
12th Grade - University
6 questions
PSIC Sep 24 Unit1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University