Trees & Binary Tree
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
PANDU WICAKSONO
Used 23+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a tree in the context of data structures?
A non-linear data structure
A data structure with only one child
A linear data structure
A data structure with no children
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the root node in a tree?
A node that is stored contiguously
A node that has no children
The topmost node in the tree
Nodes that have the same parent
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of nodes on level 3 of a binary tree?
15
8
7
4
Answer explanation
2^k
k = level
misal: level = 3
2^3 = 8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the depth of a node in a binary tree?
The total number of nodes on the path from the root node to the deepest node
The length of the path from the root to the node
The total number of children that a node has
The total number of levels in the tree
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of binary tree is a binary tree in which every level are at the same depth?
Balanced Binary Tree
Skewed Binary Tree
Complete Binary Tree
Perfect Binary Tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct infix notation for the prefix expression * + a b c?
a + b * c
(a + b) * c
a + (b * c)
a + b + c
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method broadens the search tree as much as possible before going to the next depth?
Pre-order Traversal
Breadth First Search
Depth First Search
Post-order Traversal
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of nodes on a binary tree of height 3?
31
7
8
15
Answer explanation
2^(h+1) - 1
h = height
misal :
height = 3
= 2^(3+1) - 1
= 2^4 - 1
= 16 - 1
= 15
Similar Resources on Wayground
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
7 questions
Data mining-Clustering-1
Quiz
•
University
10 questions
YT-Quiz
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
11 questions
SCM and Logistics
Quiz
•
University
10 questions
java quiz on Encapsulation and Abstraction
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
