CSD203_Quiz6_tree1

CSD203_Quiz6_tree1

University

17 Qs

quiz-placeholder

Similar activities

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

Information System and Modern Organization part 1

Information System and Modern Organization part 1

University

14 Qs

6INFOMAN (Recitation)

6INFOMAN (Recitation)

University - Professional Development

20 Qs

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

University

20 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

CSD203_Quiz6_tree1

CSD203_Quiz6_tree1

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Đỗ Nga

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?