On Feb 10, 8:35 pm, Mayur Mahrotri <mayurmahro...@gmail.com> wrote:
> I think the answer to the 6th question would be 49.
>
> Because, the maximum number of internal nodes would occur when every node
> has minimum number of keys i.e. n/2 = 2 = number of children in the internal
> node.
>
> There are 52 leaves, meaning 26 internal nodes at the (n-1)st level.
> 13 nodes at (n-2)nd level.
> 6 nodes at (n-3)rd level.
> 3 nodes at (n-4)th level.
> 1 node at (n-5)th level.
>
> Thus, total internal nodes will be 26+13+6+3+1 = 49.
>
> 1st and 4th question, you will easily get after studying about the structure
> of the internal nodes in a B+ tree. It is given in the material given by
> Vani Institute. Refer that. One more good source of that is G.K. Publishers
> (surprisingly :) ). The node structure is explained.
>
> 7th would be some formula. I tried google but no luck. :(
>
> 2nd and 3rd question is something i am not sure is in our course. That is a
> part of Database optimization. But, if its there, I am not sure, you should
> read it at this point of time. :)
>
> May be if someone else has done the nested loop thing, can explain.
>