
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
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 = 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 Wayground
20 questions
DSA - QA3

Quiz
•
University
20 questions
Data Structures Quiz

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
17 questions
Demo DS-A ASHV Quiz

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
14 questions
Binary Tree

Quiz
•
University
12 questions
Binary Tree

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade