Trees

Trees

University

11 Qs

quiz-placeholder

Similar activities

Binary Search Tree (Recap 1)

Binary Search Tree (Recap 1)

11th Grade - University

13 Qs

DSA-Quiz1

DSA-Quiz1

University

12 Qs

Binary Tree

Binary Tree

University

12 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Trees & Binary Tree

Trees & Binary Tree

University

8 Qs

Data Structures -Trees & Sorting

Data Structures -Trees & Sorting

University

15 Qs

Trees - Data Structures

Trees - Data Structures

University

7 Qs

DSA Group 2 (Heaps Quiz)

DSA Group 2 (Heaps Quiz)

University

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