
ADS 1
Computers
University
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Basic Python
Quiz
•
University
19 questions
blockchain
Quiz
•
University
20 questions
EVALUACIÒN PARCIAL - INNOVACIÒN TECNOLOGICA Y IA
Quiz
•
University
20 questions
Introduction to Machine Learning
Quiz
•
University - Professi...
20 questions
Introducing Web Security
Quiz
•
University
20 questions
ASJ XI 22
Quiz
•
12th Grade - University
20 questions
Wireless Network Security
Quiz
•
University
20 questions
Name the Cartoon Network Shows
Quiz
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University