
ADS 1
Quiz
•
Computers
•
University
•
Hard
Used 20+ times
FREE Resource
Enhance your content
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The height of a BT is given as h. Consider the height of the tree as the
no. of edges in the longest path from root to the leaf. The maximum no.
of nodes possible in the tree is?
2 h-1 -1
2 h+1 -1
2 h +1
2 h-1 +1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The no of external nodes in a full binary tree with n internal nodes is?
n
n+1
2n
2n+1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose a binary tree is constructed with n nodes, such that each node
has exactly either zero or two children. The maximum height of the tree
will be?
(n+1)/2
(n-1)/2
n/2 -1
(n+1)/2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following statement about binary tree is CORRECT?
Every binary tree is either complete or full
Every complete binary tree is also a full binary tree
Every full binary tree is also a complete binary tree
A binary tree cannot be both complete and full
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In full binary search tree every internal node has exactly two children. If there are 100 leaf nodes in the tree, how many internal nodes are there in the tree?
25
49
99
101
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of traversal of binary search tree outputs the value in sorted order?
Pre-order
Post-order
In-order
None Answer B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a full binary tree, every internal node has exactly two children. A full binary tree with 2n+1 nodes contains
n leaf node
n internal nodes
n-1 leaf nodes
n-1 internal nodes
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Deep Learning Quiz 2
Quiz
•
University
20 questions
Sorting and Searching Algorithms Quiz - Batch 1
Quiz
•
University
20 questions
Sistem Operasi Jaringan Komputer
Quiz
•
12th Grade - University
20 questions
Data Structures and Algorithms Quiz
Quiz
•
University
20 questions
FUNDAMENTALS OF ALGORITHMS - UNIT II
Quiz
•
University
19 questions
L7 Tree Data Structures Quiz
Quiz
•
University
20 questions
Data Structures Cup 2025 (The Final Competition)
Quiz
•
University
20 questions
UAS Struktur Data
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University