Machine-translated by Google. Questions are authored in English.
Top

Discussion

The maximum number of children that a B-tree of order m can have :

  • A.m + 1
  • B.m - 1
  • C.m
  • D.2m

Answer: C

A B-tree of order m has at most m children per node.

In the usual (Knuth) definition, the order is the maximum number of children. Each node then holds at most m - 1 keys, and every internal node other than the root has at least \(\lceil m/2 \rceil\) children.

m - 1 is the maximum number of keys, not children. m + 1 and 2m exceed the definition, though 2m appears in the older convention in which 'order' means the minimum degree.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.