SlideShare a Scribd company logo
DATA STRUCTURES, ADTS
UNIT – I
By Otemo Vincent
Introduction
• Data structure is a specific way to store and
organize data in a computer's memory so that
these data can be used efficiently later.
• A well-designed data structure allows a variety
of critical operations to be performed, using as
few resources, both execution time and
memory space, as possible.
Data Models Require
• Firstly, it must be loaded enough in structure
to reflect the actual relationships of the data
with the real world object.
• Secondly, the formation should be simple
enough so that anyone can efficiently process
the data each time it is necessary.
Data Structures Address
• First, how the data will be stored, and
• Second, what operations will be performed on
it.
• Thirdly, ensure that the data structure is
independent of its implementation.
Definition
• A data structure is a collection of data,
organized so that items can be stored and
retrieved by some fixed techniques, or
• A data structure is a data organization,
management, and storage format that enables
efficient access and modification.
Foundation Terms Of A Data Structure
• Interface − Each data structure has an interface
which represents the set of operations that a
data structure supports. It provides the list of
supported operations, type of parameters they
can accept and return type of these operations.
• Implementation − Implementation provides
the internal representation of a data structure
and the definition of the algorithms used in the
operations of the data structure.
Characteristics of a Data Structure
 Correctness − Data structure implementation
should implement its interface correctly.
 Time Complexity − Running time or the
execution time of operations of data structure
must be as small as possible.
 Space Complexity − Memory usage of a data
structure operation should be as little as
possible.
Classification of Data Structures:
Data structures can be classified as
• Simple data structure
• Compound data structure
Simple Data Structure:
• Simple data structure can be constructed with
the help of primitive data structure.
• A primitive data type is built into a language,
for example;
• integer,
• real,
• character,
• and Boolean.
Compound Data structure:
• Can be constructed with the help of any one
of the primitive data structure and should
have a specific functionality. It can be
designed by user.
• Classified into:
 Linear data structure
 Non-linear data structure
Linear Data Structure:
• A data structure is said to be linear if its elements
combine to form any specific order. There are
basically two techniques of representing such linear
structure within memory.
• Linear data structures can be constructed as a
continuous arrangement of data elements in the
memory.
• In the linear Data Structures the relationship of
adjacency is maintained between the data elements.
Models of Linear Data Structures
· Arrays: First way is to provide the linear
relationships among all the elements
represented by means of linear memory
location.
· linked lists: The second technique is to
provide the linear relationship among all the
elements represented by using the concept of
pointers or links.
Other linear Data Structures
• Queues
• Stacks
Array
• Array is a container which can hold a fix
number of items and these items should be of
the same type. Most of the data structures
make use of arrays to implement their
algorithms.
Linked Lists
• A linked list is a sequence of data structures,
which are connected together via links.
Linked List is a sequence of links which
contains items. Each link contains a
connection to another link. Linked list is the
second most-used data structure after array.
Non-linear Data Structure:
• Non-linear data structure can be constructed as a
collection of randomly distributed set of data item
joined together by using a special pointer (tag).
• The relationship of adjacency is not maintained
between the data items.
• Mostly used for representing data that contains a
hierarchical relationship among various elements.
• Examples:
 Graphs
 family of trees
Abstract Data Type: (ADT)
• ADT, is a logical description of how we view the data
and the operations that are allowed without regard to
how they will be implemented.
• An ADT is a mathematical model of a data structure
that specifies the type of data stored, the operations
supported on them, and the types of parameters of
the operations.
• An ADT specifies what each operation does, but not
how it does it. Typically, an ADT can be implemented
using one of many different data structures.
Choose Of The Right Data Structures
• Begins from the choice of an abstract data type
(ADT)
• Identify the interface of operations supported
by a data structure
• Determine the efficiency of the data structure:
how much space does the data structure occupy
• Estimate the running times of the operations in
its interface
When selecting a data structure to solve a
problem
1 Analyze your problem to determine the basic
operations that must be supported. ...
2 Quantify the resource constraints for each
operation.
3 Select the data structure that best meets
these requirements.
……………………ENG…………………….
THANK YOU FOR YOUR ATTENTION

More Related Content

Similar to DATA STRUCTURES, ADTS INTRO lecture .pptx (20)

PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
sanketkurve7
 
PDF
Datastructures Notes
Ranjithkumar C
 
PPTX
CHAPTER-1- Introduction to data structure.pptx
OnkarModhave
 
PPTX
Dsa unit 1
ColorfullMedia
 
PPTX
unit 1.pptx for advanced cloud computing unit
akastiyan23
 
PPT
Ch1
OmarFarukh3
 
PPTX
Data Structures.pptx sttrycture o data irt is
ArnavVikasGarg
 
PPTX
DSD Unit 1 Abstract Data Type data structures design notes.pptx
yuvaraniit
 
PDF
Unit.1 Introduction to Data Structuresres
amplopsurat
 
PPTX
dsa.pptx
Dr.Shweta
 
PPT
Data Structures & Algorithms
Ain-ul-Moiz Khawaja
 
PPTX
Unit-1 DataStructure Intro.pptx
ajajkhan16
 
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
hslinaaltosh
 
PDF
Data Structures & Recursion-Introduction.pdf
MaryJacob24
 
PPTX
1. Introduction to Data Structure.pptx
RahikAhmed
 
PDF
Relational data base management system (Unit 1)
Ismail Mukiibi
 
PDF
Database.pdf
l235546
 
PDF
Unit 1-Introduction to Data Structures-BCA.pdf
MaryJacob24
 
PPTX
DataStructurePpt-01.pptxEngineering data structure notes
limev72215
 
PPTX
Introduction to data structure
sunilchute1
 
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
sanketkurve7
 
Datastructures Notes
Ranjithkumar C
 
CHAPTER-1- Introduction to data structure.pptx
OnkarModhave
 
Dsa unit 1
ColorfullMedia
 
unit 1.pptx for advanced cloud computing unit
akastiyan23
 
Data Structures.pptx sttrycture o data irt is
ArnavVikasGarg
 
DSD Unit 1 Abstract Data Type data structures design notes.pptx
yuvaraniit
 
Unit.1 Introduction to Data Structuresres
amplopsurat
 
dsa.pptx
Dr.Shweta
 
Data Structures & Algorithms
Ain-ul-Moiz Khawaja
 
Unit-1 DataStructure Intro.pptx
ajajkhan16
 
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
hslinaaltosh
 
Data Structures & Recursion-Introduction.pdf
MaryJacob24
 
1. Introduction to Data Structure.pptx
RahikAhmed
 
Relational data base management system (Unit 1)
Ismail Mukiibi
 
Database.pdf
l235546
 
Unit 1-Introduction to Data Structures-BCA.pdf
MaryJacob24
 
DataStructurePpt-01.pptxEngineering data structure notes
limev72215
 
Introduction to data structure
sunilchute1
 

Recently uploaded (20)

PDF
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
apidays
 
PPTX
Introduction to Artificial Intelligence.pptx
StarToon1
 
PDF
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
apidays
 
PDF
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
PDF
Responsibilities of a Certified Data Engineer | IABAC
Seenivasan
 
PPTX
The Future of Artificial Intelligence ii
maniieiish
 
PPTX
Enterprise Architecture and TOGAF Presn
starksolutionsindia
 
PPTX
Slide studies GC- CRC - PC - HNC baru.pptx
LLen8
 
PPTX
fashion industry boom.pptx an economics project
TGMPandeyji
 
PPTX
UVA-Ortho-PPT-Final-1.pptx Data analytics relevant to the top
chinnusindhu1
 
PPTX
DATA-COLLECTION METHODS, TYPES AND SOURCES
biggdaad011
 
PDF
jadwalllllllllllllllllllllllllllllllllll
FindaAfifah
 
PPTX
Mircosoft azure SQL detailing about how to use SQL with Microsoft Azure.
shrijasheth64
 
PDF
Dr. Robert Krug - Chief Data Scientist At DataInnovate Solutions
Dr. Robert Krug
 
PPTX
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
apidays
 
PPTX
Lecture_9_EPROM_Flash univeristy lecture fall 2022
ssuser5047c5
 
PPTX
GEN CHEM ACCURACY AND PRECISION eme.pptx
yeagere932
 
PDF
T2_01 Apuntes La Materia.pdfxxxxxxxxxxxxxxxxxxxxxxxxxxxxxskksk
mathiasdasilvabarcia
 
PDF
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
apidays
 
PPTX
materials that are required to used.pptx
drkaran1421
 
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
apidays
 
Introduction to Artificial Intelligence.pptx
StarToon1
 
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
apidays
 
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
Responsibilities of a Certified Data Engineer | IABAC
Seenivasan
 
The Future of Artificial Intelligence ii
maniieiish
 
Enterprise Architecture and TOGAF Presn
starksolutionsindia
 
Slide studies GC- CRC - PC - HNC baru.pptx
LLen8
 
fashion industry boom.pptx an economics project
TGMPandeyji
 
UVA-Ortho-PPT-Final-1.pptx Data analytics relevant to the top
chinnusindhu1
 
DATA-COLLECTION METHODS, TYPES AND SOURCES
biggdaad011
 
jadwalllllllllllllllllllllllllllllllllll
FindaAfifah
 
Mircosoft azure SQL detailing about how to use SQL with Microsoft Azure.
shrijasheth64
 
Dr. Robert Krug - Chief Data Scientist At DataInnovate Solutions
Dr. Robert Krug
 
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
apidays
 
Lecture_9_EPROM_Flash univeristy lecture fall 2022
ssuser5047c5
 
GEN CHEM ACCURACY AND PRECISION eme.pptx
yeagere932
 
T2_01 Apuntes La Materia.pdfxxxxxxxxxxxxxxxxxxxxxxxxxxxxxskksk
mathiasdasilvabarcia
 
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
apidays
 
materials that are required to used.pptx
drkaran1421
 
Ad

DATA STRUCTURES, ADTS INTRO lecture .pptx

  • 1. DATA STRUCTURES, ADTS UNIT – I By Otemo Vincent
  • 2. Introduction • Data structure is a specific way to store and organize data in a computer's memory so that these data can be used efficiently later. • A well-designed data structure allows a variety of critical operations to be performed, using as few resources, both execution time and memory space, as possible.
  • 3. Data Models Require • Firstly, it must be loaded enough in structure to reflect the actual relationships of the data with the real world object. • Secondly, the formation should be simple enough so that anyone can efficiently process the data each time it is necessary.
  • 4. Data Structures Address • First, how the data will be stored, and • Second, what operations will be performed on it. • Thirdly, ensure that the data structure is independent of its implementation.
  • 5. Definition • A data structure is a collection of data, organized so that items can be stored and retrieved by some fixed techniques, or • A data structure is a data organization, management, and storage format that enables efficient access and modification.
  • 6. Foundation Terms Of A Data Structure • Interface − Each data structure has an interface which represents the set of operations that a data structure supports. It provides the list of supported operations, type of parameters they can accept and return type of these operations. • Implementation − Implementation provides the internal representation of a data structure and the definition of the algorithms used in the operations of the data structure.
  • 7. Characteristics of a Data Structure  Correctness − Data structure implementation should implement its interface correctly.  Time Complexity − Running time or the execution time of operations of data structure must be as small as possible.  Space Complexity − Memory usage of a data structure operation should be as little as possible.
  • 8. Classification of Data Structures: Data structures can be classified as • Simple data structure • Compound data structure
  • 9. Simple Data Structure: • Simple data structure can be constructed with the help of primitive data structure. • A primitive data type is built into a language, for example; • integer, • real, • character, • and Boolean.
  • 10. Compound Data structure: • Can be constructed with the help of any one of the primitive data structure and should have a specific functionality. It can be designed by user. • Classified into:  Linear data structure  Non-linear data structure
  • 11. Linear Data Structure: • A data structure is said to be linear if its elements combine to form any specific order. There are basically two techniques of representing such linear structure within memory. • Linear data structures can be constructed as a continuous arrangement of data elements in the memory. • In the linear Data Structures the relationship of adjacency is maintained between the data elements.
  • 12. Models of Linear Data Structures · Arrays: First way is to provide the linear relationships among all the elements represented by means of linear memory location. · linked lists: The second technique is to provide the linear relationship among all the elements represented by using the concept of pointers or links.
  • 13. Other linear Data Structures • Queues • Stacks
  • 14. Array • Array is a container which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms.
  • 15. Linked Lists • A linked list is a sequence of data structures, which are connected together via links. Linked List is a sequence of links which contains items. Each link contains a connection to another link. Linked list is the second most-used data structure after array.
  • 16. Non-linear Data Structure: • Non-linear data structure can be constructed as a collection of randomly distributed set of data item joined together by using a special pointer (tag). • The relationship of adjacency is not maintained between the data items. • Mostly used for representing data that contains a hierarchical relationship among various elements. • Examples:  Graphs  family of trees
  • 17. Abstract Data Type: (ADT) • ADT, is a logical description of how we view the data and the operations that are allowed without regard to how they will be implemented. • An ADT is a mathematical model of a data structure that specifies the type of data stored, the operations supported on them, and the types of parameters of the operations. • An ADT specifies what each operation does, but not how it does it. Typically, an ADT can be implemented using one of many different data structures.
  • 18. Choose Of The Right Data Structures • Begins from the choice of an abstract data type (ADT) • Identify the interface of operations supported by a data structure • Determine the efficiency of the data structure: how much space does the data structure occupy • Estimate the running times of the operations in its interface
  • 19. When selecting a data structure to solve a problem 1 Analyze your problem to determine the basic operations that must be supported. ... 2 Quantify the resource constraints for each operation. 3 Select the data structure that best meets these requirements.