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? None of the above Databases gatecse-2003 databases b-tree normal + – Kathleen asked Sep 17, 2014 • edited Jun 29, 2019 by Lakshman Bhaiya Kathleen 10.1k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Himanshu1 commented Jan 9, 2016 reply Follow Share Option B is correct. 1 votes 1 votes Niraj Singh 2 commented Dec 9, 2017 reply Follow Share main observation in this question is that , when we have four sorted key BGHI , we can choose G or H but what to choose is initially ambiguous but when either G or H goes to root , root will become GLPU or HLPU , now again we have 2 choices choosing L or P for split , but looking at options it is clear that P(3rd element in list) is selected for split which implies that initially H(3rd element in list BGHI ) should be selected for split 10 votes 10 votes goluabhinan commented Sep 25, 2018 reply Follow Share this question is not in gate overflow pdf ( vol 3 ). may be it will be added in future 2 votes 2 votes Golam Murtuza commented Jul 16, 2019 reply Follow Share can anyone clear which one be the actual answer B or D? 0 votes 0 votes Please log in or register to add a comment.
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 goku answered Sep 13, 2015 goku comment Share Follow See all 0 reply Please log in or register to add a comment.
–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. Anurag_s answered Apr 3, 2015 Anurag_s comment Share Follow See all 0 reply Please log in or register to add a comment.
–2 votes –2 votes Answer is c. anshu answered Feb 4, 2015 anshu comment Share Follow See all 0 reply Please log in or register to add a comment.