Assume the level of root node is 1 and the levels of left and right children of root is 2. The maximum number of nodes on level i of a binary tree is

A2 Trees Quiz

Quiz
•
Computers
•
University
•
Medium
A M Abirami
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2^i
2^(i-1)
2^(i+1)
2^i + 1
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The maximum number of binary trees that can be formed with three nodes
3
4
5
2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The height of a tree is the length of the longest root-to-leaf path in it. The maximum and minimum number of nodes in a binary tree of height 4 are
31 and 5
32 and 5
15 and 5
15 and 4
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When the keys like M, S, G, H, B, V, W, T are inserted into Binary Search Tree, the CORRECT option is
W is an internal node
V is a leaf node
S is a root node
B is a leaf node
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When the keys like M, S, G, H, B, V, W, T are inserted into Binary Search Tree, the CORRECT option is
Balance Factor of node S is -2
Balance Factor of node S is +2
Balance Factor of node S is -1
Balance Factor of node S is +1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When the keys like M, S, G, H, B, V, W, T are inserted into Binary Search Tree, the CORRECT option is
Balance Factor of all nodes are -1, 0 or +1, so the tree is an AVL tree
Balance Factor of node S needs to be altered
Balance Factor of node M needs to be altered
Node S has to be rotated to Right for Height adjustment
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Initially the keys like M, S, G, H, B, V, W, T are inserted into Binary Search Tree. It has been checked and made to an AVL tree. The CORRECT option is
Double rotation (Right, Left) makes the tree into an AVL tree
Single Right rotation makes the tree into an AVL tree
Single Left rotation makes the tree into an AVL tree
Double rotation (Left, Right) makes the tree into an AVL tree
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Structure Data Review

Quiz
•
University - Professi...
10 questions
27Mar

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
12 questions
Binary Tree

Quiz
•
University
10 questions
tree

Quiz
•
University
10 questions
DRAINER CS : Data Structures Final Review

Quiz
•
University
15 questions
BST , AVL Tree & B-tree

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - 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