What is a tree data structure?

DSA_Unit2

Quiz
•
Computers
•
University
•
Medium
Amal Redge
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linear data structure
A hierarchical data structure
A type of array
A graph with cycles
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, the maximum number of nodes at level ‘L’ is:
2^L
2^(L-1)
2^(L+1)
L^2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a type of binary tree traversal?
Inorder
Preorder
Postorder
Reverse-order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a complete binary tree with ‘n’ nodes, the height of the tree is:
log₂(n+1) - 1
log₂(n) + 1
n - 1
2n
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A binary search tree (BST) is a binary tree with the following property:
The left subtree contains greater values than the root
The right subtree contains smaller values than the root
The left subtree contains smaller values and the right subtree contains greater values
No specific rule applies
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid binary tree representation?
Linked list representation
Array representation
Stack representation
Pointer representation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tree traversal method processes nodes in this order: left subtree → root → right subtree?
Preorder
Inorder
Postorder
Level-order
Create a free account and access millions of resources
Similar Resources on Quizizz
26 questions
Graph Data Structure - 01

Quiz
•
University
20 questions
Data Structure

Quiz
•
University
25 questions
Data Structures 1

Quiz
•
University
30 questions
Struktur data Tree

Quiz
•
University
20 questions
ASD - A

Quiz
•
University
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
20 questions
Algorithm questions

Quiz
•
12th Grade - University
20 questions
Data Structures

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