• recategorized
5,966 views
1 1 vote
Which of the following statements is incorrect with respect to B-tree and B+ trees?
  1. Deletion operation is easier in B-tree but complex in case of B+ trees.
  2. In B+ trees, data records are stored only in the leaf nodes but in B trees data records are stored both in leaf and internal nodes.
  3. Search keys are repeated in case of B+ trees but not in case of B trees.
  4. Searching is faster in B+ trees compared to B trees

1 Answer

6 6 votes

A is an incorrect statement.

  1. In a B tree search keys and data stored in internal or leaf nodes. But in B+-tree data store only leaf nodes.

  2. Searching any data in a B+ tree is very easy because all data are found in leaf nodes. Searching a B tree requires a full traversal.

  3. In a B tree, data may be found in leaf nodes or internal nodes. Deletion of internal nodes is very complicated. In a B+ tree, data is only found in leaf nodes. Deletion of leaf nodes is easy.

  4. Insertion in B tree is more complicated than B+ tree.

  5. B+ trees store redundant search key but B tree has no redundant value.

  6. In a B+ tree, leaf nodes data are ordered as a sequential linked list but in B tree the leaf node cannot be stored using a linked list. Many database systems' implementations prefer the structural simplicity of a B+ tree.

Refer: https://stackoverflow.com/questions/870218/differences-between-b-trees-and-b-trees 

Answer:
Position:
Show:

Related questions

2 2 votes
1 answers 1 answer
2.7k
2.7k views
Ruturaj Mohanty asked Dec 27, 2018
2,658 views
A single query in DBMS can be executed through different algorithms or re-written in different forms and structures. The most optimal pathway of getting the correct outpu...
6 6 votes
2 2 answers
1.4k
1.4k views
Ruturaj Mohanty asked Dec 27, 2018
1,438 views
Consider the following two relational schemas:MovieExec(name, address, cert, netWorth)Studio(name, address, presC)Suppose we wish to require that one must have a net wort...
1 1 vote
0 0 answers
1.6k
1.6k views
Ruturaj Mohanty asked Dec 27, 2018
1,587 views
Which of the following is/are true regarding Weak Entity Sets?(P) An entity set that does not have a primary key is referred to as a weak entity set.(Q) The existence of ...