SlideShare a Scribd company logo
DATA STRUCTURE
Presented by:
MD ARIF HOSSAIN
ID: 182-15-11395
Sec: D
Semester: SPRING 2019
Department of Computer Science &
Engineering
Presented to:
MR.SHAH MD.TANVIR SIDDIQUEE
Senior Lecturer
Department of FSIT
CONTENTS
DEFINIATION OF DATA STRUCTURE
DATA STRUCTURE OPERATION
TYPES OF DATA STRUCTURE
LINEAR LIST
NON LINEAR LIST
DEFINIATION OF DATA STRUCTURE
Data Structure is a way of collecting and organising data in such a way that we can perform
operations on these data in an effective way. Data Structures is about rendering data
elements in terms of some relationship, for better organization and storage.
DATA STRUCTURE OPERATION
Traversing: Traversing a data structure means: "visiting" or "touching" the elements of the structure,
and doing something with the data.
Searching: Searching is the process of finding a given value position in a list of values.
Insertion: Adding a new record to the structure.
Deletion: Removing a record from the structure.
TYPES OF DATA STRUCTURE
PRIMITIVE DATA STRUCTURE
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.
Integer
Float
Char
Pointers
NON PRIMITIVE DATA STRUCTURE
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.
Arrays
Lists
Files
LINEAR LIST
STACKS: A stack is a basic data structure that can be logically thought of as a linear structure
represented by a real physical stack or pile, a structure where insertion and deletion of items takes
place at one end called top of the stack.
There are basically three operations that can be performed on stacks. They are 1) inserting an item
into a stack (push). 2) deleting an item from the stack (pop). 3) displaying the contents of the
stack(pip).
QUEUES:
Queue is also an abstract data type or a linear data structure, just like stack data structure, in which
the first element is inserted from one end called the REAR(also called tail), and the removal of
existing element takes place from the other end called as FRONT(also called head).
This makes queue as FIFO(First in First Out) data structure, which means that element inserted first
will be removed first.
NON LINEAR LIST
The non-linear data structure utilizes the memory efficiently and does not require the memory
declaration in advance. There are the two common examples of the non-linear data structure –
tree and graph. A tree data structure organizes and stores the data elements in a hierarchical
relationship.
Graph
Trees
Graph
A Graph is a non-linear data structure consisting of nodes and edges. The nodes are sometimes also
referred to as vertices and the edges are lines or arcs that connect any two nodes in the graph. More
formally a Graph can be defined .
Graph Representation
Trees
Tree represents the nodes connected by edges. We will discuss binary tree or binary search tree
specifically.
Trees Representation
THANK YOU

More Related Content

PPTX
data structure
PPT
Lecture 1 data structures and algorithms
PDF
Datastructureitstypes
PPT
Data struters
PPTX
Data structures
PPTX
Data structure and its types.
PPTX
Introduction to stack
PPSX
Data Structure # vpmp polytechnic
data structure
Lecture 1 data structures and algorithms
Datastructureitstypes
Data struters
Data structures
Data structure and its types.
Introduction to stack
Data Structure # vpmp polytechnic

What's hot (18)

PPTX
Presentation on Data Structure
PPTX
Data structure
PPT
Struktur data ppt
PPTX
Data Structure - Elementary Data Organization
PPT
Intro ds
PPTX
XL-MINER: Associations
PPT
Introduction to data structure
PDF
Introduction of data structures and algorithms
PPTX
Types of datastructures
PPT
data structures
PPT
Data structures and Alogarithims
PPTX
PPT
PPTX
Data structure & its types
PPTX
Introduction To Data Structures.
PPTX
Introduction of Data Structure
PPT
Elementary data organisation
PPTX
Over view of data structures
Presentation on Data Structure
Data structure
Struktur data ppt
Data Structure - Elementary Data Organization
Intro ds
XL-MINER: Associations
Introduction to data structure
Introduction of data structures and algorithms
Types of datastructures
data structures
Data structures and Alogarithims
Data structure & its types
Introduction To Data Structures.
Introduction of Data Structure
Elementary data organisation
Over view of data structures
Ad

Similar to Data structure (20)

PPTX
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
PPTX
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
PPTX
DS2-CLASSIFICATION11111111111111111111111111111111.pptx
PPT
Lecture 1 - Overview of Data Structure .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
Data structure study material introduction
PPT
different types of data structures using c.ppt
PPT
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
PPT
Introduction of data structure in short.ppt
PPT
PPT
Unit 1.ppt
PPTX
Introduction to data structures (ss)
PPT
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
PPT
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
DS2-CLASSIFICATIONnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn.pptx
DS2-CLASSIFICATION11111111111111111111111111111111.pptx
Lecture 1 - Overview of Data Structure .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
Data structure study material introduction
different types of data structures using c.ppt
PMDATA STRUICVIUDGHfjufguigfuigkguidfui.ppt
Introduction of data structure in short.ppt
Unit 1.ppt
Introduction to data structures (ss)
DS_INTROduction dhjm,asjkfnsflkwefskdmcsdmckds
PM.ppt DATA STRUCTURE USING C WITH EXAMPLE PROGRAMES
Ad

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Sustainable Sites - Green Building Construction
PPTX
Fundamentals of Mechanical Engineering.pptx
PPT
Total quality management ppt for engineering students
PPTX
Current and future trends in Computer Vision.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Construction Project Organization Group 2.pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Sustainable Sites - Green Building Construction
Fundamentals of Mechanical Engineering.pptx
Total quality management ppt for engineering students
Current and future trends in Computer Vision.pptx
573137875-Attendance-Management-System-original
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Foundation to blockchain - A guide to Blockchain Tech
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Automation-in-Manufacturing-Chapter-Introduction.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Internet of Things (IOT) - A guide to understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
R24 SURVEYING LAB MANUAL for civil enggi
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Construction Project Organization Group 2.pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf

Data structure

  • 1. DATA STRUCTURE Presented by: MD ARIF HOSSAIN ID: 182-15-11395 Sec: D Semester: SPRING 2019 Department of Computer Science & Engineering Presented to: MR.SHAH MD.TANVIR SIDDIQUEE Senior Lecturer Department of FSIT
  • 2. CONTENTS DEFINIATION OF DATA STRUCTURE DATA STRUCTURE OPERATION TYPES OF DATA STRUCTURE LINEAR LIST NON LINEAR LIST
  • 3. DEFINIATION OF DATA STRUCTURE Data Structure is a way of collecting and organising data in such a way that we can perform operations on these data in an effective way. Data Structures is about rendering data elements in terms of some relationship, for better organization and storage.
  • 4. DATA STRUCTURE OPERATION Traversing: Traversing a data structure means: "visiting" or "touching" the elements of the structure, and doing something with the data. Searching: Searching is the process of finding a given value position in a list of values. Insertion: Adding a new record to the structure. Deletion: Removing a record from the structure.
  • 5. TYPES OF DATA STRUCTURE
  • 6. PRIMITIVE DATA STRUCTURE 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. Integer Float Char Pointers
  • 7. NON PRIMITIVE DATA STRUCTURE 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. Arrays Lists Files
  • 8. LINEAR LIST STACKS: A stack is a basic data structure that can be logically thought of as a linear structure represented by a real physical stack or pile, a structure where insertion and deletion of items takes place at one end called top of the stack. There are basically three operations that can be performed on stacks. They are 1) inserting an item into a stack (push). 2) deleting an item from the stack (pop). 3) displaying the contents of the stack(pip).
  • 9. QUEUES: Queue is also an abstract data type or a linear data structure, just like stack data structure, in which the first element is inserted from one end called the REAR(also called tail), and the removal of existing element takes place from the other end called as FRONT(also called head). This makes queue as FIFO(First in First Out) data structure, which means that element inserted first will be removed first.
  • 10. NON LINEAR LIST The non-linear data structure utilizes the memory efficiently and does not require the memory declaration in advance. There are the two common examples of the non-linear data structure – tree and graph. A tree data structure organizes and stores the data elements in a hierarchical relationship. Graph Trees
  • 11. Graph A Graph is a non-linear data structure consisting of nodes and edges. The nodes are sometimes also referred to as vertices and the edges are lines or arcs that connect any two nodes in the graph. More formally a Graph can be defined . Graph Representation
  • 12. Trees Tree represents the nodes connected by edges. We will discuss binary tree or binary search tree specifically. Trees Representation