SlideShare a Scribd company logo
Dr. Sheak Rashed Haider Noori
Assistant Professor
AND ITS TYPES
It is a logical way of storing data and it
also define mechanism of retrieve data.
What are Data Structures?
 Data may be organized in many different ways.
 A Data Structure is an arrangement of data in a
computer’s memory or on a disk.
 The logical or mathematical model of a particular
organization of a data is called Data Structures.
 The choice of a data model depends on two
consideration:
1) It must be rich enough in structure to mirror the actual
relationships of the data in the real world.
2) The structure should be simple enough that one can
effectively process the data when necessary.
Types of Data Structure
DATA
STRUCTURE
NON LINEARLINEAR
The data appearing in data structures are processed by means of
operations. The following are operations are major operations:
a) Traversing: Accessing each record exactly once so that
certain items in the record may be processed.
b) Searching: Finding the location of the record with a
given key value, or finding the locations of all records which satisfy
one or more conditions.
c) Inserting: Adding a new record to the structure.
d) Deleting: Removing a record from the structure.
Following two are special operations:
a) Sorting: Arranging the records in some logical order.
b) Merging: Combining the records in two different sorted
files into a single sorted file.
An algorithm is a well-defined list of steps for solving a particular
problem.
Algorithms manipulate the data present in data structures in various
ways, such as searching for a particular data item and sorting the data.
Flowcharts are pictorial representations of the algorithms.
Properties/ characteristics of the algorithm:
a) Finiteness: Total number of steps used in an algorithm
should be finite.
b) Definiteness: Each step of algorithm must be clear and
unambiguous.
c) Effectiveness: Every step must be basic and essential.
d) Input/output: The algorithm must accept zero or more
input and must produce at least on output.
1.Array
2.Stack
3.Queue
4.Linked List
An array is a collection of homogeneous
type of data elements.
An array is consisting of a collection of
elements .
1.Traversing
2.Search
3.Insertion
4.Deletion
5.Sorting
6.Merging
Representation of array in memory
1
2
3
4
5
Array Representation
A Stack is a list of elements in which an
element may be inserted or deleted at one
end which is known as TOP of the stack.
Push: add an element in stack
Pop: remove an element in stack
Representation of Stack
EEE TOP
DDD
CCC
BBB
AAA
Stack Representation
A queue is a linear list of element in which
insertion can be done at one end which is
known as front and deletion can be done
which is known as rear.
Insertion : add a new element in queue
Deletion: Removing an element in queue
Representation of Queue
55 65 75
Queue Representation
A Linked list is a linear collection of data
elements .It has two part one is info and
other is link part.info part gives information
and link part is address of next node
1.Traversing
2.Searching
3.Insertion
4.Deletion
Linked Representation
1.Tree
2.Graph
In computer science, a tree is a widely-used data
structure that emulates a hierarchical tree structure
with a set of linked nodes.
1.Insertion
2.Deletion
3.Searching
Tree Representation
A graph data structure may also associate to each edge some edge
value, such as a symbolic label or a numeric attribute (cost,
capacity, length, etc.).
1.Searching
2.Insertion
3.Deletion
Graph Representation
Slide 1.-datastructure

More Related Content

PPTX
Computer Science-Data Structures :Abstract DataType (ADT)
PPTX
Data structure
PPT
Abstract data types (adt) intro to data structure part 2
PDF
Datastructureitstypes
PPTX
Introduction to data structure
PPTX
Data structure and its types.
PPT
Data structures
PPTX
Introduction to data structure
Computer Science-Data Structures :Abstract DataType (ADT)
Data structure
Abstract data types (adt) intro to data structure part 2
Datastructureitstypes
Introduction to data structure
Data structure and its types.
Data structures
Introduction to data structure

What's hot (20)

PPTX
Presentation on Data Structure
PPTX
Data structure & its types
PPTX
Data structure,abstraction,abstract data type,static and dynamic,time and spa...
PPT
Abstract data types
PDF
Data structure
PDF
Introduction of data structures and algorithms
PPTX
Data structure and its types
PPTX
3 searching algorithms in Java
PPT
data structure
PPTX
Mca ii dfs u-1 introduction to data structure
PPT
Introductiont To Aray,Tree,Stack, Queue
DOC
Data structures project
PDF
Data structures (introduction)
PPT
Data structure lecture 1
PDF
PPTX
Data structure and its types
PPT
Data structure
PPTX
DATA STRUCTURE IN C LANGUAGE
PPT
Data abstraction the walls
PDF
Introduction to data structure
Presentation on Data Structure
Data structure & its types
Data structure,abstraction,abstract data type,static and dynamic,time and spa...
Abstract data types
Data structure
Introduction of data structures and algorithms
Data structure and its types
3 searching algorithms in Java
data structure
Mca ii dfs u-1 introduction to data structure
Introductiont To Aray,Tree,Stack, Queue
Data structures project
Data structures (introduction)
Data structure lecture 1
Data structure and its types
Data structure
DATA STRUCTURE IN C LANGUAGE
Data abstraction the walls
Introduction to data structure
Ad

Similar to Slide 1.-datastructure (20)

PPTX
DS Module 1.pptx
PPTX
Datastructureanditstypes 110410094332-phpapp02
PPT
Data Structures
PPTX
DS Module 1.pptx
PDF
Chapter 1 Introduction to Data Structures and Algorithms.pdf
PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
PPTX
Lecture 01 Intro to DSA
PPTX
Data structures lectures no 1
PPTX
Chapter 1 _edited.pptx.software engineering
PPTX
Chapter 1 _edited.pptx.software engineering
PPTX
Data_structures_and_algorithm_Lec_1.pptx
PPTX
Data_structures_and_algorithm_Lec_1.pptx
PPTX
chapter three ppt.pptx
PPTX
Basics of Data Structure in engineering courses
PPT
PPTX
DS ppt 123445544434t33vdbdbdbfgfPPtt.pptx
PDF
Unit I Data structure and algorithms notes
PPTX
Data Structures and Algorithm - Module 1.pptx
PDF
X Chapter 1 Problem Solving and Algorithm Designing.pdf
PPT
Lect 1-2 Zaheer Abbas
DS Module 1.pptx
Datastructureanditstypes 110410094332-phpapp02
Data Structures
DS Module 1.pptx
Chapter 1 Introduction to Data Structures and Algorithms.pdf
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
Lecture 01 Intro to DSA
Data structures lectures no 1
Chapter 1 _edited.pptx.software engineering
Chapter 1 _edited.pptx.software engineering
Data_structures_and_algorithm_Lec_1.pptx
Data_structures_and_algorithm_Lec_1.pptx
chapter three ppt.pptx
Basics of Data Structure in engineering courses
DS ppt 123445544434t33vdbdbdbfgfPPtt.pptx
Unit I Data structure and algorithms notes
Data Structures and Algorithm - Module 1.pptx
X Chapter 1 Problem Solving and Algorithm Designing.pdf
Lect 1-2 Zaheer Abbas
Ad

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
additive manufacturing of ss316l using mig welding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
web development for engineering and engineering
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
additive manufacturing of ss316l using mig welding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Lecture Notes Electrical Wiring System Components
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mechanical Engineering MATERIALS Selection
web development for engineering and engineering
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Internet of Things (IOT) - A guide to understanding
Construction Project Organization Group 2.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT-1 - COAL BASED THERMAL POWER PLANTS

Slide 1.-datastructure

  • 1. Dr. Sheak Rashed Haider Noori Assistant Professor
  • 3. It is a logical way of storing data and it also define mechanism of retrieve data.
  • 4. What are Data Structures?  Data may be organized in many different ways.  A Data Structure is an arrangement of data in a computer’s memory or on a disk.  The logical or mathematical model of a particular organization of a data is called Data Structures.  The choice of a data model depends on two consideration: 1) It must be rich enough in structure to mirror the actual relationships of the data in the real world. 2) The structure should be simple enough that one can effectively process the data when necessary.
  • 5. Types of Data Structure DATA STRUCTURE NON LINEARLINEAR
  • 6. The data appearing in data structures are processed by means of operations. The following are operations are major operations: a) Traversing: Accessing each record exactly once so that certain items in the record may be processed. b) Searching: Finding the location of the record with a given key value, or finding the locations of all records which satisfy one or more conditions. c) Inserting: Adding a new record to the structure. d) Deleting: Removing a record from the structure. Following two are special operations: a) Sorting: Arranging the records in some logical order. b) Merging: Combining the records in two different sorted files into a single sorted file.
  • 7. An algorithm is a well-defined list of steps for solving a particular problem. Algorithms manipulate the data present in data structures in various ways, such as searching for a particular data item and sorting the data. Flowcharts are pictorial representations of the algorithms. Properties/ characteristics of the algorithm: a) Finiteness: Total number of steps used in an algorithm should be finite. b) Definiteness: Each step of algorithm must be clear and unambiguous. c) Effectiveness: Every step must be basic and essential. d) Input/output: The algorithm must accept zero or more input and must produce at least on output.
  • 9. An array is a collection of homogeneous type of data elements. An array is consisting of a collection of elements .
  • 11. Representation of array in memory 1 2 3 4 5
  • 13. A Stack is a list of elements in which an element may be inserted or deleted at one end which is known as TOP of the stack.
  • 14. Push: add an element in stack Pop: remove an element in stack
  • 15. Representation of Stack EEE TOP DDD CCC BBB AAA
  • 17. A queue is a linear list of element in which insertion can be done at one end which is known as front and deletion can be done which is known as rear.
  • 18. Insertion : add a new element in queue Deletion: Removing an element in queue
  • 21. A Linked list is a linear collection of data elements .It has two part one is info and other is link part.info part gives information and link part is address of next node
  • 25. In computer science, a tree is a widely-used data structure that emulates a hierarchical tree structure with a set of linked nodes.
  • 28. A graph data structure may also associate to each edge some edge value, such as a symbolic label or a numeric attribute (cost, capacity, length, etc.).