What is a forest in data structures?

ADS Quiz 6

Quiz
•
Computers
•
University
•
Easy
Naman Chauhan
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Set of graphs
Set of disjoint trees
Binary tree
Tree with no leaves
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A tree is a special type of:
Stack
Queue
Graph
Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the degree of a node?
Number of child nodes
Number of ancestors
Number of siblings
Tree height
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the depth of a node?
Number of children
Number of siblings
Number of edges from root
Number of leaves
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A leaf node is a node with:
One child
Two children
No children
No parent
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A binary tree is a tree in which each node has at most:
One child
Two children
Three children
No child
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an array representation of a binary tree, left child of node at index i is at:
2i
2i+1
i+1
2*i
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
KLA Quiz Struktur Data UAS

Quiz
•
University
51 questions
Data Structures and Algorithm - Final Examinations Quiz

Quiz
•
University
50 questions
Quiz

Quiz
•
University
49 questions
cs102-1

Quiz
•
University
50 questions
Data Structures Quiz

Quiz
•
University
45 questions
TECHNICAL QUIZ

Quiz
•
University
50 questions
MInd Freak Round-1

Quiz
•
University
45 questions
Sorting, Searching and Big O Review

Quiz
•
9th Grade - 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