
Binary Search Tree Quiz No 2
Authored by Elizabeth Gist
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Binary Search Tree (BST)?
A tree where each node has three children.
A tree where the value of the left child is smaller and the value of the right child is larger than the parent node.
A tree where all nodes have the same value.
A tree where nodes are arranged in a random order.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a Binary Search Tree, which child of a node contains values smaller than the node's value?
Left child
Right child
Both left and right children
Neither left nor right child
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the minimum number of nodes required to form a BST?
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method of a BST visits the nodes in ascending order?
Pre-order
Post-order
In-order
Level-order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a value is smaller than the root in a Binary Search Tree, where does it go?
Right subtree
Left subtree
Root itself
It cannot be inserted
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if a node to be deleted in a Binary Search Tree has no children?
The node is replaced by its in-order successor.
The node is removed directly.
The node is replaced by its in-order predecessor.
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a Binary Search Tree?
To store data in a random order
To perform efficient searching, insertion, and deletion
To arrange nodes in ascending order only
To guarantee balanced tree structure
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
History of Digital Computer
Quiz
•
10th - 12th Grade
15 questions
网络与通讯
Quiz
•
12th Grade
10 questions
Algorithm
Quiz
•
10th - 12th Grade
12 questions
PERWAKILAN DATA TINGKATAN 2
Quiz
•
12th Grade
10 questions
Augmented Reality
Quiz
•
12th Grade
15 questions
10.2 Effective use of the internet
Quiz
•
9th - 12th Grade
10 questions
หน่วยที่ 3 การค้นหากลุ่มเป้าหมาย
Quiz
•
12th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade