edited by
23,498 views
44 votes
44 votes

The order of a leaf node in a $B^+$ - tree is the maximum number of (value, data record pointer) pairs it can hold. Given that the block size is $1K\;\text{bytes}$, data record pointer is $7\;\text{bytes}$ long, the value field is $9\;\text{bytes}$ long and a block pointer is $6 \;\text{bytes}$ long, what is the order of the leaf node?

  1. $63$
  2. $64$
  3. $67$
  4. $68$
edited by

6 Answers

–3 votes
–3 votes
Answer: 64

 Explanation:  Let the order of leaf node is n. As per given,

Block size =1K =1024 =

6+7n+(n-1 )9 =1024

16n =1024  

n=64

 

It is a correct ?
Answer:

Related questions

64 votes
64 votes
15 answers
1
Arjun asked Jul 6, 2016
37,263 views
Consider the following segment of C-code:int j, n; j = 1; while (j <= n) j = j * 2;The number of comparisons made in the execution of the loop for any $n 0$ is:$\lceil \...
27 votes
27 votes
4 answers
2
Kathleen asked Sep 21, 2014
34,082 views
The message $11001001$ is to be transmitted using the CRC polynomial $x^3 +1$ to protect it from errors. The message that should be transmitted is:$11001001000$$110010010...
33 votes
33 votes
4 answers
3