SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
CLASSIFICATION OF DATA
STRUCTURE
By,
LAKSHMI.S,MCA.,M.Phil,
Assistant Professor in Dept. of Computer Science,
Sri Adi Chunchanagiri Women’s College, Cumbum.
Data Structure Classification
Primitive data structure :
The primitive data structures are known as basic data structures. These data
structures are directly operated upon by the machine instructions. Normally,
primitive data structures have different representation on different computers.
Example of primitive data structure :
 Integer
 Float
 Character
 Pointer
 INTEGER : It is a Data type which allows all
values without fraction part. We can use it for whole
numbers.
 FLOAT : It is a Data type which use for storing
fractional numbers.
 CHARACTER : It is a data type which is used for
character values
 POINTER : A Variable that holds memory address
of another variable are called pointer.
Non-Primitive data structure :
The non-primitive data structures are highly developed complex data structures.
Basically, these are developed from the primitive data structure. The non-primitive
data structure is responsible for organizing the group of homogeneous and
heterogeneous data elements.
Example of Non-primitive data structure :
 Arrays
 Lists
 Files
Arrays :
Arrays are the set of homogeneous data elements stored in RAM. So, they can hold only one
type of data. The data may be all integers, all floating numbers or all characters. Values in
an array are identified using array name with subscripts. Single sub-scripted variables are
known as a one-dimensional array or linear array; two sub-scripted variables are
referred as a two-dimensional array.
One Dimensional Array
Two-dimensional array
Lists
A list is a collection of a variable number of data items. Lists fall in the non-primitive type
of data structure in the classification of data structure. Every element on a list contains at
least two fields, one is used to store data and the other one is used for storing the address of
next element.
Linear linked lists
Files
Files contain data or information, stored permanently in the secondary storage
device such as Hard Disk and Floppy Disk. It is useful when we have to store
and process a large amount of data. A file stored in a storage device is always
identified using a file name like HELLO.DAT or TEXTNAME.TXT and so
on. A file name normally contains a primary and a secondary name which is
separated by a dot(.).
Files
Stack
 Like arrays, a stack is also defined as an ordered collection of elements. A stack is a
non-primitive linear data structure having a special feature that we can delete and
insert elements from only one end, referred as TOP of the stack. The stack is also
known as Last In First Out (LIFO) type of data structure for this behaviour.
 When we perform insertion or deletion operation on a stack, its base remains
unchanged but the top of the stack changes. Insertion in a stack is called Push and
deletion of elements from the stack is known as Pop.
 We can implement a stack using 2 ways:
 Static implementation (using arrays)
 Dynamic implementation (using pointers)
Stack
Queues
 Queues are also non-primitive linear data structure. But unlike stacks, queues
are the First In First Out (FIFO) type of data structures. We can insert an
element in a queue from the REAR end but we have to remove an element from
the only FRONT end.
 We can also implement queues using 2 ways :
 Using arrays
 Using pointers
Queue
Trees
Trees fall into the category of non-primitive non-linear data
structures in the classification of data structure. They contain a
finite set of data items referred as nodes. We can represent a
hierarchical relationship between the data elements using trees.
A Tree has the following characteristics :
 The top item in a hierarchy of a tree is referred as the root of the
tree.
 The remaining data elements are partitioned into a number of
mutually exclusive subsets and they itself a tree and are known
as the subtree.
 Unlike natural trees, trees in the data structure always grow in
length towards the bottom.
Trees
Graph
Graph falls in the non-primitive non-linear type of data structure in the classification
of data structure. Graphs are capable of representing different types of physical
structures. Apart from computer science, they are used broadly in the fields of
Geography, Chemistry & Engineering Sciences.
 A graph normally a combination of the set of vertices V and set of edges E.
The different types of Graphs are :
 Directed Graph
 Non-directed Graph
 Connected Graph
 Non-connected Graph
 Simple Graph
 Multi-Graph
THANK YOU

More Related Content

What's hot (20)

PPTX
Data structure and its types.
buyinstagramfollowersaustralia
 
PPTX
Data structure & its types
Rameesha Sadaqat
 
PPTX
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
 
PPTX
Sparse matrix and its representation data structure
Vardhil Patel
 
PPTX
Queue Implementation Using Array & Linked List
PTCL
 
PPTX
database language ppt.pptx
Anusha sivakumar
 
PPTX
Linked list
KalaivaniKS1
 
PPTX
linked list in data structure
shameen khan
 
PPTX
stack & queue
manju rani
 
PPTX
Structures in c language
tanmaymodi4
 
PPTX
Searching and sorting
PoojithaBollikonda
 
PPTX
Arrays in Data Structure and Algorithm
KristinaBorooah
 
PDF
Stack
Zaid Shabbir
 
PPTX
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
PPTX
Presentation on queue
Rojan Pariyar
 
PDF
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
PDF
sparse matrix in data structure
MAHALAKSHMI P
 
PPTX
Ppt on Linked list,stack,queue
Srajan Shukla
 
PPTX
Characteristics of OOPS
abhishek kumar
 
PPT
Queue data structure
anooppjoseph
 
Data structure and its types.
buyinstagramfollowersaustralia
 
Data structure & its types
Rameesha Sadaqat
 
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
 
Sparse matrix and its representation data structure
Vardhil Patel
 
Queue Implementation Using Array & Linked List
PTCL
 
database language ppt.pptx
Anusha sivakumar
 
Linked list
KalaivaniKS1
 
linked list in data structure
shameen khan
 
stack & queue
manju rani
 
Structures in c language
tanmaymodi4
 
Searching and sorting
PoojithaBollikonda
 
Arrays in Data Structure and Algorithm
KristinaBorooah
 
Stacks IN DATA STRUCTURES
Sowmya Jyothi
 
Presentation on queue
Rojan Pariyar
 
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
sparse matrix in data structure
MAHALAKSHMI P
 
Ppt on Linked list,stack,queue
Srajan Shukla
 
Characteristics of OOPS
abhishek kumar
 
Queue data structure
anooppjoseph
 

Similar to Classification of datastructure.ppt (20)

PPT
different types of data structures using c.ppt
RaviKumarChavali1
 
PPT
DATA STRUCTURE AND ALGORITJM POWERPOINT.ppt
yarotos643
 
PPT
Data structure study material introduction
SwatiShinde79
 
PPT
1597380885789.ppt
PraveenKumar977108
 
PPT
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
aayushkumarsinghec22
 
PPT
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
NagarathnaRajur2
 
PPT
data structure in programing language.ppt
LavkushGupta12
 
PPT
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
srahul53094
 
PPT
PM.ppt
SrinivasanCSE
 
PPT
Data Structures and Algorithm for Engineers.ppt
AdharshKumarSingh
 
PPT
02-dataStructurePM and algortima for python.ppt
totowahid1
 
PPT
Basic Data Structure and its concepts details
baisakhiparida92
 
PPT
DATA STRUCTURES IN INFORMATION TECHNOLOGY
DanilynSukkie
 
PPT
DSA theory all topics (summary) presentation
damru0408
 
PPT
DATA STRUCTURES A BRIEF OVERVIEW OF DATA
LearnItAllAcademy
 
PPT
DS.ppt Datatastructures notes presentation
SakkaravarthiShanmug
 
PPT
Introduction of data structure in short.ppt
mba29007
 
PPT
data structure details of types and .ppt
poonamsngr
 
PPTX
Introduction to data structure presentations
jayajadhav7
 
different types of data structures using c.ppt
RaviKumarChavali1
 
DATA STRUCTURE AND ALGORITJM POWERPOINT.ppt
yarotos643
 
Data structure study material introduction
SwatiShinde79
 
1597380885789.ppt
PraveenKumar977108
 
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
aayushkumarsinghec22
 
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
NagarathnaRajur2
 
data structure in programing language.ppt
LavkushGupta12
 
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
srahul53094
 
Data Structures and Algorithm for Engineers.ppt
AdharshKumarSingh
 
02-dataStructurePM and algortima for python.ppt
totowahid1
 
Basic Data Structure and its concepts details
baisakhiparida92
 
DATA STRUCTURES IN INFORMATION TECHNOLOGY
DanilynSukkie
 
DSA theory all topics (summary) presentation
damru0408
 
DATA STRUCTURES A BRIEF OVERVIEW OF DATA
LearnItAllAcademy
 
DS.ppt Datatastructures notes presentation
SakkaravarthiShanmug
 
Introduction of data structure in short.ppt
mba29007
 
data structure details of types and .ppt
poonamsngr
 
Introduction to data structure presentations
jayajadhav7
 
Ad

More from LakshmiSamivel (15)

PPT
Greedy Algorithm for Computer Science.ppt
LakshmiSamivel
 
PPTX
General methodin Data Structure for UG.pptx
LakshmiSamivel
 
PPTX
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
LakshmiSamivel
 
PPTX
DataSructure-Time and Space Complexity.pptx
LakshmiSamivel
 
PPTX
Basic Queue Operation in DataStructure.pptx
LakshmiSamivel
 
PPTX
Presentation DM.pptx
LakshmiSamivel
 
PPTX
Dos.pptx
LakshmiSamivel
 
PPTX
Formatting tags
LakshmiSamivel
 
PPTX
Top down parsing
LakshmiSamivel
 
PPTX
Semaphore
LakshmiSamivel
 
PPTX
Firewall ppt
LakshmiSamivel
 
PPTX
View
LakshmiSamivel
 
PPT
Procedures andcursors
LakshmiSamivel
 
PDF
Computer network notes
LakshmiSamivel
 
DOCX
OsI reference model
LakshmiSamivel
 
Greedy Algorithm for Computer Science.ppt
LakshmiSamivel
 
General methodin Data Structure for UG.pptx
LakshmiSamivel
 
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
LakshmiSamivel
 
DataSructure-Time and Space Complexity.pptx
LakshmiSamivel
 
Basic Queue Operation in DataStructure.pptx
LakshmiSamivel
 
Presentation DM.pptx
LakshmiSamivel
 
Dos.pptx
LakshmiSamivel
 
Formatting tags
LakshmiSamivel
 
Top down parsing
LakshmiSamivel
 
Semaphore
LakshmiSamivel
 
Firewall ppt
LakshmiSamivel
 
Procedures andcursors
LakshmiSamivel
 
Computer network notes
LakshmiSamivel
 
OsI reference model
LakshmiSamivel
 
Ad

Recently uploaded (20)

PDF
Introduction presentation of the patentbutler tool
MIPLM
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
Difference between write and update in odoo 18
Celine George
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PPTX
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
Council of Chalcedon Re-Examined
Smiling Lungs
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 
Introduction presentation of the patentbutler tool
MIPLM
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
infertility, types,causes, impact, and management
Ritu480198
 
Characteristics, Strengths and Weaknesses of Quantitative Research.pdf
Thelma Villaflores
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Difference between write and update in odoo 18
Celine George
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Introduction to Indian Writing in English
Trushali Dodiya
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Council of Chalcedon Re-Examined
Smiling Lungs
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
EDUCATIONAL MEDIA/ TEACHING AUDIO VISUAL AIDS
Sonali Gupta
 

Classification of datastructure.ppt

  • 1. CLASSIFICATION OF DATA STRUCTURE By, LAKSHMI.S,MCA.,M.Phil, Assistant Professor in Dept. of Computer Science, Sri Adi Chunchanagiri Women’s College, Cumbum.
  • 3. Primitive data structure : The primitive data structures are known as basic data structures. These data structures are directly operated upon by the machine instructions. Normally, primitive data structures have different representation on different computers. Example of primitive data structure :  Integer  Float  Character  Pointer
  • 4.  INTEGER : It is a Data type which allows all values without fraction part. We can use it for whole numbers.  FLOAT : It is a Data type which use for storing fractional numbers.  CHARACTER : It is a data type which is used for character values  POINTER : A Variable that holds memory address of another variable are called pointer.
  • 5. Non-Primitive data structure : The non-primitive data structures are highly developed complex data structures. Basically, these are developed from the primitive data structure. The non-primitive data structure is responsible for organizing the group of homogeneous and heterogeneous data elements. Example of Non-primitive data structure :  Arrays  Lists  Files
  • 6. Arrays : Arrays are the set of homogeneous data elements stored in RAM. So, they can hold only one type of data. The data may be all integers, all floating numbers or all characters. Values in an array are identified using array name with subscripts. Single sub-scripted variables are known as a one-dimensional array or linear array; two sub-scripted variables are referred as a two-dimensional array. One Dimensional Array Two-dimensional array
  • 7. Lists A list is a collection of a variable number of data items. Lists fall in the non-primitive type of data structure in the classification of data structure. Every element on a list contains at least two fields, one is used to store data and the other one is used for storing the address of next element. Linear linked lists
  • 8. Files Files contain data or information, stored permanently in the secondary storage device such as Hard Disk and Floppy Disk. It is useful when we have to store and process a large amount of data. A file stored in a storage device is always identified using a file name like HELLO.DAT or TEXTNAME.TXT and so on. A file name normally contains a primary and a secondary name which is separated by a dot(.). Files
  • 9. Stack  Like arrays, a stack is also defined as an ordered collection of elements. A stack is a non-primitive linear data structure having a special feature that we can delete and insert elements from only one end, referred as TOP of the stack. The stack is also known as Last In First Out (LIFO) type of data structure for this behaviour.  When we perform insertion or deletion operation on a stack, its base remains unchanged but the top of the stack changes. Insertion in a stack is called Push and deletion of elements from the stack is known as Pop.  We can implement a stack using 2 ways:  Static implementation (using arrays)  Dynamic implementation (using pointers) Stack
  • 10. Queues  Queues are also non-primitive linear data structure. But unlike stacks, queues are the First In First Out (FIFO) type of data structures. We can insert an element in a queue from the REAR end but we have to remove an element from the only FRONT end.  We can also implement queues using 2 ways :  Using arrays  Using pointers Queue
  • 11. Trees Trees fall into the category of non-primitive non-linear data structures in the classification of data structure. They contain a finite set of data items referred as nodes. We can represent a hierarchical relationship between the data elements using trees. A Tree has the following characteristics :  The top item in a hierarchy of a tree is referred as the root of the tree.  The remaining data elements are partitioned into a number of mutually exclusive subsets and they itself a tree and are known as the subtree.  Unlike natural trees, trees in the data structure always grow in length towards the bottom. Trees
  • 12. Graph Graph falls in the non-primitive non-linear type of data structure in the classification of data structure. Graphs are capable of representing different types of physical structures. Apart from computer science, they are used broadly in the fields of Geography, Chemistry & Engineering Sciences.  A graph normally a combination of the set of vertices V and set of edges E. The different types of Graphs are :  Directed Graph  Non-directed Graph  Connected Graph  Non-connected Graph  Simple Graph  Multi-Graph