Tree Data Structure Quiz

Tree Data Structure Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Informatika XII

Informatika XII

12th Grade

15 Qs

RoutingBasics

RoutingBasics

8th Grade - University

11 Qs

Telebort Program G: Data Preparation & Classification

Telebort Program G: Data Preparation & Classification

12th Grade

10 Qs

Searching Algorithms and Time Complexity

Searching Algorithms and Time Complexity

12th Grade

15 Qs

CSF U2 Algorithms p2

CSF U2 Algorithms p2

9th - 12th Grade

11 Qs

ASSESSMENT

ASSESSMENT

10th Grade - University

10 Qs

Chapter 5 Study Guide

Chapter 5 Study Guide

12th Grade

11 Qs

Exploring Trees in Data Structures

Exploring Trees in Data Structures

12th Grade

10 Qs

Tree Data Structure Quiz

Tree Data Structure Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Dr.S.Vidhya KGCAS

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of edges in a tree with n nodes?

(n+1)

(2n)

(n-1)

(n/2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about a root node in a tree?

It can have multiple parents.

It cannot have any children.

There must be only one root node.

It is the last node in the tree.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of a node?

The total number of edges in the tree.

The total number of children of that node.

The height of the tree.

The level of the node.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

One or two

Any number

Zero or two

Zero or one

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a skewed binary tree?

A tree dominated by left or right child nodes.

A tree with equal number of left and right children.

A tree with all levels completely filled.

A tree with no children.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the height of a leaf node in a tree?

The total number of nodes in the tree

The number of edges from root to leaf

1

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an application of tree data structures?

Used for linear search.

Used in data compression.

Manipulate hierarchical data.

Used by compilers to build syntax trees.

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?