SlideShare a Scribd company logo
2
Most read
3
Most read
6
Most read
Abstract Data Types (ADT)
• Problem solving with a computer: processing data.
• Need to define the data type and the operation to be performed
on the data.
• The definition of the data type and the definition of the operation
to be applied to the data is part of the idea behind an abstract
data type (ADT).
• ADT is a collection of data together with a set of operations on
that data.
ADT = Data + Operations
1
Abstract Data Types (ADT)
• The ADT specifies
• What can be stored in the Abstract Data Type
• What operations can be done on/by the Abstract Data Type.
2
The concept of abstraction means:
1. We know what a data type can do.
2. How it is done is hidden.
Definition :
Abstract Data type (ADT) is defined as a mathematical
model with a collection of operations defined on that
model.
Abstract Data Types (ADT)
ADT Types
• Simple ADTs
• Predefined data types are Simple
ADTs.
• Examples: int, float, double, char,
bool
• Consider Integer ADT:
• This type of ADT is an integer
with predefined ranges.
• several operations that can be
applied to this data type (addition,
subtraction, multiplication,
division and so on)
3
Integer ADT
….. -3,-2,-1,0,1,2,3….
Data
- Number
- Positive / Negative
Operations
- Addition
- Subtraction
- Multiplication
- Division
Integer ADT
Abstract Data Types (ADT)
ADT Types
• Complex ADT:
• While several simple ADTs have been implemented, such as
integer, real, character, pointer and so on, and are available for use
in most languages, many useful complex ADTs are not.
• We need some additional ADTs that should be created and stored
in the library of the computer to be used.
• Example:
• List, Set, Graph, Stack, Queue,etc.,
4
Abstract Data Types (ADT)
Data
- Number
- Positive / Negative
Operations
- Addition
- Subtraction
- Multiplication
- Division
Integer ADT
Data
Sequence of elements
Operations
Insert
- Find
- Delete
- Next
- Previous
- Make Empty
- Print list
List ADT
Simple ADTs Complex ADTs
5
List ADT
• List is a complex abstract data type that represents a countable
number of ordered values.
• It is an ordered collection of items of some element type.
• It is a widely used data structure for applications which do not need
random access.
• It is basically of the following form :
Note:
– A1 - First Element of the list.
– N - Size of the list.
– Position of is Ai is i.
– Ai+1 succeeds Ai.
– Ai-1 precedes Ai.
A1,A2…….AN(N>=0)
6

More Related Content

PDF
Data structure ppt
PPT
Abstract data types
PPTX
linked list in data structure
PPT
Design process
PPTX
Quick sort-Data Structure
PPTX
BREAK-EVEN ANALYSIS
PPT
Divide and Conquer
PPTX
Binary Tree Traversal
Data structure ppt
Abstract data types
linked list in data structure
Design process
Quick sort-Data Structure
BREAK-EVEN ANALYSIS
Divide and Conquer
Binary Tree Traversal

What's hot (20)

PPTX
Binary Search Tree in Data Structure
PPTX
Different types of Linked list.
PPTX
Priority Queue in Data Structure
PPTX
Searching and sorting
PPSX
Data Structure (Queue)
PPTX
daa-unit-3-greedy method
PPTX
Insertion sort algorithm power point presentation
PPT
B trees in Data Structure
PPTX
Tree - Data Structure
PPT
Bubble sort
PPT
Queue data structure
PDF
Algorithms Lecture 7: Graph Algorithms
PPTX
B and B+ tree
PPTX
Classes, objects in JAVA
PDF
UNIT I LINEAR DATA STRUCTURES – LIST
PPTX
Data Structures and Algorithm - Module 1.pptx
PPT
Unit 1 introduction to data structure
PDF
C++ OOPS Concept
PPTX
Method overloading
PPSX
Binary Search Tree in Data Structure
Different types of Linked list.
Priority Queue in Data Structure
Searching and sorting
Data Structure (Queue)
daa-unit-3-greedy method
Insertion sort algorithm power point presentation
B trees in Data Structure
Tree - Data Structure
Bubble sort
Queue data structure
Algorithms Lecture 7: Graph Algorithms
B and B+ tree
Classes, objects in JAVA
UNIT I LINEAR DATA STRUCTURES – LIST
Data Structures and Algorithm - Module 1.pptx
Unit 1 introduction to data structure
C++ OOPS Concept
Method overloading
Ad

Similar to Abstract Data Types (20)

PPTX
UNIT 1 Memory ManagementMemory Management.pptx
PPTX
UNIT 1.pptx
PPTX
data types.pptx
PPT
Data Structures: Introduction_______.ppt
PPT
DSA___________________SSSSSSSSSSSSSS.ppt
PPT
Introduction to Data Structure and Algorithms
PPTX
Introduction to Data Structure part 1
PPT
1. Data structures introduction
PDF
Data structures list
PDF
Data structure and Alogorithm analysis unit one
PPTX
CHAPTER-1- Introduction to data structure.pptx
PPTX
ADS Introduction
PPTX
Lecture 01
PPTX
Data Structures using java notes for MCA
PPTX
Chapter 1 Data structure _Algorithms.pptx
PDF
Unit 1 OF DS FOR AI DS BTRCH OF DS FOR AI DS BTRCH .pdf
PPTX
Introduction to DS.pptx
PPTX
chapter 1 Introduction to Ds and Algorithm Anyasis.pptx
PPTX
FALLSEM2022-23_BCSE202L_TH_VL2022230103292_Reference_Material_II_08-08-2022_D...
PPTX
Abstract Data Types (ADTs) in Data Structures
UNIT 1 Memory ManagementMemory Management.pptx
UNIT 1.pptx
data types.pptx
Data Structures: Introduction_______.ppt
DSA___________________SSSSSSSSSSSSSS.ppt
Introduction to Data Structure and Algorithms
Introduction to Data Structure part 1
1. Data structures introduction
Data structures list
Data structure and Alogorithm analysis unit one
CHAPTER-1- Introduction to data structure.pptx
ADS Introduction
Lecture 01
Data Structures using java notes for MCA
Chapter 1 Data structure _Algorithms.pptx
Unit 1 OF DS FOR AI DS BTRCH OF DS FOR AI DS BTRCH .pdf
Introduction to DS.pptx
chapter 1 Introduction to Ds and Algorithm Anyasis.pptx
FALLSEM2022-23_BCSE202L_TH_VL2022230103292_Reference_Material_II_08-08-2022_D...
Abstract Data Types (ADTs) in Data Structures
Ad

Recently uploaded (20)

PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
introduction to high performance computing
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPT
Occupational Health and Safety Management System
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
Soil Improvement Techniques Note - Rabbi
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
Artificial Intelligence
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
distributed database system" (DDBS) is often used to refer to both the distri...
introduction to high performance computing
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Nature of X-rays, X- Ray Equipment, Fluoroscopy
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Exploratory_Data_Analysis_Fundamentals.pdf
Occupational Health and Safety Management System
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Soil Improvement Techniques Note - Rabbi
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Artificial Intelligence
Categorization of Factors Affecting Classification Algorithms Selection
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS

Abstract Data Types

  • 1. Abstract Data Types (ADT) • Problem solving with a computer: processing data. • Need to define the data type and the operation to be performed on the data. • The definition of the data type and the definition of the operation to be applied to the data is part of the idea behind an abstract data type (ADT). • ADT is a collection of data together with a set of operations on that data. ADT = Data + Operations 1
  • 2. Abstract Data Types (ADT) • The ADT specifies • What can be stored in the Abstract Data Type • What operations can be done on/by the Abstract Data Type. 2 The concept of abstraction means: 1. We know what a data type can do. 2. How it is done is hidden. Definition : Abstract Data type (ADT) is defined as a mathematical model with a collection of operations defined on that model.
  • 3. Abstract Data Types (ADT) ADT Types • Simple ADTs • Predefined data types are Simple ADTs. • Examples: int, float, double, char, bool • Consider Integer ADT: • This type of ADT is an integer with predefined ranges. • several operations that can be applied to this data type (addition, subtraction, multiplication, division and so on) 3 Integer ADT ….. -3,-2,-1,0,1,2,3…. Data - Number - Positive / Negative Operations - Addition - Subtraction - Multiplication - Division Integer ADT
  • 4. Abstract Data Types (ADT) ADT Types • Complex ADT: • While several simple ADTs have been implemented, such as integer, real, character, pointer and so on, and are available for use in most languages, many useful complex ADTs are not. • We need some additional ADTs that should be created and stored in the library of the computer to be used. • Example: • List, Set, Graph, Stack, Queue,etc., 4
  • 5. Abstract Data Types (ADT) Data - Number - Positive / Negative Operations - Addition - Subtraction - Multiplication - Division Integer ADT Data Sequence of elements Operations Insert - Find - Delete - Next - Previous - Make Empty - Print list List ADT Simple ADTs Complex ADTs 5
  • 6. List ADT • List is a complex abstract data type that represents a countable number of ordered values. • It is an ordered collection of items of some element type. • It is a widely used data structure for applications which do not need random access. • It is basically of the following form : Note: – A1 - First Element of the list. – N - Size of the list. – Position of is Ai is i. – Ai+1 succeeds Ai. – Ai-1 precedes Ai. A1,A2…….AN(N>=0) 6