Object-Oriented ProgrammingObject-Oriented Programming
Basics And DifferenceBasics And Difference
Between OOP And POPBetween OOP And POP
Guided By :-Guided By :-
L. R. Muley Sir
(HOD)
Vaibhav Mehare
Sir
Swati Makode
Madam
Presented By :-Presented By :-
Abhiram A. Sadhu
Object Oriented ProgrammingObject Oriented Programming
Object oriented program is an
approach that provides a way of
modularizing programs by creating
partitioned memory area for both data
and function that used as templates for
creating copies of such modules on
demand.
Features of OOPFeatures of OOP
 Emphasis is on data rather than procedure .
 Programs are divided in to small modules known as
object.
 Data structures are designed such that they are
characterize the object.
 Function that operate on the data of an object are
tied together in the structure .
 New data and functions can be easily added
whenever necessary.
 Follows bottom up to approch in program designing.
Classes and ObjectsClasses and Objects
Class :
A class is a user defined data type which contains
data member and member function. The internal data of a
class is called data member and the function are called
member function. Classes are user defined data type and
behave like the in-build data types of a programming
language
Object :
Once a class has been declared we can create
variable of that type by using the class name. Objects are
basic run time entities, in object oriented system. When
program is executed, the objects interacts by sending
messages to one another.
Procedure OrientedProcedure Oriented
ProgrammingProgramming
In procedure oriented programming ( POP)
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 task. The primary focus
in on function.
Features of POPFeatures of POP
 Emphasis is given on procedure (Algorithm)
 Large programs are divided into smaller
programs known as functions.
 Most of the functions share global data.
 Data moves openly around the system from
function to function.
 Functions transforms data from one form to
another.
 Employs Top-Down approach in program
design.
Difference BetweenDifference Between
OOP & POPOOP & POP
* Procedure oriented
programming language is action
oriented.
* In procedural programming,
unit of programming is function.
* In procedure oriented
programming basically consists
of writing a list of instructions for
the computer to follow and
organizing these instructions into
group known as functions.
*Object oriented programming
language is data oriented.
* Object are usually instantiated.
* The data of an object can be
accessed only by the functions
associated with that object.
Cont…Cont…
*Data items are mainly placed in
global
* Global data are more open to an
accidential change by function.
*In a large program it is very
difficult what data is used by
which function in a large
program.
*In OOP data declare in both
global as well as local
* It ties data more closely to
functions that operate on it and
protects it from accidental
modification from outside
functions.
* An object is created as a
partitioned area of computer
memory that stores data and set
of operations that can access
that data.
AnyAny
??
Thank You
Thank You
Thank You
Thank You

Abhiram

  • 1.
    Object-Oriented ProgrammingObject-Oriented Programming BasicsAnd DifferenceBasics And Difference Between OOP And POPBetween OOP And POP Guided By :-Guided By :- L. R. Muley Sir (HOD) Vaibhav Mehare Sir Swati Makode Madam Presented By :-Presented By :- Abhiram A. Sadhu
  • 2.
    Object Oriented ProgrammingObjectOriented Programming Object oriented program is an approach that provides a way of modularizing programs by creating partitioned memory area for both data and function that used as templates for creating copies of such modules on demand.
  • 3.
    Features of OOPFeaturesof OOP  Emphasis is on data rather than procedure .  Programs are divided in to small modules known as object.  Data structures are designed such that they are characterize the object.  Function that operate on the data of an object are tied together in the structure .  New data and functions can be easily added whenever necessary.  Follows bottom up to approch in program designing.
  • 4.
    Classes and ObjectsClassesand Objects Class : A class is a user defined data type which contains data member and member function. The internal data of a class is called data member and the function are called member function. Classes are user defined data type and behave like the in-build data types of a programming language Object : Once a class has been declared we can create variable of that type by using the class name. Objects are basic run time entities, in object oriented system. When program is executed, the objects interacts by sending messages to one another.
  • 5.
    Procedure OrientedProcedure Oriented ProgrammingProgramming Inprocedure oriented programming ( POP) 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 task. The primary focus in on function.
  • 6.
    Features of POPFeaturesof POP  Emphasis is given on procedure (Algorithm)  Large programs are divided into smaller programs known as functions.  Most of the functions share global data.  Data moves openly around the system from function to function.  Functions transforms data from one form to another.  Employs Top-Down approach in program design.
  • 7.
    Difference BetweenDifference Between OOP& POPOOP & POP * Procedure oriented programming language is action oriented. * In procedural programming, unit of programming is function. * In procedure oriented programming basically consists of writing a list of instructions for the computer to follow and organizing these instructions into group known as functions. *Object oriented programming language is data oriented. * Object are usually instantiated. * The data of an object can be accessed only by the functions associated with that object.
  • 8.
    Cont…Cont… *Data items aremainly placed in global * Global data are more open to an accidential change by function. *In a large program it is very difficult what data is used by which function in a large program. *In OOP data declare in both global as well as local * It ties data more closely to functions that operate on it and protects it from accidental modification from outside functions. * An object is created as a partitioned area of computer memory that stores data and set of operations that can access that data.
  • 9.
  • 10.