
CHAPTER 5 : TREES

Quiz
•
Computers
•
University
•
Hard
Azilah Rahim
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the root node in a tree?
The last node in the tree
A node without any children
The first node in the tree
A node with two children
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, how many children can a node have at most?
One
Two
Three
Unlimited
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about a binary search tree (BST)?
The left child must have a value greater than the root
The right child must have a value greater than the root
All children must have the same value
The root must be smaller than all children
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a leaf node?
A node that is the root
A node with no children
A node with exactly two children
A node with multiple parents
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the degree of a node in a tree?
The number of siblings
The number of children a node has
The number of parents a node has
The number of leaves in the tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method visits the left subtree, then the root, and finally the right subtree?
Pre-order traversal
Post-order traversal
In-order traversal
Level-order traversal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of tree allows a node to have at most three children?
Binary Tree
Ternary Tree
N-ary Tree
AVL Tree
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
ICT212W7

Quiz
•
University
28 questions
AI-quiz-1

Quiz
•
University
30 questions
Jarkom-BSI

Quiz
•
University
27 questions
[AP CSP] Binary NUmbers

Quiz
•
9th Grade - University
26 questions
ITN 05.02b Hexadecimal-to-Binary Conversion

Quiz
•
University
25 questions
Профессиональная иностранная терминология_6

Quiz
•
University
30 questions
Binary Trees and Traversals Quiz

Quiz
•
University
25 questions
UH BAB II

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University