...
Algorithms
October 3, 2023
Algorithms
October 3, 2023
Algorithms
October 3, 2023
Algorithms
October 3, 2023

Database-Management-System

Question 3

In a B+ tree, if the search-key value is 8 bytes long, the block size is 512 bytes and the block pointer size is 2 bytes, then the maximum order of the B+ tree is _________.

A
52
B
53
C
54
D
55
Question 3 Explanation: 
Given,
Block size = 512 bytes
Block pointer = 2 bytes
Search key = 8 bytes
Let Maximum order of B+ tree = n
n(Pb) + (n – 1)(k) ≤ 512
n(2) + (n – 1)(8) ≤ 512
2n + 8n – 8 ≤ 512
10n ≤ 520
n ≤ 520/10
(n = 52)
Correct Answer: A
Question 3 Explanation: 
Given,
Block size = 512 bytes
Block pointer = 2 bytes
Search key = 8 bytes
Let Maximum order of B+ tree = n
n(Pb) + (n – 1)(k) ≤ 512
n(2) + (n – 1)(8) ≤ 512
2n + 8n – 8 ≤ 512
10n ≤ 520
n ≤ 520/10
(n = 52)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!