
Binary Search Tree Quiz No 3

Quiz
•
Computers
•
12th Grade
•
Hard
Elizabeth Gist
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal algorithm visits the root node first in a Binary Search Tree (BST)?
In-order
Pre-order
Post-order
Level-order
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method prints the nodes in ascending order in a BST?
Pre-order
In-order
Post-order
Level-order
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the sequence of visiting nodes in a post-order traversal in a BST?
Root, left subtree, right subtree
Left subtree, right subtree, root
Left subtree, root, right subtree
Right subtree, left subtree, root
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method visits the nodes level by level, starting from the root?
Pre-order
In-order
Post-order
Level-order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a pre-order traversal of a BST, what is the sequence of visiting nodes for the following tree:
10, 5, 3, 7, 15, 20
10, 5, 15, 3, 7, 20
10, 15, 20, 5, 7, 3
10, 5, 3, 7, 20, 15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method can be used to create a copy of a BST?
In-order
Pre-order
Post-order
Level-order
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a post-order traversal of a BST, when is the root node visited?
Before visiting the left subtree
After visiting the left subtree and before the right subtree
After visiting both the left and right subtrees
Before visiting any subtree
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
MYSQL

Quiz
•
12th Grade
15 questions
Excel Formulas

Quiz
•
9th - 12th Grade
14 questions
7.5 Search Algorithms

Quiz
•
12th Grade
14 questions
Trees and Binary Trees

Quiz
•
12th Grade
15 questions
สอบย่อยวิชา DS เทอม 1/2567

Quiz
•
12th Grade
10 questions
Huffman Tree Quiz

Quiz
•
12th Grade
10 questions
Search Algorithms

Quiz
•
9th - 12th Grade
15 questions
OCR A2 Computer Science Algorithms Quiz

Quiz
•
12th Grade
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
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade