Time Left - 20:00 mins

B Trees Introduction - Practice GATE 2024 Fundamental Quiz

Attempt now to get your rank among 97 students!

Question 1

What is the minimum height of B tree index required for 9000 keys and order of B tree node (P) is 10?

(Assume order P is max possible child pointers per B tree node and root at height 0)

Question 2

Consider a table T in a relational database with a key field K. A B-tree of order p is used as an access structure on K, where p denotes the maximum number of tree pointers in a B-tree index node. Assume that K is 12 bytes long; disk block size is 1024 bytes; each data pointer PD is 10 bytes along and each block pointer PB is 7 bytes long in order for each B tree node to fit in a single disk block, the maximum value of p is __________.

Question 3

What is the minimum level of B tree index required for storing 7500 key and order of B tree is 6 (Order is maximum child pointer node can have) ________.

Question 4

Order P is maximum child pointers per B-tree node. How many minimum levels of index required to store 300 distinct keys in B-tree with order P is 5?

Question 5Multiple Correct Options

Which of the following are legal B-trees for when the minimum branching factor  ?

Question 6

Suppose the search key of a B tree is V = 9 bytes long, the disc block size is B = 512 bytes, a record (data) pointer is p = 6 bytes and a block pointer is 5bytes.

Calculate the order of B tree and also each node of B tree is 69% full. Let it be X

Find the average number of keys per node of the above B tree, let it be Y?

Then: X+Y = ?

  • 97 attempts
  • 0 upvotes
  • 0 comments
Feb 1GATE & PSU CS