Trees

Trees

University

11 Qs

quiz-placeholder

Similar activities

Heap and Search Tree

Heap and Search Tree

University

15 Qs

Heap

Heap

University

15 Qs

Linked List - Implementation

Linked List - Implementation

University

15 Qs

Quiz despre B Tree

Quiz despre B Tree

University

10 Qs

Trees

Trees

University

10 Qs

BCSC0006 Trees

BCSC0006 Trees

University

10 Qs

Trees in Data Structure

Trees in Data Structure

University

15 Qs

Data Structure and Algorithms Semi-Final Examination

Data Structure and Algorithms Semi-Final Examination

University

13 Qs

Trees

Trees

Assessment

Quiz

Computers

University

Medium

Created by

Yomna Elkholy

Used 22+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To represent a hierarchical relationship between elements, which data structure is suitable?

Tree

Linked List

Queue

Graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a tree structure, nodes that are not root and not leaf are known as internal nodes.

True

False

Answer explanation

[Root is considered an internal node.]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a tree structure, a node is a parent if it has successor nodes

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

…………………. is a directed tree in which out-degree of each node is less than or equal to two

Binary tree

Unary tree

Trinary tree

Both Unary and Trinary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An empty tree is also a binary tree.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In strictly binary tree, the out-degree of every node is either 0 or 2.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about binary trees is NOT true?

Every binary tree has at least one node.

Every non-empty tree has exactly one root node.

Every node has at most two children.

Every non-root node has exactly one parent.

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?