Question 64

Computer Awareness Trees Medium

The given numbers are inserted into an empty binary search tree in the given order: ( 10,1,3,5,15,12 ) and 16 . \[\] What is the height of the binary search tree.

(A) 3
(B) 4
(C) 5
(D) 6
✓ Correct Answer: Option A Verified Solution

📘 Step-by-Step Solution & Detailed Explanation:

The height of a binary tree is defined as the length of the longest path from the root to a leaf node. Starting from the root (10): 1. Path 10 → 1 → 3: length = 3 \[\] 2. Path 10 → 1 → 5: length = 3 \[\] 3. Path 10 → 15 → 12: length = 3 \[\] 4. Path 10 → 15 → 16: length = 3 \[\] The longest path from the root to any leaf node is 3 edges, which means the height of this BST is 3. \[\] Correct Answer: (a)

Practice Similar Trees Questions

Reinforce your conceptual grasp with related questions from CUET-MCA 2021:

Q71 Which of the following ways can be used to represent a graph?
Solve →
Q72 In a B+ tree, If the search-key value is 8 bytes long, the block size is...
Solve →
Q76 The number of different bnary trees with 6 nodes is
Solve →
Q34 Which of the following commands is used to delete a table in SQL?
Solve →
Q35 Which of the following standard algorithms is not a greedy algorithm?
Solve →
Full-Length Test Series

Prepare for CUET-MCA Under Real Exam Conditions

Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.

Start Free Mock Test Series →