Quiz Space

Programming, Data Structures and Algorithms using Python · Quiz 2 · 23 Nov 2025 · September 2025 term

Question 8: The height of a binary search tree is defined as the numb…

Question 8

+3 marksOne or more correct options

The height of a binary search tree is defined as the number of nodes in the longest path from the

root to the leaf (both included). Consider a binary search tree
of height
. Note that need not be balanced.
Based on the above data, answer the given subquestions.

Suppose the number of elements in
is
. Which of the following statement(s) is/are correct?

Select all that apply.

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answers

  • B
  • E

Question 8 of 16 in the IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term (IIT M DIPLOMA AN EXAM QDD2 23 Nov 2025 NEW). It carries 3 marks.

More questions from this paper

  1. Q1In the given graph, if we try to find the shortest path from node P to all other nodes using Dijkstra’s algorithm, whic…
  2. Q2Consider the following algorithm to solve the single source shortest path problem for a graph (directed or undirected) …
  3. Q3What is the weight of a minimum spanning tree in the graph given below?
  4. Q4Let\ be a connected undirected graph with distinct positive edge weights.Consider a partition (cut) of the vertex set\ …
  5. Q5Consider a max-heap of size\ consisting of distinct elements and implemented using an array. Which of the following ope…
  6. Q6Consider a max-heap of size\ consisting of distinct elements and implemented using an array.Which of the following stat…
  7. Q7The height of a binary search tree is defined as the number of nodes in the longest path from the root to the leaf (bot…
  8. Q9What is the minimum number of nodes possible in an AVL tree of height 6 ? Consider the tree with a single node having h…
  9. Q10After inserting the following elements into an empty AVL Tree:\ 30, 20, 10, 28, 25, 40\ Which of the following nodes wi…
  10. Q11Given below is a set of characters and their frequencies: Using Huffman encoding, construct the Huffman tree for this s…
  11. Q12Consider a problem scenario where you have to conduct\ job interviews\ . Each candidate is available only between start…
  12. Q13In an integer list L of length n, two elements L[i] and L[j] form an inversion if L[i] > L[j] and i \< j. Consider a li…
  13. Q14Which of the following statements is incorrect?
  14. Q15Consider the following recursive function to return the minimum element in the list L of size n. def find_min(L, low, h…
  15. Q16Consider the following recurrences and choose the correct option. 1. 2. Base Case: