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
16 questions
DS - Linked List - S1

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

Quiz
•
University
9 questions
Data structures

Quiz
•
University
16 questions
Linked List and Arrays in JAVA

Quiz
•
University
7 questions
Binary Search Tree

Quiz
•
University
10 questions
DS Quiz1

Quiz
•
University
15 questions
special exam in BINARY TREE

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade