SlideShare a Scribd company logo
2
Most read
5
Most read
15
Most read
CONTENTS
 DEFINITION OF DATA STRUCTURES.
 DATA STRUCTURE OPERATIONS.
 TYPES OF DATA STRUCTURE.
 LINEAR DATA STRUCTURE.
 NON-LINEAR DATA STRUCTURE
DEFINITION:
DATA STRUCTURES
A data structure is a scheme for organizing data in the memory of computer.
It is a logical way of storing data and it also define mechanism of retrieve data.
The way in which the data is organized affects the performance of a program
for different tasks.
Computer programmers decide which data structures to use based on the
nature of the data and the processes that need to be performed on that data.
The way in which the data is organized affects the
performance of a program for different tasks.
Computer programmers decide which data
structures to use based on the nature of the data
and the processes that need to be performed on
that data.
OPERATIONS

Searching:
Finding the location of the record with a given key value .
Insertion:
Adding a new record to the structure
Deletion:
Removing a record from the structure
Types of Data Structure:
 Primitive:
Primitive data structures are those which are
predefined way of storing data by the system. ...
Primitive data structures are char, int, float, double.
Characters are internally considered as int and floats
also falls under double and the predefined operations
are addition, subtraction, etc.
Non Primitive
Non-primitive data types are not defined
by the programming language, but are
instead created by the programmer.
They are sometimes called "reference
variables," or "object references," since
they reference a memory location,
which stores the data
Non Primitive
 LINEAR DATA STRUCTURE
 NON LINEAR DATA STRUCTURE
LINEAR DATA STRUCTURE
ARRAY
LINKED LIST
STACK
QUEUE
ARRAY
An array is a collection of
homogeneous type of data elements.
An array is consisting of a collection
of elements . REPRESENTATION OF
ARRAY IN MEMORY
LINKED LIST
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.
LINKED LIST REPRESENTATION
Stack:
A Stack also called last in first out
(LIFO) system.
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.
Operations performed on stack
Push: add an element in stack.
Pop: remove an element in stack.
Stack representation:
Queue (FIFO)
 A Queue also called first in first out (FIFO)
system.
 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.
Operations performed on queue
Insertion : add a new element in
queue.
Deletion: Removing an element in
queue.
Queue representation
Non-linear data structure
 Tree:
 Graph:
Tree:
Data frequently contain a hierarchical
relationship between various elements. The data
structure which reflects this relationship is
called tree.
Operations performed on tree
Insertion
Deletion
Searching
Tree Representation:
Graph:
Data sometimes contain a relationship
between pairs of elements which is not
necessarily hierarchical in nature.
For example, an airline flies only
between cities connected by lines.
Graph Respresentation:
Thank You

More Related Content

PPTX
Data Structure - Elementary Data Organization
PPT
Elementary data organisation
PPTX
Introduction to data structure
PPT
Lecture 1 data structures and algorithms
PPTX
Data Structures (CS8391)
PPTX
Presentation on Data Structure
PDF
Data Structures Notes 2021
PPT
Introduction to Data Structures Sorting and searching
Data Structure - Elementary Data Organization
Elementary data organisation
Introduction to data structure
Lecture 1 data structures and algorithms
Data Structures (CS8391)
Presentation on Data Structure
Data Structures Notes 2021
Introduction to Data Structures Sorting and searching

What's hot (20)

PPTX
Data structure & its types
PPTX
Doubly Linked List
PPTX
Data structure array
PPTX
Binary Search Tree in Data Structure
PPTX
PPTX
linked list
PPTX
PPTX
heap Sort Algorithm
PPTX
Binary Tree in Data Structure
PPTX
Heap Sort in Design and Analysis of algorithms
PPTX
Data structure power point presentation
PPTX
Introduction to data structure ppt
PPTX
linked list in Data Structure, Simple and Easy Tutorial
PPT
Searching in c language
PPTX
Disjoint sets union, find
PPT
Data structures using c
PPTX
Binary Search Tree
PPT
File structures
PPTX
Stacks IN DATA STRUCTURES
PPT
Spanning trees
Data structure & its types
Doubly Linked List
Data structure array
Binary Search Tree in Data Structure
linked list
heap Sort Algorithm
Binary Tree in Data Structure
Heap Sort in Design and Analysis of algorithms
Data structure power point presentation
Introduction to data structure ppt
linked list in Data Structure, Simple and Easy Tutorial
Searching in c language
Disjoint sets union, find
Data structures using c
Binary Search Tree
File structures
Stacks IN DATA STRUCTURES
Spanning trees
Ad

Similar to Data structure and its types. (20)

PPTX
Types Of Data Structure
PPTX
Data structure
PPTX
Dats Structures
PDF
Data Structure Ppt for our engineering college industrial training.
PDF
BCA DATA STRUCTURES INTRODUCTION AND OVERVIEW SOWMYA JYOTHI
PPTX
DataStructureccvdgddfffdesddsssdssPpt.pptx
PPTX
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
PPTX
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
PPTX
DS2-CLASSIFICATION11111111111111111111111111111111.pptx
PPTX
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
PPT
Introduction to data structure
PPTX
Introduction to data structures (ss)
PPTX
DataStructurePpt.pptx
PPTX
DataStructurePpt-01.pptxEngineering data structure notes
PPTX
DataStructurePpt.pptx
PPTX
Unit-1 DataStructure Intro.pptx
PPT
ARRAYS IN C++ CBSE AND STATE +2 COMPUTER SCIENCE
PPTX
Classification of datastructure.ppt
PPTX
data structure
Types Of Data Structure
Data structure
Dats Structures
Data Structure Ppt for our engineering college industrial training.
BCA DATA STRUCTURES INTRODUCTION AND OVERVIEW SOWMYA JYOTHI
DataStructureccvdgddfffdesddsssdssPpt.pptx
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
DS2-CLASSIFICATION11111111111111111111111111111111.pptx
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
Introduction to data structure
Introduction to data structures (ss)
DataStructurePpt.pptx
DataStructurePpt-01.pptxEngineering data structure notes
DataStructurePpt.pptx
Unit-1 DataStructure Intro.pptx
ARRAYS IN C++ CBSE AND STATE +2 COMPUTER SCIENCE
Classification of datastructure.ppt
data structure
Ad

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Lesson notes of climatology university.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Insiders guide to clinical Medicine.pdf
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
Abdominal Access Techniques with Prof. Dr. R K Mishra
O5-L3 Freight Transport Ops (International) V1.pdf
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
GDM (1) (1).pptx small presentation for students
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Sports Quiz easy sports quiz sports quiz
Pharma ospi slides which help in ospi learning
Lesson notes of climatology university.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Insiders guide to clinical Medicine.pdf
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Anesthesia in Laparoscopic Surgery in India

Data structure and its types.

  • 1. CONTENTS  DEFINITION OF DATA STRUCTURES.  DATA STRUCTURE OPERATIONS.  TYPES OF DATA STRUCTURE.  LINEAR DATA STRUCTURE.  NON-LINEAR DATA STRUCTURE
  • 2. DEFINITION: DATA STRUCTURES A data structure is a scheme for organizing data in the memory of computer. It is a logical way of storing data and it also define mechanism of retrieve data. The way in which the data is organized affects the performance of a program for different tasks. Computer programmers decide which data structures to use based on the nature of the data and the processes that need to be performed on that data.
  • 3. The way in which the data is organized affects the performance of a program for different tasks. Computer programmers decide which data structures to use based on the nature of the data and the processes that need to be performed on that data.
  • 4. OPERATIONS  Searching: Finding the location of the record with a given key value . Insertion: Adding a new record to the structure Deletion: Removing a record from the structure
  • 5. Types of Data Structure:  Primitive: Primitive data structures are those which are predefined way of storing data by the system. ... Primitive data structures are char, int, float, double. Characters are internally considered as int and floats also falls under double and the predefined operations are addition, subtraction, etc.
  • 6. Non Primitive Non-primitive data types are not defined by the programming language, but are instead created by the programmer. They are sometimes called "reference variables," or "object references," since they reference a memory location, which stores the data
  • 7. Non Primitive  LINEAR DATA STRUCTURE  NON LINEAR DATA STRUCTURE
  • 9. ARRAY An array is a collection of homogeneous type of data elements. An array is consisting of a collection of elements . REPRESENTATION OF ARRAY IN MEMORY
  • 10. LINKED LIST 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.
  • 12. Stack: A Stack also called last in first out (LIFO) system. 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.
  • 13. Operations performed on stack Push: add an element in stack. Pop: remove an element in stack.
  • 15. Queue (FIFO)  A Queue also called first in first out (FIFO) system.  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.
  • 16. Operations performed on queue Insertion : add a new element in queue. Deletion: Removing an element in queue.
  • 18. Non-linear data structure  Tree:  Graph:
  • 19. Tree: Data frequently contain a hierarchical relationship between various elements. The data structure which reflects this relationship is called tree. Operations performed on tree Insertion Deletion Searching
  • 21. Graph: Data sometimes contain a relationship between pairs of elements which is not necessarily hierarchical in nature. For example, an airline flies only between cities connected by lines.