SlideShare a Scribd company logo
ADT : Abstract Data Type
©Jyoti Lakhani
OBJECT
Pen
A definition for data type
A set of values(properties) and operations
Type
Brand
Color
Write()
Price
A collection of related data items together with an associated set of operations
©Jyoti Lakhani
Write()
INPUT OUTPUT
class Pen
{
public:
int Type
String Brand
int Color
int Price
void Write()
}
ENCAPSULATION
Data Type : Independent of Implementation
Emphasis -> WHAT
Abstract -> HOW
Data Structure : Physical Implementation of an ADT
©Jyoti Lakhani
Data Type

More Related Content

PDF
Algebraic Property Graphs
PDF
Algebraic Thinking for Evolution of Pure Functional Domain Models
PPSX
CG02 Computer Graphic Systems.ppsx
PPTX
Projections.pptx
PPSX
CG04 Color Models.ppsx
PPSX
CG03 Random Raster Scan displays and Color CRTs.ppsx
PPTX
CG02 Computer Graphic Systems.pptx
PPSX
CG01 introduction.ppsx
Algebraic Property Graphs
Algebraic Thinking for Evolution of Pure Functional Domain Models
CG02 Computer Graphic Systems.ppsx
Projections.pptx
CG04 Color Models.ppsx
CG03 Random Raster Scan displays and Color CRTs.ppsx
CG02 Computer Graphic Systems.pptx
CG01 introduction.ppsx

More from jyoti_lakhani (20)

PDF
Doubly linked list
PDF
Double ended queue
PDF
Tree terminology and introduction to binary tree
PDF
Priority queue
PDF
Ds006 linked list- delete from front
PPSX
Ds06 linked list- insert a node after a given node
PPSX
Ds06 linked list- insert a node at end
PPSX
Ds06 linked list- insert a node at beginning
PPSX
Ds06 linked list- intro and create a node
PPSX
Ds03 part i algorithms by jyoti lakhani
PPSX
Ds03 algorithms jyoti lakhani
PPSX
Ds02 flow chart and pseudo code
PPSX
Ds01 data structure introduction - by jyoti lakhani
DOCX
Ids 016 cooperative intrusion detection
DOCX
Ids 015 architecture and implementation of ids
DOCX
Ids 014 anomaly detection
DOCX
Ids 013 detection approaches
PPTX
Ids 009 network attacks
PPSX
Ids 008 buffer overflow
PPSX
Ids 007 trojan horse
Doubly linked list
Double ended queue
Tree terminology and introduction to binary tree
Priority queue
Ds006 linked list- delete from front
Ds06 linked list- insert a node after a given node
Ds06 linked list- insert a node at end
Ds06 linked list- insert a node at beginning
Ds06 linked list- intro and create a node
Ds03 part i algorithms by jyoti lakhani
Ds03 algorithms jyoti lakhani
Ds02 flow chart and pseudo code
Ds01 data structure introduction - by jyoti lakhani
Ids 016 cooperative intrusion detection
Ids 015 architecture and implementation of ids
Ids 014 anomaly detection
Ids 013 detection approaches
Ids 009 network attacks
Ids 008 buffer overflow
Ids 007 trojan horse
Ad

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Hybrid model detection and classification of lung cancer
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
A Presentation on Touch Screen Technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
A Presentation on Artificial Intelligence
A novel scalable deep ensemble learning framework for big data classification...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Enhancing emotion recognition model for a student engagement use case through...
Hybrid model detection and classification of lung cancer
DP Operators-handbook-extract for the Mautical Institute
TLE Review Electricity (Electricity).pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
A Presentation on Touch Screen Technology
Building Integrated photovoltaic BIPV_UPV.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Assigned Numbers - 2025 - Bluetooth® Document
A comparative study of natural language inference in Swahili using monolingua...
A comparative analysis of optical character recognition models for extracting...
Chapter 5: Probability Theory and Statistics
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Tartificialntelligence_presentation.pptx
Hindi spoken digit analysis for native and non-native speakers
Ad

Ds04 abstract data types (adt) jyoti lakhani

  • 1. ADT : Abstract Data Type ©Jyoti Lakhani OBJECT Pen A definition for data type A set of values(properties) and operations Type Brand Color Write() Price A collection of related data items together with an associated set of operations
  • 2. ©Jyoti Lakhani Write() INPUT OUTPUT class Pen { public: int Type String Brand int Color int Price void Write() } ENCAPSULATION Data Type : Independent of Implementation Emphasis -> WHAT Abstract -> HOW Data Structure : Physical Implementation of an ADT