Trees

Trees

University

11 Qs

quiz-placeholder

Similar activities

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

DS-U3-Q1

DS-U3-Q1

University

10 Qs

DSAA Quiz

DSAA Quiz

University

15 Qs

Binary Tree 2

Binary Tree 2

University

10 Qs

Tree Data Structure

Tree Data Structure

University

10 Qs

Data Structure

Data Structure

University

15 Qs

Binary Tree

Binary Tree

University

14 Qs

Binary Tree

Binary Tree

University

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