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

Quiz
•
Computers
•
University
•
Medium
Yomna Elkholy
Used 22+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
8 questions
Trees & Binary Tree

Quiz
•
University
8 questions
DSA Group 2 (Heaps Quiz)

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
10 questions
ML Course Activity-II

Quiz
•
University
7 questions
Final Practice

Quiz
•
University
13 questions
DS UNIT-2 TEST-2

Quiz
•
University
12 questions
Binary Tree

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade