Binary Trees IB

Quiz
•
Computers
•
11th Grade
•
Easy
Jonathan Clark
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
17 questions
Programming Languages

Quiz
•
9th - 12th Grade
15 questions
ONE 6th FORM Binary Search Tree

Quiz
•
11th Grade
20 questions
ONE 6th FORM BST and Binary Tree

Quiz
•
11th Grade
16 questions
Sampling Sound

Quiz
•
7th - 11th Grade
15 questions
2ND QUARTER REVIEW 1

Quiz
•
9th - 12th Grade
17 questions
pohon

Quiz
•
1st Grade - University
20 questions
Denary (Decimal) to Binary

Quiz
•
9th - 12th Grade
20 questions
ICT 7 - Number Systems

Quiz
•
7th Grade - University
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