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
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
Similar Resources on Wayground
7 questions
Final Practice

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

Quiz
•
University
10 questions
Quiz on Machine Thinking

Quiz
•
University
11 questions
Distributed Systems

Quiz
•
University
9 questions
DSC119_Chap 3: Data Visualization Structure

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

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

Quiz
•
University
10 questions
ML Course Activity-II

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade