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
10 questions
Quiz - CSE

Quiz
•
University
11 questions
AI Quiz 1

Quiz
•
University
11 questions
Trees

Quiz
•
University
10 questions
DRAINER CS : Data Structures Final Review

Quiz
•
University
10 questions
27Mar

Quiz
•
University
10 questions
tree

Quiz
•
University
6 questions
MPS INTERNAL 2 TEST

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade