Tree Data Structure Quiz

Tree Data Structure Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Heap

Heap

9th - 12th Grade

10 Qs

Heap and Search Tree

Heap and Search Tree

12th Grade

11 Qs

Crash Course Computer Science #14 - Data Structures

Crash Course Computer Science #14 - Data Structures

9th - 12th Grade

15 Qs

Binary Tree

Binary Tree

12th Grade

6 Qs

Trees and Binary Trees

Trees and Binary Trees

12th Grade

14 Qs

Test-1 S.Y.B.Sc.(CS)Div.-A DS-II

Test-1 S.Y.B.Sc.(CS)Div.-A DS-II

12th Grade

12 Qs

SLR5 | Algorithms

SLR5 | Algorithms

12th Grade

15 Qs

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 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?