Binary Trees IB
Quiz
•
Computers
•
11th Grade
•
Easy
Jonathan Clark
Used 1+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the ROOT node in this Tree?
35
24
42
20
Answer explanation
The ROOT node value is the topmost value in the Tree. In this case, the correct value is 35, as it is the only option that represents the ROOT node correctly.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Root
data structure similar to a graph, with no loops.
an object in a graph also known as a vertex
a join of relationship between nodes - also know as an arc
the starting node in a rooted tree structure from which all other nodes branch off./
Answer explanation
The correct answer is 'the starting node in a rooted tree structure from which all other nodes branch off.' This defines the root as the primary node in a tree, from which all other nodes extend.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binary TREE
data structure similar to a graph, with no loops.
an object in a graph also known as a vertex
a join of relationship between nodes - also know as an arc
a tree where each node can only have 2 child nodes attached to it
Answer explanation
A binary tree is defined as a tree structure where each node can have at most two child nodes. This distinguishes it from other tree types and aligns with the correct answer choice.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In preorder traversal of a binary tree the second step is ____________
traverse the right subtree
traverse the left subtree
traverse right subtree and visit the root
visit the root
Answer explanation
In preorder traversal, the first step is to visit the root node. The second step is to traverse the left subtree before moving on to the right subtree, making 'traverse the left subtree' the correct choice.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many leaf are there in the tree?
1
3
4
7
Answer explanation
The tree has 3 leaves, which can be counted by examining the branches. The other options (1, 4, and 7) do not match the actual count of leaves present.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In this tree, where would the new value "7" be placed?
On the left "leaf" of "4"
On the right "leaf" of "6"
On the left "leaf" of "15"
Over the top of the current number "5"
Answer explanation
The value '7' is greater than '6' but less than '15', so it should be placed on the right 'leaf' of '6'. This maintains the binary search tree property where left children are smaller and right children are larger.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these tree traversal methods is used to output the contents of a binary tree in ascending order?
Pre-Order
In-Order
Post-Order
Monastic Orders
Answer explanation
The In-Order traversal method visits nodes in the order of left child, parent, and then right child. This results in the nodes of a binary tree being output in ascending order, making it the correct choice for this question.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
15 questions
Q2-Week1-Multimedia and ICT
Quiz
•
11th Grade
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
12 questions
Windows 10 Installation
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
