
Binary Tree and BST MCQs
Authored by Shubham Khari
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the degree of a binary tree node?
1
2
Maximum of 2
At least 1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of nodes in a binary tree of height $ h $?
$ 2^h - 1 $
$ 2^{h+1} - 1 $
$ 2^{h-1} $
$ h^2 $
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, the number of leaf nodes is:
Greater than the number of internal nodes.
Equal to the number of internal nodes.
One more than the number of internal nodes in a full binary tree.
Twice the height of the tree.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a complete and a full binary tree?
A complete binary tree has all levels fully filled.
A full binary tree has all levels filled except possibly the last.
A full binary tree has all nodes with 0 or 2 children.
There is no difference.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a binary tree has $ N $ nodes, what is the height of the tree in the worst case?
$ O(\log N) $
$ O(N) $
$ O(1) $
$ O(\sqrt{N}) $
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following trees is not a binary tree?
AVL tree
Red-Black tree
B-tree
Huffman tree
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The minimum height of a binary tree with $ n $ nodes is:
$ \lfloor \log_2(n+1) \rfloor $
$ \lceil \log_2(n+1) \rceil $
$ \log_2 n $
$ \lfloor \log_2 n \rfloor $
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
60 questions
JARINGAN KOMPUTER LANJUT
Quiz
•
University
60 questions
QUIZBEE TLE 7 INDUSTRIAL ARTS
Quiz
•
7th Grade - University
63 questions
CS8392 - Object Oriented Programming - Unit 1
Quiz
•
University
60 questions
Microprocessor & Microcontroller Basics
Quiz
•
University
70 questions
GEL 211 - Quiz 1
Quiz
•
University
60 questions
Associate Diploma in Software Development Quiz- Set 1 (Amal)
Quiz
•
University
67 questions
Cơ sở dữ liệu
Quiz
•
University
70 questions
Kuis 1 Komputer Grafis
Quiz
•
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade