A tree is a nonlinear hierarchical data structure that consists of _____ connected by edges.

CSD203_q6_tree1

Quiz
•
Computers
•
University
•
Easy
Đỗ Nga
Used 8+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
nodes
elements
attributes
root
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The height of a node is the number of _____ from the node to the deepest leaf (ie. the longest path from the node to a leaf node).
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The depth of a node is the number of _____ from the root to the node.
edges
nodes
leafs
internal node
external nodes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
h is the height of a node, d is the depth of a node. Fill in the _
h = 0
d = 1
h = 1
d = 0
h = 0
d = 0
h = 1
d = 1
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A collection of disjoint _____ is called a forest.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code traverses the tree in what order?
inorder
postorder
preorder
levelorder
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The code traverses the tree in ________ order.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
New DSC Quiz

Quiz
•
University
20 questions
SMARTICUS

Quiz
•
University
17 questions
Demo DS-A ASHV Quiz

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
15 questions
AlgoMania Quiz

Quiz
•
University
20 questions
ASD - A

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade