UGC-NET Dec 2012 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0010

Which of the following is TRUE?
  1. A
    The cost of searching an AVL tree is \(\Theta (\log n)\) but that of a binary search tree is \(O(n)\)
  2. B
    The cost of searching an AVL tree is \(\Theta (\log n)\) but that of a complete binary tree is \(\Theta (n \log n)\)
  3. C
    The cost of searching a binary search tree is \(O (\log n )\) but that of an AVL tree is \(\Theta(n)\)
  4. D
    The cost of searching an AVL tree is \(\Theta (n \log n)\) but that of a binary search tree is \(O(n)\)

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3272/gate2008-it-12

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com