What is the degree of a binary tree node?

Binary Tree and BST MCQs

Quiz
•
Computers
•
University
•
Hard
Shubham Khari
Used 3+ times
FREE Resource
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 $
Create a free account and access millions of resources
Similar Resources on Quizizz
61 questions
DAta Structure-unit 1&2

Quiz
•
University
63 questions
CSI không à

Quiz
•
University
60 questions
Advanced Networking (Net102)

Quiz
•
University
60 questions
Jaringan Komputer

Quiz
•
University
68 questions
Principle of Programming

Quiz
•
University
68 questions
IPT Reviewer

Quiz
•
University
70 questions
Computing A level AQA

Quiz
•
12th Grade - University
60 questions
săn đây CSI104

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade