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

PPT
Introduction to data structure
PPTX
Introduction to data structure
PDF
Introduction to data structure
PPT
Unit 1 introduction to data structure
PPT
Elementary data organisation
DOCX
Data Structure Notes unit 1.docx
PPTX
Data Structures (CS8391)
PPTX
Data structure and algorithm
Introduction to data structure
Introduction to data structure
Introduction to data structure
Unit 1 introduction to data structure
Elementary data organisation
Data Structure Notes unit 1.docx
Data Structures (CS8391)
Data structure and algorithm

What's hot (20)

PPTX
Binary Tree in Data Structure
PPTX
Linked list
PDF
Trees, Binary Search Tree, AVL Tree in Data Structures
PPT
1.1 binary tree
PPT
Binary search tree(bst)
PPTX
Arrays in Data Structure and Algorithm
PPTX
Binary Search Tree
PPTX
Circular linked list
PPTX
Dynamic memory allocation
PPTX
Terminology of tree
PPTX
Arrays in c
PPTX
Breadth First Search & Depth First Search
PPTX
Queue ppt
PPTX
Linked list
PPTX
Functions in C
PPTX
Binary Search Tree in Data Structure
PPTX
Pointer arithmetic in c
PPTX
single linked list
PPTX
Sparse matrix and its representation data structure
Binary Tree in Data Structure
Linked list
Trees, Binary Search Tree, AVL Tree in Data Structures
1.1 binary tree
Binary search tree(bst)
Arrays in Data Structure and Algorithm
Binary Search Tree
Circular linked list
Dynamic memory allocation
Terminology of tree
Arrays in c
Breadth First Search & Depth First Search
Queue ppt
Linked list
Functions in C
Binary Search Tree in Data Structure
Pointer arithmetic in c
single linked list
Sparse matrix and its representation data structure
Ad

Similar to Classification of datastructure.ppt (20)

PPT
different types of data structures using c.ppt
PPT
DATA STRUCTURE AND ALGORITJM POWERPOINT.ppt
PPT
Data structure study material introduction
PPT
1597380885789.ppt
PPT
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
PPT
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
PPT
data structure in programing language.ppt
PPT
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
PPT
PPT
Data Structures and Algorithm for Engineers.ppt
PPT
DATA STRUCTURES IN INFORMATION TECHNOLOGY
PPT
DSA theory all topics (summary) presentation
PPT
02-dataStructurePM and algortima for python.ppt
PPT
Basic Data Structure and its concepts details
PPT
DATA STRUCTURES A BRIEF OVERVIEW OF DATA
PPT
DS.ppt Datatastructures notes presentation
PPT
Introduction of data structure in short.ppt
PPT
data structure details of types and .ppt
PPTX
Introduction to data structure presentations
different types of data structures using c.ppt
DATA STRUCTURE AND ALGORITJM POWERPOINT.ppt
Data structure study material introduction
1597380885789.ppt
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
data structure in programing language.ppt
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
Data Structures and Algorithm for Engineers.ppt
DATA STRUCTURES IN INFORMATION TECHNOLOGY
DSA theory all topics (summary) presentation
02-dataStructurePM and algortima for python.ppt
Basic Data Structure and its concepts details
DATA STRUCTURES A BRIEF OVERVIEW OF DATA
DS.ppt Datatastructures notes presentation
Introduction of data structure in short.ppt
data structure details of types and .ppt
Introduction to data structure presentations
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
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Institutional Correction lecture only . . .
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Basic Mud Logging Guide for educational purpose
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Insiders guide to clinical Medicine.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Cell Structure & Organelles in detailed.
Abdominal Access Techniques with Prof. Dr. R K Mishra
FourierSeries-QuestionsWithAnswers(Part-A).pdf
TR - Agricultural Crops Production NC III.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Final Presentation General Medicine 03-08-2024.pptx
Institutional Correction lecture only . . .
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
01-Introduction-to-Information-Management.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Renaissance Architecture: A Journey from Faith to Humanism
Basic Mud Logging Guide for educational purpose
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Microbial diseases, their pathogenesis and prophylaxis
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
VCE English Exam - Section C Student Revision Booklet
Insiders guide to clinical Medicine.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Cell Structure & Organelles in detailed.

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