Introduction to
Object Oriented
Programming
Mrs. K. V. Joshi
Assistant Professor
SITCOE
Procedure/ Structure Oriented
Programming
 Conventional programming, using high level languages such as
COBOL, FORTRAN and C, is commonly known as procedure-
oriented programming (POP) .
 In the procedure-oriented approach, the problem is viewed as a
sequence of things to be done such as reading, calculating and
printing. A number of functions are written to accomplish these
tasks .
 The primary focus is on functions :
Object Oriented Programming
 Emphasis is on data rather than procedure.
 Programs are divided into what are known as objects.
 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
Basic Concepts of OOP
Objects :
 Objects are the basic runtime entities in an object oriented
system. They may represent a person, a place, a bank account, a
table of data or any item that the program has to handle
 Class
 Object contains data, and code to manipulate that data. The
entire set of data and code of an object can be made a user-
defined data type with the help of a class
 A Class is a 3-Compartment Box encapsulating Data and
Functions
1. Classname (or identifier): identifies the class.
2. Data Members or Variables (or attributes, states, fields):
contains the static attributes of the class.
(or methods, behaviors, operations):
3. Member Functions
contains the dynamic operations of the class.
Data Encapsulation
 The wrapping up of data and functions into a single unit is
known as encapsulation.
 The data is not accessible to the outside world, only those
function which are wrapped in the can access it.
 These functions provide the interface between the object’s data
and the program.
 This insulation of the data from direct access by the program is
called data hiding or information hiding.
Data Abstraction
 Abstraction refers to the act of representing essential features
without including the background details or explanations.
 Since classes use the concept of data abstraction, they are known
as Abstract Data Types (ADT)
Inheritance
 Inheritance is the process by which objects of one class acquire
the properties of objects of another class.
 In OOP, the concept of inheritance provides the idea of
reusability. This means we can add additional features to an
existing class without modifying it.
Types of Inheritance:
Polymorphism
 Polymorphism, a Greek term means to ability to take more than
one form.
 An operation may exhibits different behaviors in different
instances. The behavior depends upon the type of data used in
the operation.
 For example consider the operation of addition for two numbers;
the operation will generate a sum. If the operands are string then
the operation would produce a third string by concatenation.
 The process of making an operator to exhibit different behavior
in different instances is known operator overloading
Benefits of OOP
OOP offers several benefits to both the program designer & the user
 Through inheritance, we can eliminate redundant code and extend
the use of existing class
 We can build programs from the standard working module the
communicate with one another, rather than having to start writing
code from scratch. This leads to saving of development time &
higher productivity.
 The principle of data hiding helps the programmer to build &
secure programs that cannot be invaded by code in other parts of
the program.
 It is possible to map objects in the problem domain to those in the
program
 It is easy to partition the work in a project based on objects
 The data-centered design approach enables us to capture more
details of a model in implementable form.
.
Benefits of OOP
 Object-oriented systems can be easily upgraded from small to large
systems.
 Message passing techniques for communication between objects
makes the interface descriptions with external systems much simpler.
 Software complexity can be easily managed .
While it is possible to incorporate all these features in an object-
oriented system, their importance depends on the type of the
project and the preference of the programmer. There are a number of
issues that need to be tackled to reap some of the benefits stated
above. For instance, object libraries must be available for reuse. The
technology is still developing and current
products may be superseded quickly. Strict controls and
protocols need to be developed if reuse is not to be
compromised.
Applications of OOP
Real-business systems are often much more complex and contain
many more objects with complicated attributes and methods.
OOP is useful in these types of applications because it can
simplify a complex problem. The promising areas for application
of OOP include:
 Real-time systems
 Simulation and modeling
 Object-oriented databases
 Hypertext, hypermedia and expertext
 Al and expert systems
 Neural networks and parallel programming
 Decision support and office automation systems
 CIM/CAM/CAD systems

More Related Content

PDF
OOP ppt.pdf
PPTX
Object Oriented Programming using C++.pptx
DOC
Chapter1
PPT
Programming In C++
PPT
chapter - 1.ppt
PPTX
POP vs OOP Introduction
PDF
OOPS_Unit_1
PPTX
Software_Engineering_Presentation (1).pptx
OOP ppt.pdf
Object Oriented Programming using C++.pptx
Chapter1
Programming In C++
chapter - 1.ppt
POP vs OOP Introduction
OOPS_Unit_1
Software_Engineering_Presentation (1).pptx

Similar to OOP.pptx (20)

PPTX
fileE_1722655797_5000762_Unit-1OOPS.pptx
DOCX
LECTURE NOTES ON Object Oriented Programming Using C++
PDF
Object Oriented Programming Lecture Notes
PPTX
Chapter1 introduction
PDF
Computer_Programming_Part_II_Segment_01.pdf
DOC
Introduction to OOPs Concept- Features, Basic concepts, Benefits and Applicat...
PDF
22601221182_RAHUL_MODAK_BCAC301.pdf
PPTX
Object Oriented Programming intro Lecture 1.pptx
PPTX
Introduction to Object Oriented Programming.pptx
PDF
C++ notes.pdf
PPTX
Introduction to object oriented language
PPT
Bca 2nd sem u-1 iintroduction
PPT
Basic concept of OOP's
PPTX
Object Oriented programming - Introduction
PDF
Object oriented concepts
PPTX
Principles of oop
PPT
Mca 2 sem u-1 iintroduction
PPTX
Chapter 04 object oriented programming
PDF
chapter-6-oops.pdf
PDF
C++ & VISUAL C++
fileE_1722655797_5000762_Unit-1OOPS.pptx
LECTURE NOTES ON Object Oriented Programming Using C++
Object Oriented Programming Lecture Notes
Chapter1 introduction
Computer_Programming_Part_II_Segment_01.pdf
Introduction to OOPs Concept- Features, Basic concepts, Benefits and Applicat...
22601221182_RAHUL_MODAK_BCAC301.pdf
Object Oriented Programming intro Lecture 1.pptx
Introduction to Object Oriented Programming.pptx
C++ notes.pdf
Introduction to object oriented language
Bca 2nd sem u-1 iintroduction
Basic concept of OOP's
Object Oriented programming - Introduction
Object oriented concepts
Principles of oop
Mca 2 sem u-1 iintroduction
Chapter 04 object oriented programming
chapter-6-oops.pdf
C++ & VISUAL C++
Ad

Recently uploaded (20)

PPTX
Full-Stack Developer Courses That Actually Land You Jobs
PPTX
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
most interesting chapter in the world ppt
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Airline CRS | Airline CRS Systems | CRS System
PDF
BoxLang Dynamic AWS Lambda - Japan Edition
PPTX
Cybersecurity: Protecting the Digital World
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
Website Design Services for Small Businesses.pdf
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
Full-Stack Developer Courses That Actually Land You Jobs
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
Tech Workshop Escape Room Tech Workshop
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
most interesting chapter in the world ppt
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Autodesk AutoCAD Crack Free Download 2025
Airline CRS | Airline CRS Systems | CRS System
BoxLang Dynamic AWS Lambda - Japan Edition
Cybersecurity: Protecting the Digital World
Wondershare Recoverit Full Crack New Version (Latest 2025)
Website Design Services for Small Businesses.pdf
Practical Indispensable Project Management Tips for Delivering Successful Exp...
CCleaner 6.39.11548 Crack 2025 License Key
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
Ad

OOP.pptx

  • 1. Introduction to Object Oriented Programming Mrs. K. V. Joshi Assistant Professor SITCOE
  • 2. Procedure/ Structure Oriented Programming  Conventional programming, using high level languages such as COBOL, FORTRAN and C, is commonly known as procedure- oriented programming (POP) .  In the procedure-oriented approach, the problem is viewed as a sequence of things to be done such as reading, calculating and printing. A number of functions are written to accomplish these tasks .  The primary focus is on functions :
  • 3. Object Oriented Programming  Emphasis is on data rather than procedure.  Programs are divided into what are known as objects.  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
  • 4. Basic Concepts of OOP Objects :  Objects are the basic runtime entities in an object oriented system. They may represent a person, a place, a bank account, a table of data or any item that the program has to handle
  • 5.  Class  Object contains data, and code to manipulate that data. The entire set of data and code of an object can be made a user- defined data type with the help of a class
  • 6.  A Class is a 3-Compartment Box encapsulating Data and Functions 1. Classname (or identifier): identifies the class. 2. Data Members or Variables (or attributes, states, fields): contains the static attributes of the class. (or methods, behaviors, operations): 3. Member Functions contains the dynamic operations of the class.
  • 7. Data Encapsulation  The wrapping up of data and functions into a single unit is known as encapsulation.  The data is not accessible to the outside world, only those function which are wrapped in the can access it.  These functions provide the interface between the object’s data and the program.  This insulation of the data from direct access by the program is called data hiding or information hiding. Data Abstraction  Abstraction refers to the act of representing essential features without including the background details or explanations.  Since classes use the concept of data abstraction, they are known as Abstract Data Types (ADT)
  • 8. Inheritance  Inheritance is the process by which objects of one class acquire the properties of objects of another class.  In OOP, the concept of inheritance provides the idea of reusability. This means we can add additional features to an existing class without modifying it. Types of Inheritance:
  • 9. Polymorphism  Polymorphism, a Greek term means to ability to take more than one form.  An operation may exhibits different behaviors in different instances. The behavior depends upon the type of data used in the operation.  For example consider the operation of addition for two numbers; the operation will generate a sum. If the operands are string then the operation would produce a third string by concatenation.  The process of making an operator to exhibit different behavior in different instances is known operator overloading
  • 10. Benefits of OOP OOP offers several benefits to both the program designer & the user  Through inheritance, we can eliminate redundant code and extend the use of existing class  We can build programs from the standard working module the communicate with one another, rather than having to start writing code from scratch. This leads to saving of development time & higher productivity.  The principle of data hiding helps the programmer to build & secure programs that cannot be invaded by code in other parts of the program.  It is possible to map objects in the problem domain to those in the program  It is easy to partition the work in a project based on objects  The data-centered design approach enables us to capture more details of a model in implementable form. .
  • 11. Benefits of OOP  Object-oriented systems can be easily upgraded from small to large systems.  Message passing techniques for communication between objects makes the interface descriptions with external systems much simpler.  Software complexity can be easily managed . While it is possible to incorporate all these features in an object- oriented system, their importance depends on the type of the project and the preference of the programmer. There are a number of issues that need to be tackled to reap some of the benefits stated above. For instance, object libraries must be available for reuse. The technology is still developing and current products may be superseded quickly. Strict controls and protocols need to be developed if reuse is not to be compromised.
  • 12. Applications of OOP Real-business systems are often much more complex and contain many more objects with complicated attributes and methods. OOP is useful in these types of applications because it can simplify a complex problem. The promising areas for application of OOP include:  Real-time systems  Simulation and modeling  Object-oriented databases  Hypertext, hypermedia and expertext  Al and expert systems  Neural networks and parallel programming  Decision support and office automation systems  CIM/CAM/CAD systems