edited by
10,081 views
30 votes
30 votes

Consider the following $2-3-4$ tree (i.e., B-tree with a minimum degree of two) in which each data item is a letter. The usual alphabetical ordering of letters is used in constructing the tree.

What is the result of inserting $G$ in the above tree?

  1. None of the above
edited by

7 Answers

0 votes
0 votes
b is the corect ans

when ever u instert an in ele g it is out of capacity so we push middle h into root then root also going out of capacity so me take middle ele and we form a root p

in option a first first 2 ele is pushed and in root 3rd ele is pushed
–1 votes
–1 votes
a) after insertion, leftmost node becomes BGHI,  node splitting takes place so G goes up, LPU becomes GLPU. further splitting moves P to top, producing the tree as given in option a.
Answer:

Related questions

46 votes
46 votes
6 answers
1
42 votes
42 votes
3 answers
2
Kathleen asked Sep 17, 2014
15,037 views
Consider the following functional dependencies in a database.$$\begin{array}{|l|l|}\hline \text{Date_of_Birth } \to \text{Age} & \text{Age } \to \text{Eligibility} \\\hli...
42 votes
42 votes
4 answers
3
Kathleen asked Sep 16, 2014
8,985 views
Consider the following SQL querySelect distinct $a_1, a_2, …, a_n$from $r_1, r_2, …, r_m$where PFor an arbitrary predicate P, this query is equivalent to which of the...