SlideShare a Scribd company logo
Submitted by
Kiran Patel
A tree is non-linear data structure in which
items are arranged in a sorted sequence.
It used to represent hierarchical relationship
existing amongst several data items.
B tree is a multiway tree.
If its have N order then in each node of B tree
can contain N-1 element in a node and node n
way
B tree is also know as the balance sort tree.
Its not a binary tree to reduce disk access
several condition of the tree must be true.
•The height of the tree must be kept to minimum
.
•There must be no empty sub tree above the
leaves of the tree
•The leaves of the tree must all be on the
same level.
•All nodes except the leaves must have at
least same minimum number of children.
The B tree of order M has following
properties:-
Each node has a maximum of M children
and a minimum of M/2 children or any no.
from 2 to the maximum
Each node has one fewer keys then children
with a maximum m-1 key.
When a new key is to be insert into a full node,
the is split into two node and the key with the
median value is inserted in the parent node.
In case the parent node is the root a new root is
created.
Lets consume B tree of the following element:-
7,16,13,9,11,5,17,23,21 with order 4.
Solutions-
(4-1)=3
step1:-
6,7,13
Step 2:- _7_
5,6 9,11,13
Step 3:-
7, 11
5, 6 13,17,239
Step 4:-
7, 11, 17
5,6
9
21,23
13

More Related Content

PPTX
B+ tree intro,uses,insertion and deletion
PPTX
B and B+ tree
PPTX
PPT
Lect 19 Zaheer Abbas
PPT
Tree data structure
PPT
Lect 21 Zaheer Abbas
PPTX
B+tree Data structures presentation
PPT
B trees and_b__trees
B+ tree intro,uses,insertion and deletion
B and B+ tree
Lect 19 Zaheer Abbas
Tree data structure
Lect 21 Zaheer Abbas
B+tree Data structures presentation
B trees and_b__trees

What's hot (20)

PPT
B trees and_b__trees
PDF
Difference between complete,ordered,full,strict,perfect and balanced binary tree
PPT
B trees dbms
PPT
Best for b trees
PPTX
PPT
08 B Trees
PPT
b+ tree
PPT
Data Structures 4
DOCX
Trees and Graphs in data structures and Algorithms
PPT
Chapter 8 ds
PPTX
B tree
PPTX
Tree in data structure
PPTX
Data structure tree - intermediate
PPT
A binary tree
PPTX
What are Data Models?
PPT
Tree-In Data Structure
PPTX
Nikhat b+ trees ppt
PPTX
Data structure tree - beginner
B trees and_b__trees
Difference between complete,ordered,full,strict,perfect and balanced binary tree
B trees dbms
Best for b trees
08 B Trees
b+ tree
Data Structures 4
Trees and Graphs in data structures and Algorithms
Chapter 8 ds
B tree
Tree in data structure
Data structure tree - intermediate
A binary tree
What are Data Models?
Tree-In Data Structure
Nikhat b+ trees ppt
Data structure tree - beginner
Ad

Similar to B tree (computer Science) (20)

PPT
B tree by-jash acharya
PPTX
Presentation on b trees [autosaved]
PPTX
Tree Data Structure & methods & operations
PDF
B Trees and B+ Trees Data structures in Computer Sciences
PPTX
Why Tree is considered a non-linear data structure?
PPTX
PPT
16807097.ppt b tree are a good data structure
PPT
BTrees-fall2010.ppt
PDF
Binary Tree - Algorithms
PPT
B tree and application B tree and application
PPTX
trees in data structure
PPTX
Basics of Binary Tree and Binary Search Tree.pptx
PPT
109885098-B-Trees-And-B-Trees in data structure.ppt
PPT
Trees gt(1)
PPTX
PPT
1.5 binary search tree
PPT
4.2 bst 03
PPT
b-trees a tree non linear data structure.ppt
PPTX
Data structures trees - B Tree & B+Tree.pptx
B tree by-jash acharya
Presentation on b trees [autosaved]
Tree Data Structure & methods & operations
B Trees and B+ Trees Data structures in Computer Sciences
Why Tree is considered a non-linear data structure?
16807097.ppt b tree are a good data structure
BTrees-fall2010.ppt
Binary Tree - Algorithms
B tree and application B tree and application
trees in data structure
Basics of Binary Tree and Binary Search Tree.pptx
109885098-B-Trees-And-B-Trees in data structure.ppt
Trees gt(1)
1.5 binary search tree
4.2 bst 03
b-trees a tree non linear data structure.ppt
Data structures trees - B Tree & B+Tree.pptx
Ad

More from kiran Patel (11)

PPTX
2017 Union budget of India
PPTX
C++ concept of Polymorphism
PPTX
Database Management System( Normalization)
PPTX
Effort estimation( software Engineering)
PPTX
Thread (Operating System)
PPTX
Library management (use case diagram Software engineering)
PPTX
Brain Computer Interface
PPTX
Artificial Inteligence
PPTX
Smart buckets ppt
PPTX
Linked list using Dynamic Memory Allocation
PPTX
Dynamic memory Allocation in c language
2017 Union budget of India
C++ concept of Polymorphism
Database Management System( Normalization)
Effort estimation( software Engineering)
Thread (Operating System)
Library management (use case diagram Software engineering)
Brain Computer Interface
Artificial Inteligence
Smart buckets ppt
Linked list using Dynamic Memory Allocation
Dynamic memory Allocation in c language

Recently uploaded (20)

PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PPTX
Sustainable Sites - Green Building Construction
DOCX
573137875-Attendance-Management-System-original
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding
Construction Project Organization Group 2.pptx
Sustainable Sites - Green Building Construction
573137875-Attendance-Management-System-original
R24 SURVEYING LAB MANUAL for civil enggi
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CH1 Production IntroductoryConcepts.pptx
Lecture Notes Electrical Wiring System Components
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Automation-in-Manufacturing-Chapter-Introduction.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
bas. eng. economics group 4 presentation 1.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Operating System & Kernel Study Guide-1 - converted.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx

B tree (computer Science)

  • 2. A tree is non-linear data structure in which items are arranged in a sorted sequence. It used to represent hierarchical relationship existing amongst several data items.
  • 3. B tree is a multiway tree. If its have N order then in each node of B tree can contain N-1 element in a node and node n way
  • 4. B tree is also know as the balance sort tree. Its not a binary tree to reduce disk access several condition of the tree must be true. •The height of the tree must be kept to minimum .
  • 5. •There must be no empty sub tree above the leaves of the tree •The leaves of the tree must all be on the same level. •All nodes except the leaves must have at least same minimum number of children.
  • 6. The B tree of order M has following properties:- Each node has a maximum of M children and a minimum of M/2 children or any no. from 2 to the maximum
  • 7. Each node has one fewer keys then children with a maximum m-1 key. When a new key is to be insert into a full node, the is split into two node and the key with the median value is inserted in the parent node. In case the parent node is the root a new root is created.
  • 8. Lets consume B tree of the following element:- 7,16,13,9,11,5,17,23,21 with order 4. Solutions- (4-1)=3 step1:- 6,7,13
  • 10. Step 3:- 7, 11 5, 6 13,17,239
  • 11. Step 4:- 7, 11, 17 5,6 9 21,23 13