Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are Binay tress and B trees? Diff between them?

Answers were Sorted based on User's Feedback



What are Binay tress and B trees? Diff between them?..

Answer / nutan

A B-tree is a method of placing and locating files (called
records or keys) in a database when all the data is known
to be on DISK.
A Binary-tree is a method of placing and locating files
(called records or keys) in a database when all the data is
known to be in RAM.

It takes thousands of times longer to access a data element
from hard disk as compared with accessing it from RAM,
because a disk drive has mechanical parts, which read and
write data far more slowly than purely electronic media.

B-trees save time by using nodes with many branches (called
children), compared with binary trees, in which each node
has only two children. When there are many children per
node, a record can be found by passing through fewer nodes
than if there are two children per node.

Depth of a B-tree is smaller as compared to a binary tree
and hence B-tree allows a desired record to be located
faster, assuming all other system parameters are identical.

Is This Answer Correct ?    33 Yes 3 No

What are Binay tress and B trees? Diff between them?..

Answer / shahram

They are NOT same
b-tree is balanced multiway tree.every node may has more
than 2 sub nodes and every leaf can hold more than one element.

Is This Answer Correct ?    11 Yes 0 No

What are Binay tress and B trees? Diff between them?..

Answer / b.jansi rani

->B-tree is smaller as compare to a binary tree.
->B-tree used as many nodes.
->B-tree database is "DISK"and Binary tree database is "RAM"

Is This Answer Correct ?    8 Yes 3 No

What are Binay tress and B trees? Diff between them?..

Answer / g.raju

Binary tree is a tree data structure in which each node has
at most two children. Typically the first node is known as
the parent and the child nodes are called left and right.

A B-tree is a tree data structure that keeps data sorted and
allows searches, insertions, deletions, and sequential
access in logarithmic amortized time. The B-tree is a
generalization of a binary search tree in that more than two
paths diverge from a single node. Unlike self-balancing
binary search trees, the B-tree is optimized for systems
that read and write large blocks of data. It is most
commonly used in databases and file systems.

Is This Answer Correct ?    3 Yes 0 No

What are Binay tress and B trees? Diff between them?..

Answer / answer and question

binary tree:they are equal level and higher than root tree
means they going to right side.otherwise its lower means left
side

b tree:they must eual

Is This Answer Correct ?    0 Yes 0 No

What are Binay tress and B trees? Diff between them?..

Answer / abdul

bina

Is This Answer Correct ?    2 Yes 6 No

What are Binay tress and B trees? Diff between them?..

Answer / sagar kumar

both binary tree and b tree are same

Is This Answer Correct ?    16 Yes 27 No

What are Binay tress and B trees? Diff between them?..

Answer / s.divya

both b-tree and binary tree are same

Is This Answer Correct ?    4 Yes 23 No

Post New Answer

More C++ General Interview Questions

Explain polymorphism?

0 Answers  


What is a class template?

0 Answers  


What is the difference between struct and class?

1 Answers  


What do you mean by translation unit in c++?

1 Answers  


What's the order in which the local objects are destructed?

0 Answers  


What does override mean in c++?

0 Answers  


What is size of null class?

6 Answers   HP,


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


What is difference c and c++?

1 Answers  


class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,


Write syntax to define friend functions in C++.

0 Answers   HAL,


What do c++ programmers do?

0 Answers  


Categories