SlideShare a Scribd company logo
Tuesday, March 28,
2023
1
Data Structures & Algorithms
Represented By
Nale Rajesh K.
(Lecturer COE Malegaon (Bk))
Introduction To Data
Structures
Tuesday, March 28,
2023
2
What is Data.?
 In computing, data is information that has
been translated into a form that is more
convenient to move or process.
 Relative to today's computers and
transmission media, data is information
converted into binary digital form.
 Distinct pieces of information, usually
formatted in a special way.
Tuesday, March 28,
2023
3
Data Objects
 Anything that exists in storage and on
which operations can be performed.
 Examples include files, Programs and
arrays.
Tuesday, March 28,
2023
4
Data Types
 The mathematical properties and
internal representation of data and
functions.
 An attribute used for defining data as
numeric or character.
Tuesday, March 28,
2023
5
A Data Type is characterized by..
 a set of values
 a data representation, which is
common to all these values, and
 a set of operations, which can be
applied uniformly to all these
values
Tuesday, March 28,
2023
6
Abstract Data Types
 An Abstract Data Type (ADT) is:
 a user defined data type
 a set of values
 a set of operations, which can be applied
uniformly to all these values.
Tuesday, March 28,
2023
7
ADT = properties + operations
 An ADT describes a set of objects sharing
the same properties and behaviors
 The properties of an ADT are its data
(representing the internal state of each object
 double d; -- bits representing
exponent & mantissa are its data or state
 The behaviors of an ADT are its operations or
functions (operations on each instance)
 sqrt(d) / 2; //operators & functions are
its behaviors
Tuesday, March 28,
2023
8
Benefits Of ADT
 encapsulation: less to worry about
 division of labor
 promotes code sharing
 cheaper sub-contracts
 facilitates unit-testing
Tuesday, March 28,
2023
9
List Abstract Data Type (ADT)
 The List ADT models a
sequence of positions
storing arbitrary objects
 It establishes a
before/after relation
between positions
 Can be implemented in
various ways:
 array
 singly-linked
 doubly-linked
 Accessor methods:
 first(), last()
 prev(p), next(p)
 Update methods:
 replace(p, e)
 insertBefore(p, e),
insertAfter(p, e),
 insertFirst(e), insertLast(e)
 remove(p)
 convenience methods:
 isEmpty()
Tuesday, March 28,
2023
10
Data Structures
 Arrangement of data in computer’s
memory.
 Goal: to organize data
 Criteria: to facilitate efficient
 storage of data
 retrieval of data
 manipulation of data
 Design Issue:
 select and design appropriate data types.
Tuesday, March 28,
2023
11
Primitive & Non-Primitive
 Primitive Data Structures
 Data can be structured at the most primitive level, where they
are directly operated upon by machine-level instructions.
 At this level, data may be character or numeric, and numeric
data may consist of integers or real numbers.
 Non-Primitive Data Structures
 Non-primitive data structures can be classified as arrays, lists,
and files.
 An array is an ordered set which contains a fixed number of
objects.
 A list, by contrast, is an ordered set consisting of a variable
number of elements.
 A file is typically a large list that is stored in the external
memory of a computer.
Tuesday, March 28,
2023
12
Linear & Non-Linear
 Linear Data Structure
 Linear data structure is linear if element is adjacent to each
other. It has exactly two neighbors elements to which it is
connected as its previous and next member
 Array , Linked List , Stack , Queuenumbers.
 Non- Linear Data Structures
 Non-Linear data structure is that if one element can be
connected to more than two adjacent element then it is
known as non-linear data structure..
 Tree , Graph
Tuesday, March 28,
2023
13
Static Data Structures
 a simple data structure, the array is
static data structure.
 They are linear only
 They're essentially fixed-size.
 They often use too much space.
Tuesday, March 28,
2023
14
Dynamic Data Structure
 Is one that can grow or shrink as needed to
contain the data you want stored.
 That is, you can allocate new storage when
it's needed and discard that storage when
you're done with it.
 malloc(), calloc() functions in C language.
 Dynamic data structures generally consist
of at least some simple data storage, along
with a linkage to the next element in the
structure.
 These links are often called pointers, or
references.
Tuesday, March 28,
2023
15
Persistent & Ephemeral
 Persistent
 One that is continue in existence
 Ephemeral
 lasting or of use for only a short time;
transitory

More Related Content

Similar to Introduction To Data Structures.ppt (20)

PPTX
Introduction to Data Structures
Amar Jukuntla
 
PDF
01VD062009003760042.pdf
SunilMatsagar1
 
PPT
Data_Structure With C_LECTURE ONE PPT123
deepikadalvi18
 
PPTX
Introduction to Data Structure and its type: Primitive and Non Primitive, ADT
bdevyani29
 
PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
sanketkurve7
 
PPTX
DATA STRUCTURES, ADTS INTRO lecture .pptx
ssuser4302bb
 
PPTX
Introduction to datastructures presentation
krishkiran2408
 
PPT
Chapter 1 - Introduction to Data Structure.ppt
NORSHADILAAHMADBADEL
 
PPTX
chapter 1 Introduction to Ds and Algorithm Anyasis.pptx
AmrutaNavale2
 
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
hslinaaltosh
 
PPTX
Unit-1 DataStructure Intro.pptx
ajajkhan16
 
PPT
data structure
hashim102
 
PDF
Iare ds lecture_notes_2
RajSingh734307
 
PPTX
data structures and its importance
Anaya Zafar
 
PDF
Data structures and algorithms short note (version 14).pd
Nimmi Weeraddana
 
PPT
Data Structures & Algorithms
Ain-ul-Moiz Khawaja
 
PPT
Introduction to Data Abstraction
Dennis Gajo
 
PPT
Introduction - Data Structures and Algorithms.ppt
JayaKamal
 
PPTX
DataStructurePpt-01.pptxEngineering data structure notes
limev72215
 
PPT
DATA STRUCTURE AND ALGORITHMS
removed_8057d320f6c8601c14a895598b86eacb
 
Introduction to Data Structures
Amar Jukuntla
 
01VD062009003760042.pdf
SunilMatsagar1
 
Data_Structure With C_LECTURE ONE PPT123
deepikadalvi18
 
Introduction to Data Structure and its type: Primitive and Non Primitive, ADT
bdevyani29
 
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
sanketkurve7
 
DATA STRUCTURES, ADTS INTRO lecture .pptx
ssuser4302bb
 
Introduction to datastructures presentation
krishkiran2408
 
Chapter 1 - Introduction to Data Structure.ppt
NORSHADILAAHMADBADEL
 
chapter 1 Introduction to Ds and Algorithm Anyasis.pptx
AmrutaNavale2
 
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
hslinaaltosh
 
Unit-1 DataStructure Intro.pptx
ajajkhan16
 
data structure
hashim102
 
Iare ds lecture_notes_2
RajSingh734307
 
data structures and its importance
Anaya Zafar
 
Data structures and algorithms short note (version 14).pd
Nimmi Weeraddana
 
Data Structures & Algorithms
Ain-ul-Moiz Khawaja
 
Introduction to Data Abstraction
Dennis Gajo
 
Introduction - Data Structures and Algorithms.ppt
JayaKamal
 
DataStructurePpt-01.pptxEngineering data structure notes
limev72215
 
DATA STRUCTURE AND ALGORITHMS
removed_8057d320f6c8601c14a895598b86eacb
 

More from NALESVPMEngg (17)

PPTX
02-use_cases in Unified modeling languages
NALESVPMEngg
 
PDF
15 march -22 march 2024 short term program
NALESVPMEngg
 
PPTX
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
NALESVPMEngg
 
PDF
bstract Point processing uses only the information in individual pixels to pr...
NALESVPMEngg
 
PPT
a simple idealized machine used to recognize patterns within input taken from...
NALESVPMEngg
 
PPT
Stemming is one of several text normalization techniques that converts raw te...
NALESVPMEngg
 
PPT
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
PPT
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
PPTX
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
PPTX
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
PPTX
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
PPTX
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
PPT
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
NALESVPMEngg
 
PPTX
Wk5_UML_ActivityDiagram.pptx
NALESVPMEngg
 
PPTX
TutorialUML.pptx
NALESVPMEngg
 
PPTX
6 Use Case Modeling.pptx
NALESVPMEngg
 
PPT
Introduction To Algorithms.ppt
NALESVPMEngg
 
02-use_cases in Unified modeling languages
NALESVPMEngg
 
15 march -22 march 2024 short term program
NALESVPMEngg
 
Unit I _ Lecture PPT INTRODUCTION TO IOT PPT (2).pptx
NALESVPMEngg
 
bstract Point processing uses only the information in individual pixels to pr...
NALESVPMEngg
 
a simple idealized machine used to recognize patterns within input taken from...
NALESVPMEngg
 
Stemming is one of several text normalization techniques that converts raw te...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
NALESVPMEngg
 
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
NALESVPMEngg
 
Wk5_UML_ActivityDiagram.pptx
NALESVPMEngg
 
TutorialUML.pptx
NALESVPMEngg
 
6 Use Case Modeling.pptx
NALESVPMEngg
 
Introduction To Algorithms.ppt
NALESVPMEngg
 
Ad

Recently uploaded (20)

PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PDF
Digital water marking system project report
Kamal Acharya
 
PPTX
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
PDF
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
PDF
Bachelor of information technology syll
SudarsanAssistantPro
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PPTX
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
PPTX
Alan Turing - life and importance for all of us now
Pedro Concejero
 
PPTX
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
Digital water marking system project report
Kamal Acharya
 
DATA BASE MANAGEMENT AND RELATIONAL DATA
gomathisankariv2
 
AN EMPIRICAL STUDY ON THE USAGE OF SOCIAL MEDIA IN GERMAN B2C-ONLINE STORES
ijait
 
Bachelor of information technology syll
SudarsanAssistantPro
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
Final Major project a b c d e f g h i j k l m
bharathpsnab
 
Alan Turing - life and importance for all of us now
Pedro Concejero
 
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Ad

Introduction To Data Structures.ppt

  • 1. Tuesday, March 28, 2023 1 Data Structures & Algorithms Represented By Nale Rajesh K. (Lecturer COE Malegaon (Bk)) Introduction To Data Structures
  • 2. Tuesday, March 28, 2023 2 What is Data.?  In computing, data is information that has been translated into a form that is more convenient to move or process.  Relative to today's computers and transmission media, data is information converted into binary digital form.  Distinct pieces of information, usually formatted in a special way.
  • 3. Tuesday, March 28, 2023 3 Data Objects  Anything that exists in storage and on which operations can be performed.  Examples include files, Programs and arrays.
  • 4. Tuesday, March 28, 2023 4 Data Types  The mathematical properties and internal representation of data and functions.  An attribute used for defining data as numeric or character.
  • 5. Tuesday, March 28, 2023 5 A Data Type is characterized by..  a set of values  a data representation, which is common to all these values, and  a set of operations, which can be applied uniformly to all these values
  • 6. Tuesday, March 28, 2023 6 Abstract Data Types  An Abstract Data Type (ADT) is:  a user defined data type  a set of values  a set of operations, which can be applied uniformly to all these values.
  • 7. Tuesday, March 28, 2023 7 ADT = properties + operations  An ADT describes a set of objects sharing the same properties and behaviors  The properties of an ADT are its data (representing the internal state of each object  double d; -- bits representing exponent & mantissa are its data or state  The behaviors of an ADT are its operations or functions (operations on each instance)  sqrt(d) / 2; //operators & functions are its behaviors
  • 8. Tuesday, March 28, 2023 8 Benefits Of ADT  encapsulation: less to worry about  division of labor  promotes code sharing  cheaper sub-contracts  facilitates unit-testing
  • 9. Tuesday, March 28, 2023 9 List Abstract Data Type (ADT)  The List ADT models a sequence of positions storing arbitrary objects  It establishes a before/after relation between positions  Can be implemented in various ways:  array  singly-linked  doubly-linked  Accessor methods:  first(), last()  prev(p), next(p)  Update methods:  replace(p, e)  insertBefore(p, e), insertAfter(p, e),  insertFirst(e), insertLast(e)  remove(p)  convenience methods:  isEmpty()
  • 10. Tuesday, March 28, 2023 10 Data Structures  Arrangement of data in computer’s memory.  Goal: to organize data  Criteria: to facilitate efficient  storage of data  retrieval of data  manipulation of data  Design Issue:  select and design appropriate data types.
  • 11. Tuesday, March 28, 2023 11 Primitive & Non-Primitive  Primitive Data Structures  Data can be structured at the most primitive level, where they are directly operated upon by machine-level instructions.  At this level, data may be character or numeric, and numeric data may consist of integers or real numbers.  Non-Primitive Data Structures  Non-primitive data structures can be classified as arrays, lists, and files.  An array is an ordered set which contains a fixed number of objects.  A list, by contrast, is an ordered set consisting of a variable number of elements.  A file is typically a large list that is stored in the external memory of a computer.
  • 12. Tuesday, March 28, 2023 12 Linear & Non-Linear  Linear Data Structure  Linear data structure is linear if element is adjacent to each other. It has exactly two neighbors elements to which it is connected as its previous and next member  Array , Linked List , Stack , Queuenumbers.  Non- Linear Data Structures  Non-Linear data structure is that if one element can be connected to more than two adjacent element then it is known as non-linear data structure..  Tree , Graph
  • 13. Tuesday, March 28, 2023 13 Static Data Structures  a simple data structure, the array is static data structure.  They are linear only  They're essentially fixed-size.  They often use too much space.
  • 14. Tuesday, March 28, 2023 14 Dynamic Data Structure  Is one that can grow or shrink as needed to contain the data you want stored.  That is, you can allocate new storage when it's needed and discard that storage when you're done with it.  malloc(), calloc() functions in C language.  Dynamic data structures generally consist of at least some simple data storage, along with a linkage to the next element in the structure.  These links are often called pointers, or references.
  • 15. Tuesday, March 28, 2023 15 Persistent & Ephemeral  Persistent  One that is continue in existence  Ephemeral  lasting or of use for only a short time; transitory