CSD203_q6_tree1

CSD203_q6_tree1

University

17 Qs

quiz-placeholder

Similar activities

Basics of Data Structure

Basics of Data Structure

University

20 Qs

Introduction to Tree Data Structure (TDS)

Introduction to Tree Data Structure (TDS)

University

20 Qs

MS 101 - Week 16 - Graph

MS 101 - Week 16 - Graph

University

20 Qs

INTRODUCTION TO TREE DATA STRUCTURE

INTRODUCTION TO TREE DATA STRUCTURE

University

20 Qs

TREES

TREES

University

20 Qs

special exam in BINARY TREE

special exam in BINARY TREE

University

15 Qs

Data Structures

Data Structures

University

20 Qs

ITEDAT Endterm Quiz #3

ITEDAT Endterm Quiz #3

University

20 Qs

CSD203_q6_tree1

CSD203_q6_tree1

Assessment

Quiz

Computers

University

Easy

Created by

Đỗ 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

Media Image
  • 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

Media Image

The code traverses the tree in what order?

inorder

postorder

preorder

levelorder

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

The code traverses the tree in ________ order.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?