SlideShare a Scribd company logo
1 of 11
Download to read offline
1
Lecture 1
Abstract Data Type and
Object Oriented Programming
2
Data and Information
๎€Š Data are plain facts
๎€Š Abul 172 85
๎€Š Processed, organized, presented data that
convey some meaning are information
๎€Š Abul is 172 cm tall and his weight is 85 KG
๎€Š Data Structure
๎€Š The way/technique of storing/organizing data so
that it can be processed efficiently
3
Data types and variables
๎€Š Variables are like boxes
๎€Š We can store items in them
๎€Š Add more, take off items as needed
๎€Š Different items need different type of boxes to
store them
๎€Š Tea stall analogy
๎€Š Data types define the type of the data, range of
values that can be stored in them and
operations that are allowed on them
4
Primitive Data Types
๎€Š Built in data types โ€“ basic building blocks
๎€Š C/C++ has the following primitive data types:
๎€Š char
๎€Š short
๎€Š int
๎€Š long
๎€Š long long
๎€Š float
๎€Š double
๎€Š long double
5
Abstract Data Types (ADT)
๎€Š Mathematical model of a data
type, not necessarily tied to
any particular programming
language
๎€Š Defines the abstract data
structure for content
๎€Š Defines the operations that are
permitted on them
๎€Š Examples:
๎€Š Student
๎€Š Queue
6
Programming Techniques or
Paradigms
๎€Š Unstructured Programming
๎€Š Main program working directly on global data
๎€Š Procedural Programming
๎€Š Related, meaningful and repeatable statements
grouped into procedures and called as needed
๎€Š Modular Programming
๎€Š Procedures of common purposes grouped together
into modules
๎€Š Object Oriented Programming
๎€Š Centered around the objects that interact with each
other
7
Key OOP Concepts
๎€Š Class
๎€Š An idea
๎€Š An actual representation of an ADT
๎€Š Object
๎€Š A real existence
๎€Š An instance of a class
๎€Š Example:
๎€Š Class is a blueprint that architects produce
๎€Š Objects are the buildings that builders build
8
OOP Concepts โ€ฆ continued
๎€Š Abstraction
๎€Š Hiding details that you need not be aware of
๎€Š Encapsulation
๎€Š Access to data is only permitted through defined
methods
๎€Š Relations
๎€Š Is-a
๎€Š Part-of
๎€Š Has-a
9
Inheritance
๎€Š Base class or Super
class
๎€Š Derived class or Sub
class
๎€Š Data members
(attributes) and
methods can be
inherited
๎€Š Access modifiers can
be used to control
inheritance
10
Access modifiers
๎€Š Private
๎€Š Protected
๎€Š Public
๎€Š Mailbox, Television and Safe analogy
๎€Š Usual practice is to keep data members private
and methods public
11
Polymorphism
๎€Š Base classes' pointer can be used to refer to
sub classes object
๎€Š Why is it useful?

More Related Content

What's hot

Data Types | CS8251- Programming in c | Learn Hub
Data Types | CS8251- Programming in c | Learn HubData Types | CS8251- Programming in c | Learn Hub
Data Types | CS8251- Programming in c | Learn HubLearn Hub
ย 
Oop concepts
Oop conceptsOop concepts
Oop conceptsRitu Mangla
ย 
C++ with student management system project
C++ with student management system projectC++ with student management system project
C++ with student management system projectKratik Khandelwal
ย 
Very short OOP Introduction
Very short OOP IntroductionVery short OOP Introduction
Very short OOP IntroductionCristian G
ย 
Data security and privacy techniques for on-premises, public, and private clo...
Data security and privacy techniques for on-premises, public, and private clo...Data security and privacy techniques for on-premises, public, and private clo...
Data security and privacy techniques for on-premises, public, and private clo...Ulf Mattsson
ย 
What is Non-primitive data type?
What is Non-primitive data type?What is Non-primitive data type?
What is Non-primitive data type?AnuragSrivastava272
ย 
Arrays declartion and initialization
Arrays declartion and initializationArrays declartion and initialization
Arrays declartion and initializationsangrampatil81
ย 
How Semantic Technology Can Stay Relevant in the Big Data Age?
How Semantic Technology Can Stay Relevant in the Big Data Age?How Semantic Technology Can Stay Relevant in the Big Data Age?
How Semantic Technology Can Stay Relevant in the Big Data Age?Artem Katasonov
ย 
Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]Asfand Hassan
ย 
1.1 core programming [understand computer storage and data types]
1.1 core programming [understand computer storage and data types]1.1 core programming [understand computer storage and data types]
1.1 core programming [understand computer storage and data types]tototo147
ย 
Cis 328 Enhance teaching-snaptutorial.com
Cis 328 Enhance teaching-snaptutorial.comCis 328 Enhance teaching-snaptutorial.com
Cis 328 Enhance teaching-snaptutorial.comrobertleew8
ย 
cis 328 Education Organization - snaptutorial.com
cis 328  Education Organization - snaptutorial.comcis 328  Education Organization - snaptutorial.com
cis 328 Education Organization - snaptutorial.comdonaldzs180
ย 
Cis 328 Education Specialist -snaptutorial.com
Cis 328   Education Specialist -snaptutorial.comCis 328   Education Specialist -snaptutorial.com
Cis 328 Education Specialist -snaptutorial.comDavisMurphyC36
ย 
Cis 328 Exceptional Education / snaptutorial.com
Cis 328   Exceptional Education / snaptutorial.comCis 328   Exceptional Education / snaptutorial.com
Cis 328 Exceptional Education / snaptutorial.comBaileya45
ย 
Data Structure and Algorithms โ€“Introduction.pptx
Data Structure and Algorithms โ€“Introduction.pptxData Structure and Algorithms โ€“Introduction.pptx
Data Structure and Algorithms โ€“Introduction.pptxR S Anu Prabha
ย 
Abstraction file
Abstraction fileAbstraction file
Abstraction fileHoang Nguyen
ย 
Cis 328 Effective Communication - snaptutorial.com
Cis 328  Effective Communication - snaptutorial.comCis 328  Effective Communication - snaptutorial.com
Cis 328 Effective Communication - snaptutorial.comHarrisGeorg11
ย 

What's hot (20)

Data Types | CS8251- Programming in c | Learn Hub
Data Types | CS8251- Programming in c | Learn HubData Types | CS8251- Programming in c | Learn Hub
Data Types | CS8251- Programming in c | Learn Hub
ย 
Oop concepts
Oop conceptsOop concepts
Oop concepts
ย 
C++ with student management system project
C++ with student management system projectC++ with student management system project
C++ with student management system project
ย 
Very short OOP Introduction
Very short OOP IntroductionVery short OOP Introduction
Very short OOP Introduction
ย 
Data security and privacy techniques for on-premises, public, and private clo...
Data security and privacy techniques for on-premises, public, and private clo...Data security and privacy techniques for on-premises, public, and private clo...
Data security and privacy techniques for on-premises, public, and private clo...
ย 
What is Non-primitive data type?
What is Non-primitive data type?What is Non-primitive data type?
What is Non-primitive data type?
ย 
Encodings
EncodingsEncodings
Encodings
ย 
Arrays in C
Arrays in CArrays in C
Arrays in C
ย 
Arrays declartion and initialization
Arrays declartion and initializationArrays declartion and initialization
Arrays declartion and initialization
ย 
How Semantic Technology Can Stay Relevant in the Big Data Age?
How Semantic Technology Can Stay Relevant in the Big Data Age?How Semantic Technology Can Stay Relevant in the Big Data Age?
How Semantic Technology Can Stay Relevant in the Big Data Age?
ย 
Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]
ย 
1.1 core programming [understand computer storage and data types]
1.1 core programming [understand computer storage and data types]1.1 core programming [understand computer storage and data types]
1.1 core programming [understand computer storage and data types]
ย 
Cis 328 Enhance teaching-snaptutorial.com
Cis 328 Enhance teaching-snaptutorial.comCis 328 Enhance teaching-snaptutorial.com
Cis 328 Enhance teaching-snaptutorial.com
ย 
cis 328 Education Organization - snaptutorial.com
cis 328  Education Organization - snaptutorial.comcis 328  Education Organization - snaptutorial.com
cis 328 Education Organization - snaptutorial.com
ย 
Cis 328 Education Specialist -snaptutorial.com
Cis 328   Education Specialist -snaptutorial.comCis 328   Education Specialist -snaptutorial.com
Cis 328 Education Specialist -snaptutorial.com
ย 
Lect07
Lect07Lect07
Lect07
ย 
Cis 328 Exceptional Education / snaptutorial.com
Cis 328   Exceptional Education / snaptutorial.comCis 328   Exceptional Education / snaptutorial.com
Cis 328 Exceptional Education / snaptutorial.com
ย 
Data Structure and Algorithms โ€“Introduction.pptx
Data Structure and Algorithms โ€“Introduction.pptxData Structure and Algorithms โ€“Introduction.pptx
Data Structure and Algorithms โ€“Introduction.pptx
ย 
Abstraction file
Abstraction fileAbstraction file
Abstraction file
ย 
Cis 328 Effective Communication - snaptutorial.com
Cis 328  Effective Communication - snaptutorial.comCis 328  Effective Communication - snaptutorial.com
Cis 328 Effective Communication - snaptutorial.com
ย 

Viewers also liked

Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Muhammad Hammad Waseem
ย 
Geo-referenced human-activity-data; access, processing and knowledge extraction
Geo-referenced human-activity-data; access, processing and knowledge extractionGeo-referenced human-activity-data; access, processing and knowledge extraction
Geo-referenced human-activity-data; access, processing and knowledge extractionConor Mc Elhinney
ย 
Managing employee training records for ISO 9001 compliance
Managing employee training records for ISO 9001 complianceManaging employee training records for ISO 9001 compliance
Managing employee training records for ISO 9001 compliancesundaybizsys
ย 
Metadata for Musicians: session 1
Metadata for Musicians: session 1Metadata for Musicians: session 1
Metadata for Musicians: session 1Kristin Thomson
ย 
Computer notes - data structures
Computer notes - data structuresComputer notes - data structures
Computer notes - data structuresecomputernotes
ย 
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...ALATechSource
ย 
DataBase ch2
DataBase ch2DataBase ch2
DataBase ch2ayman_alawin
ย 
Cataloging in 3-D: Three-Dimensional Artifacts and Realia
Cataloging in 3-D: Three-Dimensional Artifacts and RealiaCataloging in 3-D: Three-Dimensional Artifacts and Realia
Cataloging in 3-D: Three-Dimensional Artifacts and RealiaEmily Nimsakont
ย 
Using metadata repositories with search
Using metadata repositories with searchUsing metadata repositories with search
Using metadata repositories with searchJean Graef
ย 
Connecting with Students and Faculty through Personal and Embedded Librarianship
Connecting with Students and Faculty through Personal and Embedded LibrarianshipConnecting with Students and Faculty through Personal and Embedded Librarianship
Connecting with Students and Faculty through Personal and Embedded LibrarianshipALATechSource
ย 
Overview of Database and Database Management
Overview of Database and Database ManagementOverview of Database and Database Management
Overview of Database and Database ManagementMayuree Srikulwong
ย 
1st 5 minutes
1st 5 minutes1st 5 minutes
1st 5 minutesElseSpace
ย 
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board ExamsC++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Examshishamrizvi
ย 
CSCI 383 Lecture 3 and 4: Abstraction
CSCI 383 Lecture 3 and 4: AbstractionCSCI 383 Lecture 3 and 4: Abstraction
CSCI 383 Lecture 3 and 4: AbstractionJI Ruan
ย 
Data Strategies: Metadata, Open Data, Linked Data
Data Strategies: Metadata, Open Data, Linked DataData Strategies: Metadata, Open Data, Linked Data
Data Strategies: Metadata, Open Data, Linked DataSemantic Web Company
ย 
CSCI-383 Lecture 3-4: Abstraction
CSCI-383 Lecture 3-4: AbstractionCSCI-383 Lecture 3-4: Abstraction
CSCI-383 Lecture 3-4: AbstractionJI Ruan
ย 
Self-organized Teams in 5 minutes
Self-organized Teams in 5 minutesSelf-organized Teams in 5 minutes
Self-organized Teams in 5 minutesHรฅkan Kleijn
ย 

Viewers also liked (20)

Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]
ย 
Geo-referenced human-activity-data; access, processing and knowledge extraction
Geo-referenced human-activity-data; access, processing and knowledge extractionGeo-referenced human-activity-data; access, processing and knowledge extraction
Geo-referenced human-activity-data; access, processing and knowledge extraction
ย 
Descriptive Cataloging of Scores in RDA
Descriptive Cataloging of Scores in RDADescriptive Cataloging of Scores in RDA
Descriptive Cataloging of Scores in RDA
ย 
Database
DatabaseDatabase
Database
ย 
Managing employee training records for ISO 9001 compliance
Managing employee training records for ISO 9001 complianceManaging employee training records for ISO 9001 compliance
Managing employee training records for ISO 9001 compliance
ย 
Metadata for Musicians: session 1
Metadata for Musicians: session 1Metadata for Musicians: session 1
Metadata for Musicians: session 1
ย 
Computer notes - data structures
Computer notes - data structuresComputer notes - data structures
Computer notes - data structures
ย 
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...
Snyder Kishimoto: RDA for Music: Popular Music, Jazz, and World Music Audio R...
ย 
DataBase ch2
DataBase ch2DataBase ch2
DataBase ch2
ย 
What is "data"?
What is "data"?What is "data"?
What is "data"?
ย 
Cataloging in 3-D: Three-Dimensional Artifacts and Realia
Cataloging in 3-D: Three-Dimensional Artifacts and RealiaCataloging in 3-D: Three-Dimensional Artifacts and Realia
Cataloging in 3-D: Three-Dimensional Artifacts and Realia
ย 
Using metadata repositories with search
Using metadata repositories with searchUsing metadata repositories with search
Using metadata repositories with search
ย 
Connecting with Students and Faculty through Personal and Embedded Librarianship
Connecting with Students and Faculty through Personal and Embedded LibrarianshipConnecting with Students and Faculty through Personal and Embedded Librarianship
Connecting with Students and Faculty through Personal and Embedded Librarianship
ย 
Overview of Database and Database Management
Overview of Database and Database ManagementOverview of Database and Database Management
Overview of Database and Database Management
ย 
1st 5 minutes
1st 5 minutes1st 5 minutes
1st 5 minutes
ย 
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board ExamsC++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
C++ Notes by Hisham Ahmed Rizvi for Class 12th Board Exams
ย 
CSCI 383 Lecture 3 and 4: Abstraction
CSCI 383 Lecture 3 and 4: AbstractionCSCI 383 Lecture 3 and 4: Abstraction
CSCI 383 Lecture 3 and 4: Abstraction
ย 
Data Strategies: Metadata, Open Data, Linked Data
Data Strategies: Metadata, Open Data, Linked DataData Strategies: Metadata, Open Data, Linked Data
Data Strategies: Metadata, Open Data, Linked Data
ย 
CSCI-383 Lecture 3-4: Abstraction
CSCI-383 Lecture 3-4: AbstractionCSCI-383 Lecture 3-4: Abstraction
CSCI-383 Lecture 3-4: Abstraction
ย 
Self-organized Teams in 5 minutes
Self-organized Teams in 5 minutesSelf-organized Teams in 5 minutes
Self-organized Teams in 5 minutes
ย 

Similar to Data structure

JAVA PROGRAMMING
JAVA PROGRAMMING JAVA PROGRAMMING
JAVA PROGRAMMING Niyitegekabilly
ย 
chapter - 1.ppt
chapter - 1.pptchapter - 1.ppt
chapter - 1.pptSakthiVinoth78
ย 
JAVA PROGRAMMINGD
JAVA PROGRAMMINGDJAVA PROGRAMMINGD
JAVA PROGRAMMINGDNiyitegekabilly
ย 
Knowledge Discovery & Representation
Knowledge Discovery & RepresentationKnowledge Discovery & Representation
Knowledge Discovery & RepresentationDarshan Patil
ย 
Unit 1 OOSE
Unit 1 OOSE Unit 1 OOSE
Unit 1 OOSE ChhayaShelake
ย 
Introduction to odbms
Introduction to odbmsIntroduction to odbms
Introduction to odbmsajay pashankar
ย 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1Sonia Mim
ย 
Object Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxObject Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxparveen837153
ย 
C++Day-1 Introduction.ppt
C++Day-1 Introduction.pptC++Day-1 Introduction.ppt
C++Day-1 Introduction.pptcitizen15
ย 
Top 30 Technical interview questions
Top 30 Technical interview questionsTop 30 Technical interview questions
Top 30 Technical interview questionsSohailSaifi15
ย 
Ontology-based Semantic Approach for Learning Object Recommendation
Ontology-based Semantic Approach for Learning Object RecommendationOntology-based Semantic Approach for Learning Object Recommendation
Ontology-based Semantic Approach for Learning Object RecommendationIDES Editor
ย 
data structures and its importance
 data structures and its importance  data structures and its importance
data structures and its importance Anaya Zafar
ย 
Oo ps concepts in c++
Oo ps concepts in c++Oo ps concepts in c++
Oo ps concepts in c++Hemant Saini
ย 
c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptxPadmaN24
ย 
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...Michael Derntl
ย 

Similar to Data structure (20)

JAVA PROGRAMMING
JAVA PROGRAMMING JAVA PROGRAMMING
JAVA PROGRAMMING
ย 
Birasa 1
Birasa 1Birasa 1
Birasa 1
ย 
chapter - 1.ppt
chapter - 1.pptchapter - 1.ppt
chapter - 1.ppt
ย 
JAVA PROGRAMMINGD
JAVA PROGRAMMINGDJAVA PROGRAMMINGD
JAVA PROGRAMMINGD
ย 
Data models
Data modelsData models
Data models
ย 
Knowledge Discovery & Representation
Knowledge Discovery & RepresentationKnowledge Discovery & Representation
Knowledge Discovery & Representation
ย 
Unit 1 OOSE
Unit 1 OOSE Unit 1 OOSE
Unit 1 OOSE
ย 
Introduction to odbms
Introduction to odbmsIntroduction to odbms
Introduction to odbms
ย 
C++(introduction)
C++(introduction)C++(introduction)
C++(introduction)
ย 
Database Management System, Lecture-1
Database Management System, Lecture-1Database Management System, Lecture-1
Database Management System, Lecture-1
ย 
OOP
OOPOOP
OOP
ย 
Object Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxObject Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptx
ย 
Oops concepts
Oops conceptsOops concepts
Oops concepts
ย 
C++Day-1 Introduction.ppt
C++Day-1 Introduction.pptC++Day-1 Introduction.ppt
C++Day-1 Introduction.ppt
ย 
Top 30 Technical interview questions
Top 30 Technical interview questionsTop 30 Technical interview questions
Top 30 Technical interview questions
ย 
Ontology-based Semantic Approach for Learning Object Recommendation
Ontology-based Semantic Approach for Learning Object RecommendationOntology-based Semantic Approach for Learning Object Recommendation
Ontology-based Semantic Approach for Learning Object Recommendation
ย 
data structures and its importance
 data structures and its importance  data structures and its importance
data structures and its importance
ย 
Oo ps concepts in c++
Oo ps concepts in c++Oo ps concepts in c++
Oo ps concepts in c++
ย 
c++session 1.pptx
c++session 1.pptxc++session 1.pptx
c++session 1.pptx
ย 
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...
Propelling Standards-based Sharing and Reuse in Instructional Modeling Commun...
ย 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
ย 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
ย 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
ย 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
ย 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
ย 
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdfssuser54595a
ย 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
ย 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
ย 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
ย 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
ย 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
ย 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
ย 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
ย 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
ย 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
ย 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
ย 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
ย 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
ย 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ย 
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
ย 
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAะกY_INDEX-DM_23-1-final-eng.pdf
ย 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
ย 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
ย 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
ย 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)โ€”โ€”โ€”โ€”IMP.OF KSHARA ...
ย 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
ย 

Data structure

  • 1. 1 Lecture 1 Abstract Data Type and Object Oriented Programming
  • 2. 2 Data and Information ๎€Š Data are plain facts ๎€Š Abul 172 85 ๎€Š Processed, organized, presented data that convey some meaning are information ๎€Š Abul is 172 cm tall and his weight is 85 KG ๎€Š Data Structure ๎€Š The way/technique of storing/organizing data so that it can be processed efficiently
  • 3. 3 Data types and variables ๎€Š Variables are like boxes ๎€Š We can store items in them ๎€Š Add more, take off items as needed ๎€Š Different items need different type of boxes to store them ๎€Š Tea stall analogy ๎€Š Data types define the type of the data, range of values that can be stored in them and operations that are allowed on them
  • 4. 4 Primitive Data Types ๎€Š Built in data types โ€“ basic building blocks ๎€Š C/C++ has the following primitive data types: ๎€Š char ๎€Š short ๎€Š int ๎€Š long ๎€Š long long ๎€Š float ๎€Š double ๎€Š long double
  • 5. 5 Abstract Data Types (ADT) ๎€Š Mathematical model of a data type, not necessarily tied to any particular programming language ๎€Š Defines the abstract data structure for content ๎€Š Defines the operations that are permitted on them ๎€Š Examples: ๎€Š Student ๎€Š Queue
  • 6. 6 Programming Techniques or Paradigms ๎€Š Unstructured Programming ๎€Š Main program working directly on global data ๎€Š Procedural Programming ๎€Š Related, meaningful and repeatable statements grouped into procedures and called as needed ๎€Š Modular Programming ๎€Š Procedures of common purposes grouped together into modules ๎€Š Object Oriented Programming ๎€Š Centered around the objects that interact with each other
  • 7. 7 Key OOP Concepts ๎€Š Class ๎€Š An idea ๎€Š An actual representation of an ADT ๎€Š Object ๎€Š A real existence ๎€Š An instance of a class ๎€Š Example: ๎€Š Class is a blueprint that architects produce ๎€Š Objects are the buildings that builders build
  • 8. 8 OOP Concepts โ€ฆ continued ๎€Š Abstraction ๎€Š Hiding details that you need not be aware of ๎€Š Encapsulation ๎€Š Access to data is only permitted through defined methods ๎€Š Relations ๎€Š Is-a ๎€Š Part-of ๎€Š Has-a
  • 9. 9 Inheritance ๎€Š Base class or Super class ๎€Š Derived class or Sub class ๎€Š Data members (attributes) and methods can be inherited ๎€Š Access modifiers can be used to control inheritance
  • 10. 10 Access modifiers ๎€Š Private ๎€Š Protected ๎€Š Public ๎€Š Mailbox, Television and Safe analogy ๎€Š Usual practice is to keep data members private and methods public
  • 11. 11 Polymorphism ๎€Š Base classes' pointer can be used to refer to sub classes object ๎€Š Why is it useful?