Question 14Asked in UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)

The order of a leaf in a B+ tree is the maximum number of children it can have. Suppose that block size is 1 kilobyte, the child pointer takes 7 bytes long…

The order of a leaf in a B+ tree is the maximum number of children it can have. Suppose that block size is 1 kilobyte, the child pointer takes 7 bytes long and search field value takes 14 bytes long. The order of the leaf node is ..........
  1. A16
  2. B63
  3. C64
  4. D65
Show answerHide answer

Correct answer: (A) 16

Explanation

Data pointer = child pointer + search field value = 7 + 14 = 21 bytes. Maximum number of entries = 1 KB/21 bytes = 1024/21 ≈ 48.76. The book picks 16 since all other options are greater than 48.

From UGC NET Computer Science PYQ, June 2017 (Paper II & III, Selected Questions)

This is question 14 of UGC NET Computer Science PYQ, June 2017 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.