Question
Consider a B+-tree in which the maximum number of keys
in a node is 5. What is the minimum number of keys in any non-root node?ΒSolution
Assuming order of B+ tree as p, maximum number of keys will be (p β 1). As it is given that, p β 1 = 5 => p = 6 Therefore, minimum number of keys: ceil(p/2) β 1 = 2 Β
- Ravi appeared for two papers: Physics and Chemistry. He scored 68 out of 80 in Physics and 74 out of 85 in Chemistry. Calculate his total percentage marks.
P spends 22% of his salary on transportation, 30% on food, 15% on children’s education and 25% on medical. He deposits the remaining amount of Rs....
The value of Aβs car is depreciating by 45% every year whereas the value of his house is appreciating by 10% each year as compared to the previous yea...
A certain value is initially increased by 40% and then reduced by 25%. Determine the overall percentage change in the initial value.
In a school election for the position of president, two students were competing. Among the eligible voters, 80% participated by c...
The sum of the monthly incomes of βAβ, βBβ and βCβ is Rs. 65000 which is 4 times the monthly income of βCβ. If βAβ spends 55% of his...
Lalit buys wheat at Rs. 20/kg and puts a price tag on it so as to earn a profit of 30%. However, his faulty balance shows 1000 gm when it is actually 60...
- Riya got 40% more marks in Economics than in Business Studies. If her average score in Economics, Business Studies, and Accounts is 95, and she scored 105 ...
A student has to obtain 35% of the total marks to pass. He got 214 marks and failed by 31 marks. What are the maximum marks?
The income of a person is Rs.12000 and his expenditure is Rs.8000. In the next year his income and expenditure is increased by 10% and 20% respectively....