Binary Search Tree

Quiz
•
Computers
•
University
•
Medium

PANDU WICAKSONO
Used 6+ 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
10 questions
DS Quiz 2

Quiz
•
University
8 questions
Binary search tree

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
10 questions
Computer Languages

Quiz
•
KG - University
12 questions
Binary Tree

Quiz
•
University
10 questions
Quiz 2 - ASD - B

Quiz
•
University
10 questions
IP Addresses

Quiz
•
University
10 questions
Stack

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University