Discrete Structure: Trees

Discrete Structure: Trees

University

14 Qs

quiz-placeholder

Similar activities

DS Quiz

DS Quiz

University

12 Qs

In-Lab5

In-Lab5

University

14 Qs

CP-II

CP-II

University

10 Qs

AI Quiz 1

AI Quiz 1

University

10 Qs

Data Mining Terminology 1

Data Mining Terminology 1

University

15 Qs

Medical Terminology

Medical Terminology

University

10 Qs

Quiz Minggu 4 Algoritma Pemrograman

Quiz Minggu 4 Algoritma Pemrograman

University

10 Qs

Sprunki

Sprunki

University

17 Qs

Discrete Structure: Trees

Discrete Structure: Trees

Assessment

Quiz

Other

University

Hard

Created by

vash puno

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a tree in graph theory?

A disconnected graph with no edges

A graph with multiple loops

A connected graph with no simple circuits

A connected graph with simple circuits

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a binary search tree?

A tree with only one child per node

A tree with nodes sorted according to their key values

A tree where the left child is lesser than the parent

A tree where the left child is greater than the parent

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal method visits the root node first?

Inorder Traversal

Postorder Traversal

Preorder Traversal

Level Order Traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary tree, how many children can a node have?

Any number

Three

Two

One

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of an inorder traversal of a binary search tree?

Unsorted key values

Sorted key values in ascending order

Sorted key values in descending order

Random key values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a spanning tree contain?

All vertices of a graph with maximum edges

All vertices of a graph with minimum edges

Only the root node of a graph

All edges of a graph

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a method of tree traversal?

Random Order Traversal

Inorder Traversal

Preorder Traversal

Postorder Traversal

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?