SlideShare a Scribd company logo
2
Most read
5
Most read
9
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

PPTX
Open Loop and Closed Loop Control System.pptx
PPTX
Formatting text (Microsoft Excel)
PDF
java notes.pdf
PPTX
1s and 2s complement
PPTX
Human Resource Planning Process
PPTX
Introduction to IoT (Internet of Things)
PPTX
Number system conversion
PPTX
Object Oriented Programming
Open Loop and Closed Loop Control System.pptx
Formatting text (Microsoft Excel)
java notes.pdf
1s and 2s complement
Human Resource Planning Process
Introduction to IoT (Internet of Things)
Number system conversion
Object Oriented Programming

What's hot (20)

PPTX
Data structure power point presentation
PPTX
Dynamic memory allocation in c
PPT
Elementary data organisation
PPTX
Arrays in Data Structure and Algorithm
PPTX
sorting and its types
PPT
PPT
1.1 binary tree
PPTX
Binary Search Tree
PPTX
3 Data Mining Tasks
PPTX
Discrete Mathematics Tree
PPTX
Presentation on Data Structure
DOC
Arrays and Strings
PPTX
Function in C program
PPT
Unit 1 introduction to data structure
PPTX
Asymptotic notations
PPT
Array in c
PPTX
Insertion Sorting
PPSX
Data Structure (Tree)
PPTX
Tree in data structure
PPTX
B and B+ tree
Data structure power point presentation
Dynamic memory allocation in c
Elementary data organisation
Arrays in Data Structure and Algorithm
sorting and its types
1.1 binary tree
Binary Search Tree
3 Data Mining Tasks
Discrete Mathematics Tree
Presentation on Data Structure
Arrays and Strings
Function in C program
Unit 1 introduction to data structure
Asymptotic notations
Array in c
Insertion Sorting
Data Structure (Tree)
Tree in data structure
B and B+ tree
Ad

Similar to Classification of datastructure.ppt (20)

PPTX
Data Structure using c language for beginners
PPTX
Types Of Data Structure
PPTX
DataStructurePpt.pptx
PPTX
DataStructureccvdgddfffdesddsssdssPpt.pptx
PPTX
DataStructurePpt-01.pptxEngineering data structure notes
PPTX
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
PPTX
DataStructurePpt.pptx
PPT
ARRAYS IN C++ CBSE AND STATE +2 COMPUTER SCIENCE
PDF
Introduction to Data Structure
PDF
2. Introduction to Data Structure.pdf
PPTX
Unit-1 DataStructure Intro.pptx
PPTX
DSA - Copy.pptx
PPTX
Data structures
PDF
.DATA STRUCTURES
PPTX
sourabhpptsasdfghjkcdfxcvhbycfxv hgvihjubgveminar.pptx
PPTX
Which data structure is it? What are the various data structure kinds and wha...
PPTX
Different types of sorting used in programming.pptx
PPTX
DS Module 1.pptx
PDF
Data structures introduction
PPTX
Types of datastructures
Data Structure using c language for beginners
Types Of Data Structure
DataStructurePpt.pptx
DataStructureccvdgddfffdesddsssdssPpt.pptx
DataStructurePpt-01.pptxEngineering data structure notes
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
DataStructurePpt.pptx
ARRAYS IN C++ CBSE AND STATE +2 COMPUTER SCIENCE
Introduction to Data Structure
2. Introduction to Data Structure.pdf
Unit-1 DataStructure Intro.pptx
DSA - Copy.pptx
Data structures
.DATA STRUCTURES
sourabhpptsasdfghjkcdfxcvhbycfxv hgvihjubgveminar.pptx
Which data structure is it? What are the various data structure kinds and wha...
Different types of sorting used in programming.pptx
DS Module 1.pptx
Data structures introduction
Types of datastructures
Ad

More from LakshmiSamivel (15)

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

Recently uploaded (20)

PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PDF
Business Ethics Teaching Materials for college
PDF
PSYCHOLOGY IN EDUCATION.pdf ( nice pdf ...)
PDF
English Language Teaching from Post-.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
How to Manage Starshipit in Odoo 18 - Odoo Slides
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Revamp in MTO Odoo 18 Inventory - Odoo Slides
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
Open folder Downloads.pdf yes yes ges yes
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
Business Ethics Teaching Materials for college
PSYCHOLOGY IN EDUCATION.pdf ( nice pdf ...)
English Language Teaching from Post-.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Renaissance Architecture: A Journey from Faith to Humanism
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
How to Manage Starshipit in Odoo 18 - Odoo Slides
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Revamp in MTO Odoo 18 Inventory - Odoo Slides
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Open Quiz Monsoon Mind Game Prelims.pptx
O7-L3 Supply Chain Operations - ICLT Program
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
Cardiovascular Pharmacology for pharmacy students.pptx
Open folder Downloads.pdf yes yes ges yes
3rd Neelam Sanjeevareddy Memorial Lecture.pdf

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