
Binary Search Tree Quiz
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
Yasmin Kandil
Used 9+ times
FREE Resource
Enhance your content in a minute
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 at most two children.
A tree where the left child contains values smaller than the parent, and the right child contains values greater.
A tree that is always balanced.
None of the above.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the inorder traversal?
NRL
LRN
LNR
RNL
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What traversal method prints the BST elements in sorted order?
Preorder
Inorder
Postorder
Level Order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A BST contains the elements [10, 20, 5, 15, 30]. What is the inorder traversal result?
10, 5, 15, 20, 30
5, 10, 15, 20, 30
30, 20, 15, 10, 5
5, 15, 10, 20, 30
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Preorder traversal?
NRL
LRN
NLR
RNL
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What condition makes a tree not a BST?
A node's left child has a greater value than the node itself.
A node's right child has a smaller value than the node itself.
Both A and B.
None of the above.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following ensures the best performance of a BST?
Ensuring the tree remains balanced.
Adding elements in a sorted manner.
Adding elements in descending order.
Using a fixed insertion order.
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
Internet și web
Quiz
•
University
10 questions
Posttest for UKIN
Quiz
•
10th Grade - University
10 questions
Uji Pemahaman Berpikir Komputasioal
Quiz
•
8th Grade - University
8 questions
Pre Quiz CIE Activity-01- Flipped Classroom
Quiz
•
University
10 questions
Informatika
Quiz
•
10th Grade - University
10 questions
Quiz on Web Services in Education
Quiz
•
12th Grade - University
14 questions
Quiz Instalasi Arduino IDE
Quiz
•
11th Grade - University
15 questions
DATA COM QUIZ
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
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
