SlideShare a Scribd company logo
1 of 20
Data Structures-Introduction
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
1
Data and Information
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
2
• Data –Set of values
• Example:28/6/2015,jeeva,6
• Information –processed Data
• Example
• name-jeeva
• Dob-28/6/2015
• Age-5
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
3
Difference between data and Information
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
4
Definition
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
5
• Data Structure is a way of storing and organizing data in a
computer so that it can be used efficiently.
• Data structure is representation of the logical relationship
existing between individual elements of data.
Categories of Data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
6
Primitive data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
7
• Primitive data structures are the fundamental data types
which are supported by a programming language.
• Integer, Floating-point number, Character constants,
string constants, pointers etc, fall in this category.
Non-Primitive Data Structures
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
8
• Non prinmitive data structures are those data structures which are created
using primitive data structures.
• The non-primitive data structures emphasize on structuring of a group
of homogeneous (same type) or heterogeneous (different type) data
items.
• Lists, Stack, Queue, Tree, Graph are example of non-primitive data
structures.
• The design of an efficient data structure must take operations to be
performed on the data structure
Non Primitive Data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
9
Linear Data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
10
• If the elements of a data structure are stored in a linear or sequential
order,then it’sa linear data structure
• Example-array,stack,queue
Array
 An array is defined as a set of finite number of homogeneous elements or same data items.
 It means an array can contain one type of data only, either all integer, all float-point
number or all character.
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
11
Linked List
Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020
12
•
Stack
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
13
• LIFO(Last In First Out)
• Stack is an ordered collection of homogeneous data elements where the
insertion and deletion operations take place at one end only…
Queue
• FIFO(First In First Out)
• Queue is open at both its ends. One end is alwaysused to insert data and
the other is used to remove data
Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020
14
Non –Linear Data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
15
• If the elements of a data structure are not stored in a sequential order then
it’sa non linear data structure.all the elements distributed over a plane.
• Example-Tree,graph
Graph
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
16
• Agraph is a group of vertices and edges where an edge connects a pair of
vertices.
• Vertices on the graph are shown as point or circles and edges are drawn
as arcs or line segment.
• Definition: A graph G(V,E) is a set of vertices V and a set of edges E.
Tree
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
17
• Atree is a nonlinear hierarchical data structure that consists of nodes
connected by edges.
• There is a specially designated node called root
• The first node of the tree is called root node.
• If this root node is connected by another node, the root is then parent node,
and the connected node is a child.
Tree
Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020
18
Categories of Data Structure
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
19
Thank you
12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda
20

More Related Content

What's hot

What's hot (11)

Semantic Information Management using PoolParty 4
Semantic Information Management using PoolParty 4Semantic Information Management using PoolParty 4
Semantic Information Management using PoolParty 4
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
 
2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...
2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...
2016 SDMX Experts meeting, SDMX for statistical data and metadata modelling, ...
 
2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...
2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...
2016 SDMX Experts meeting, SDMX Starter Kit for National Statistical Agencies...
 
Manual de Access
Manual de AccessManual de Access
Manual de Access
 
agINFRA – a multilingual infrastructure for information on agricultural innov...
agINFRA – a multilingual infrastructure for information on agricultural innov...agINFRA – a multilingual infrastructure for information on agricultural innov...
agINFRA – a multilingual infrastructure for information on agricultural innov...
 
data warehousing and data mining
data warehousing and data mining data warehousing and data mining
data warehousing and data mining
 
Big Data Europe: SC6 Workshop 3: The European Research Data Landscape: Opport...
Big Data Europe: SC6 Workshop 3: The European Research Data Landscape: Opport...Big Data Europe: SC6 Workshop 3: The European Research Data Landscape: Opport...
Big Data Europe: SC6 Workshop 3: The European Research Data Landscape: Opport...
 
Hardscape Installation
Hardscape InstallationHardscape Installation
Hardscape Installation
 
2016 SDMX Experts meeting, SDMX Design & Modelling, Daniel Suranyi
2016 SDMX Experts meeting, SDMX Design & Modelling, Daniel Suranyi2016 SDMX Experts meeting, SDMX Design & Modelling, Daniel Suranyi
2016 SDMX Experts meeting, SDMX Design & Modelling, Daniel Suranyi
 
20141030 LinDA Workshop echallenges2014 - State of the art in open data infra...
20141030 LinDA Workshop echallenges2014 - State of the art in open data infra...20141030 LinDA Workshop echallenges2014 - State of the art in open data infra...
20141030 LinDA Workshop echallenges2014 - State of the art in open data infra...
 

Similar to Data structure Categories (7)

Data structure operations
Data structure operationsData structure operations
Data structure operations
 
UNIT_1-BD.pptx
UNIT_1-BD.pptxUNIT_1-BD.pptx
UNIT_1-BD.pptx
 
Icampam jive
Icampam jiveIcampam jive
Icampam jive
 
Metadata and Linked Data. Where is it all going?
Metadata and Linked Data. Where is it all going? Metadata and Linked Data. Where is it all going?
Metadata and Linked Data. Where is it all going?
 
Dsa module 1 ppt
Dsa module 1 pptDsa module 1 ppt
Dsa module 1 ppt
 
Institutional Repository Single Sources of Truth
Institutional Repository Single Sources of TruthInstitutional Repository Single Sources of Truth
Institutional Repository Single Sources of Truth
 
Introduction to Data Warehousing
Introduction to Data WarehousingIntroduction to Data Warehousing
Introduction to Data Warehousing
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Data structure Categories

  • 1. Data Structures-Introduction 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 1
  • 2. Data and Information 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 2 • Data –Set of values • Example:28/6/2015,jeeva,6 • Information –processed Data • Example • name-jeeva • Dob-28/6/2015 • Age-5
  • 3. 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 3 Difference between data and Information
  • 4. 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 4
  • 5. Definition 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 5 • Data Structure is a way of storing and organizing data in a computer so that it can be used efficiently. • Data structure is representation of the logical relationship existing between individual elements of data.
  • 6. Categories of Data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 6
  • 7. Primitive data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 7 • Primitive data structures are the fundamental data types which are supported by a programming language. • Integer, Floating-point number, Character constants, string constants, pointers etc, fall in this category.
  • 8. Non-Primitive Data Structures 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 8 • Non prinmitive data structures are those data structures which are created using primitive data structures. • The non-primitive data structures emphasize on structuring of a group of homogeneous (same type) or heterogeneous (different type) data items. • Lists, Stack, Queue, Tree, Graph are example of non-primitive data structures. • The design of an efficient data structure must take operations to be performed on the data structure
  • 9. Non Primitive Data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 9
  • 10. Linear Data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 10 • If the elements of a data structure are stored in a linear or sequential order,then it’sa linear data structure • Example-array,stack,queue
  • 11. Array  An array is defined as a set of finite number of homogeneous elements or same data items.  It means an array can contain one type of data only, either all integer, all float-point number or all character. 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 11
  • 12. Linked List Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020 12 •
  • 13. Stack 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 13 • LIFO(Last In First Out) • Stack is an ordered collection of homogeneous data elements where the insertion and deletion operations take place at one end only…
  • 14. Queue • FIFO(First In First Out) • Queue is open at both its ends. One end is alwaysused to insert data and the other is used to remove data Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020 14
  • 15. Non –Linear Data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 15 • If the elements of a data structure are not stored in a sequential order then it’sa non linear data structure.all the elements distributed over a plane. • Example-Tree,graph
  • 16. Graph 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 16 • Agraph is a group of vertices and edges where an edge connects a pair of vertices. • Vertices on the graph are shown as point or circles and edges are drawn as arcs or line segment. • Definition: A graph G(V,E) is a set of vertices V and a set of edges E.
  • 17. Tree 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 17 • Atree is a nonlinear hierarchical data structure that consists of nodes connected by edges. • There is a specially designated node called root • The first node of the tree is called root node. • If this root node is connected by another node, the root is then parent node, and the connected node is a child.
  • 18. Tree Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 12/2/2020 18
  • 19. Categories of Data Structure 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 19
  • 20. Thank you 12/2/2020Dincy R Arikkat,,Christ college Autonomous Irinjalakkuda 20