edited by
4,444 views

2 Answers

Best answer
5 votes
5 votes

Options are wrong I think so...

m$^{(d+1)}$-1 is the ans ...

Height No.of keys
0 m-1
1 m$^1$ * (m-1)
2 m$^2$ * (m-1)
d m$^d$ * (m-1)

Sum = m-1 + m$^1$* (m-1) + m$^2$ * (m-1) ....+ m$^d$ * (m-1)

= (m-1) ( 1+ m$^2$ + m$^2$ + ... + m$^d$)

= (m-1) [ $\frac{(m^{(d+1)} -1)}{(m-1)}$ ]

= m$^{(d+1)}$ - 1

edited by
1 votes
1 votes
B tree is order m and deapth d . so it will have blocks = (1+m+m^2 + m^3+ ................. + m^d)

which is a Geometrical progression ; So blocks will be = m^(d+1)-1/(m-1)

and in order m B tree each block will have (m-1) keys maximally .

so total no of keys possible = (m-1)*(m^(d+1)-1)
                                          --------------------------------  = (m^(d+1)-1)
                                            (m-1)

so option A is the right one but (d+1) is the power of m .
Answer:

Related questions

0 votes
0 votes
1 answer
2
1 votes
1 votes
1 answer
3
im.raj asked Jun 16, 2016
5,714 views
Which of the following is true?A relation in BCNF is always in 3NFA relation in 3NF is always in BCNFBCNF and 3NF are sameA relation in BCNF is not in 3NF
0 votes
0 votes
2 answers
4
go_editor asked Jul 11, 2016
4,924 views
Given an empty stack, after performing push(1), push(2), pop, push(3), push(4), pop, pop, push(5), pop, what is the value of the top of the stack?4321