SlideShare a Scribd company logo
1 of 14
CSE 219
Object oriented Paradigm and
Programming
By
G.SasiKumar., M.E., (Ph.D).,
Assistant Professor
School of Computing Science and Engineering
VIT University
09/04/131 VIT - SCSE
 Instructor
 G. Sasi Kumar , sasichief@gmail.com
 Venue : SJT – 302
 Textbook
 K.R. Venugopal, T. Ravishankar, and Rajkumar,
"Mastering C++”, Tata McGraw Hill, 2008 .
 Requirements
 Homework x2 5% (do not copy)
 CAT 30%
 Quiz & Oral presentation 15%
 Final exam 50%
Course Webpage
intranet.vit.ac.in
https://www.facebook.com/groups/oopskg2013/
Mail: oopskg2013@groups.facebook.com
Office: SasiKumar Gurumurthy
 SJT -310-A08
 mobile:8870919338
 g.sasikumar@vit.ac.in
Software
1. System software
2. Application software
System software: Directly interacts with the computer
system. Operating system, compiler, interpreter are
examples for this.
Application software: All the programs written by a
user with the help of any software is called as application
software.
09/04/134 VIT - SCSE
Introduction to Programming
Languages
The shift in programming language is categorized as
following:
1. Monolithic Programming
2. Procedural Programming
3. Structural Programming
4. Object Oriented Programming
09/04/135 VIT - SCSE
Monolithic Programming
This programming consists only global data and sequential
code.
Assembly language and BASIC
09/04/136 VIT - SCSE
Procedural Oriented Programming
Mainly comprises of algorithms.
FORTRAN and COBOL
The important features of Procedural Programming are
Emphasis is on doing things (algorithms)
Large programs are divided into smaller programs known as
functions.
Most of the functions share global data
Data move openly around the system from function to function
Functions transform data from one form to another
Employs top-down approach in program design
09/04/137 VIT - SCSE
Structured programming
Pascal and C
Structured programming is based upon the algorithm rather than
data
Programs are divided into individual modules that perform
different task.
Introduction of user defined data types
09/04/138 VIT - SCSE
Object Oriented Programming
C++, Smalltalk, Eiffel, Java, C# etc.
Object oriented programming is a programming
methodology that associates data structures with a set of
operators, which act upon it.
Depending on the object features supported, the languages are
classified into two categories:
Object-Based Programming Languages
Object-Oriented Programming Languages
09/04/139 VIT - SCSE
Object-based programming languages support encapsulation
and object identity without supporting inheritance, polymorphism
and message communications.
Example ADA.
Object – Based language = Encapsulation + Object Identity
Object-Oriented Programming Language incorporate all the
features of object-based programming languages along with
inheritance and polymorphism.
Object-oriented programming language = Object Based
Language + Polymorphism +Inheritance
09/04/1310 VIT - SCSE
Features of Object oriented Programming
Improvement of over the structured programming languages.
Emphasis on data rather than algorithm
Data is hidden and cannot be accessed by external functions
Objects may communicate with each other through functions
New data and functions can be easily added whenever
necessary
Follows bottom –up approach in program design
09/04/1311 VIT - SCSE
Basic concepts of object oriented
programming
Objects – data and function
Classes
Data Abstraction : the act of representing essential features
without including the background details or explanations.
Encapsulation – data and function into a single unit
Inheritance
Polymorphism
Message Passing : It is the process of invoking an operation
on an object.
Ex: ob.add(50);
09/04/1312 VIT - SCSE
Advantages of OOP
Through inheritance we can eliminate redundant
(Unnecessary) code and extend the use of existing classes.
The principle of data hiding helps for security.
It is possible to have multiple objects.
It is easy to partition the work in a project based on objects.
Object-oriented systems can be easily upgraded from small to
large systems.
Message passing techniques for communication between
objects
Code reuse is possible.
09/04/1313 VIT - SCSE
Applications of OOP
Real time systems
Simulation and modeling
Object oriented databases
Hypertext and hypermedia
AI and expert systems
Neural networks and parallel programming
Office automation systems
CIM / CAM / CAD systems
09/04/1314 VIT - SCSE

More Related Content

What's hot

the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
Aida Ramlan II
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
farhan amjad
 

What's hot (20)

OOPS Basics With Example
OOPS Basics With ExampleOOPS Basics With Example
OOPS Basics With Example
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Python Seminar PPT
Python Seminar PPTPython Seminar PPT
Python Seminar PPT
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Introduction to fragments in android
Introduction to fragments in androidIntroduction to fragments in android
Introduction to fragments in android
 
Constructor ppt
Constructor pptConstructor ppt
Constructor ppt
 
Pointers in c++
Pointers in c++Pointers in c++
Pointers in c++
 
Java
JavaJava
Java
 
Object oriented programming in python
Object oriented programming in pythonObject oriented programming in python
Object oriented programming in python
 
[OOP - Lec 19] Static Member Functions
[OOP - Lec 19] Static Member Functions[OOP - Lec 19] Static Member Functions
[OOP - Lec 19] Static Member Functions
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
Object oriented programming with python
Object oriented programming with pythonObject oriented programming with python
Object oriented programming with python
 
Polymorphism in c++(ppt)
Polymorphism in c++(ppt)Polymorphism in c++(ppt)
Polymorphism in c++(ppt)
 
Android User Interface
Android User InterfaceAndroid User Interface
Android User Interface
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
Basics of C programming
Basics of C programmingBasics of C programming
Basics of C programming
 
Java package
Java packageJava package
Java package
 
Java vs python
Java vs pythonJava vs python
Java vs python
 

Similar to 1 Intro Object Oriented Programming

Anusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YR
Anusha S
 
Resume-Sundar MR
Resume-Sundar MRResume-Sundar MR
Resume-Sundar MR
Sundar M R
 
(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015
Farashath Basha
 
Anil Kumar Rai
Anil Kumar RaiAnil Kumar Rai
Anil Kumar Rai
anil rai
 
Gib_resume_1_28_15
Gib_resume_1_28_15Gib_resume_1_28_15
Gib_resume_1_28_15
Gib Smith
 

Similar to 1 Intro Object Oriented Programming (20)

Anusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YRAnusha_CV_TSQL_3YR
Anusha_CV_TSQL_3YR
 
JelitaAsianCV
JelitaAsianCVJelitaAsianCV
JelitaAsianCV
 
Apurva_resume
Apurva_resumeApurva_resume
Apurva_resume
 
Resume
ResumeResume
Resume
 
Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"Web meeting tools in the "SUNY Nebula"
Web meeting tools in the "SUNY Nebula"
 
Oose lab notes
Oose lab notesOose lab notes
Oose lab notes
 
Dhinakar raj
Dhinakar rajDhinakar raj
Dhinakar raj
 
Crime file
Crime fileCrime file
Crime file
 
Resume-Sundar MR
Resume-Sundar MRResume-Sundar MR
Resume-Sundar MR
 
arijit_resume_jan (1)
arijit_resume_jan (1)arijit_resume_jan (1)
arijit_resume_jan (1)
 
(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015(696558749) Farashath_Resume_28-11-2015
(696558749) Farashath_Resume_28-11-2015
 
JAYALAKSHMI RESUME
JAYALAKSHMI  RESUMEJAYALAKSHMI  RESUME
JAYALAKSHMI RESUME
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
Synopsis of online Attendance System
Synopsis of online Attendance SystemSynopsis of online Attendance System
Synopsis of online Attendance System
 
Amalesh Resume
Amalesh ResumeAmalesh Resume
Amalesh Resume
 
Anil Kumar Rai
Anil Kumar RaiAnil Kumar Rai
Anil Kumar Rai
 
Ahmed Motair CV 2020
Ahmed Motair CV 2020Ahmed Motair CV 2020
Ahmed Motair CV 2020
 
Resume summer17
Resume summer17Resume summer17
Resume summer17
 
resume
resumeresume
resume
 
Gib_resume_1_28_15
Gib_resume_1_28_15Gib_resume_1_28_15
Gib_resume_1_28_15
 

More from Docent Education (15)

17 files and streams
17 files and streams17 files and streams
17 files and streams
 
16 virtual function
16 virtual function16 virtual function
16 virtual function
 
14 operator overloading
14 operator overloading14 operator overloading
14 operator overloading
 
13 exception handling
13 exception handling13 exception handling
13 exception handling
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
 
12 constructors invocation and data members initialization
12 constructors invocation and data members initialization12 constructors invocation and data members initialization
12 constructors invocation and data members initialization
 
11 constructors in derived classes
11 constructors in derived classes11 constructors in derived classes
11 constructors in derived classes
 
10 inheritance
10 inheritance10 inheritance
10 inheritance
 
7 class objects
7 class objects7 class objects
7 class objects
 
6 pointers functions
6 pointers functions6 pointers functions
6 pointers functions
 
5 array
5 array5 array
5 array
 
4 Type conversion functions
4 Type conversion functions4 Type conversion functions
4 Type conversion functions
 
3 intro basic_elements
3 intro basic_elements3 intro basic_elements
3 intro basic_elements
 
2 Intro c++
2 Intro c++2 Intro c++
2 Intro c++
 
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 

1 Intro Object Oriented Programming

  • 1. CSE 219 Object oriented Paradigm and Programming By G.SasiKumar., M.E., (Ph.D)., Assistant Professor School of Computing Science and Engineering VIT University 09/04/131 VIT - SCSE
  • 2.  Instructor  G. Sasi Kumar , sasichief@gmail.com  Venue : SJT – 302  Textbook  K.R. Venugopal, T. Ravishankar, and Rajkumar, "Mastering C++”, Tata McGraw Hill, 2008 .  Requirements  Homework x2 5% (do not copy)  CAT 30%  Quiz & Oral presentation 15%  Final exam 50%
  • 4. Software 1. System software 2. Application software System software: Directly interacts with the computer system. Operating system, compiler, interpreter are examples for this. Application software: All the programs written by a user with the help of any software is called as application software. 09/04/134 VIT - SCSE
  • 5. Introduction to Programming Languages The shift in programming language is categorized as following: 1. Monolithic Programming 2. Procedural Programming 3. Structural Programming 4. Object Oriented Programming 09/04/135 VIT - SCSE
  • 6. Monolithic Programming This programming consists only global data and sequential code. Assembly language and BASIC 09/04/136 VIT - SCSE
  • 7. Procedural Oriented Programming Mainly comprises of algorithms. FORTRAN and COBOL The important features of Procedural Programming are Emphasis is on doing things (algorithms) Large programs are divided into smaller programs known as functions. Most of the functions share global data Data move openly around the system from function to function Functions transform data from one form to another Employs top-down approach in program design 09/04/137 VIT - SCSE
  • 8. Structured programming Pascal and C Structured programming is based upon the algorithm rather than data Programs are divided into individual modules that perform different task. Introduction of user defined data types 09/04/138 VIT - SCSE
  • 9. Object Oriented Programming C++, Smalltalk, Eiffel, Java, C# etc. Object oriented programming is a programming methodology that associates data structures with a set of operators, which act upon it. Depending on the object features supported, the languages are classified into two categories: Object-Based Programming Languages Object-Oriented Programming Languages 09/04/139 VIT - SCSE
  • 10. Object-based programming languages support encapsulation and object identity without supporting inheritance, polymorphism and message communications. Example ADA. Object – Based language = Encapsulation + Object Identity Object-Oriented Programming Language incorporate all the features of object-based programming languages along with inheritance and polymorphism. Object-oriented programming language = Object Based Language + Polymorphism +Inheritance 09/04/1310 VIT - SCSE
  • 11. Features of Object oriented Programming Improvement of over the structured programming languages. Emphasis on data rather than algorithm Data is hidden and cannot be accessed by external functions Objects may communicate with each other through functions New data and functions can be easily added whenever necessary Follows bottom –up approach in program design 09/04/1311 VIT - SCSE
  • 12. Basic concepts of object oriented programming Objects – data and function Classes Data Abstraction : the act of representing essential features without including the background details or explanations. Encapsulation – data and function into a single unit Inheritance Polymorphism Message Passing : It is the process of invoking an operation on an object. Ex: ob.add(50); 09/04/1312 VIT - SCSE
  • 13. Advantages of OOP Through inheritance we can eliminate redundant (Unnecessary) code and extend the use of existing classes. The principle of data hiding helps for security. It is possible to have multiple objects. It is easy to partition the work in a project based on objects. Object-oriented systems can be easily upgraded from small to large systems. Message passing techniques for communication between objects Code reuse is possible. 09/04/1313 VIT - SCSE
  • 14. Applications of OOP Real time systems Simulation and modeling Object oriented databases Hypertext and hypermedia AI and expert systems Neural networks and parallel programming Office automation systems CIM / CAM / CAD systems 09/04/1314 VIT - SCSE