
CSD203_Quiz6_tree1
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Đỗ Nga
Used 8+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A tree is a nonlinear hierarchical data structure that consists of _____ connected by edges.
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 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.
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
C - Structures
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
20 questions
The Firm and Its Environment
Quiz
•
University
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
15 questions
Komponen Jaringan & Pengkabelan
Quiz
•
University
13 questions
Week 2 Before Class
Quiz
•
University
20 questions
System and network support and management
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
