
Trees

Quiz
•
Computers
•
University
•
Easy
Enugala Rajitha
Used 1+ times
FREE Resource
16 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • Ungraded
Enter your Rollno
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a general tree, a node can have at most
1 child
2 children
Any number of children
No children
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The depth of a node in a tree is:
Number of leaves in the tree
Number of nodes in the path from root to the node
Number of edges from the node to the deepest leaf
Always equal to height of the tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A tree with ‘n’ nodes has exactly how many edges?
n
n – 1
n + 1
2n
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A full binary tree is a tree in which:
Every node has 0 or 1 child
Every level must be completly filled
Every node has 0 or 2 children
All leaves are at the same level
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The maximum number of nodes in a binary tree of height h (with root at level 1) is:
2^h
2^h – 1
2^(h+1)
h^2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal method is used in expression trees to get the prefix expression?
Preorder
Postorder
Inorder
Level Order
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Binary trees

Quiz
•
University
17 questions
Section 4: Logging and monitoring.

Quiz
•
University
15 questions
Arrays and Linked Lists

Quiz
•
University
20 questions
6. Kubernetes Networking & Services

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
15 questions
Networking Quiz

Quiz
•
University
20 questions
ASD - A

Quiz
•
University
21 questions
Distributed Systems -Tapestry and Memory Consistency models

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade