Object Oriented Programming 
Name : Rahul Sharma 
Subject : C++ 
Subject Faculty : Mr. Brijesh Singh
Object Oriented Programming 
 To use Object oriented programming to make programs 
easier to develop in teams, more robust, and easier to 
debug. 
 To understand such features of object oriented programs 
as polymorphism, encapsulation, inheritance, and 
abstraction. 
 To be able to choose between different styles of 
programming for different purposes.
Programming Paradigm 
1) Monolithic Programming 
• Data variables declared are global and statements are 
written in sequence. 
• Global data can be accessed from any portion of 
program, so data is not protected. 
• Concept of sub program doesn’t exist. 
• Used for smaller programs. 
• Ex.: BASIC and ASSEMBLY LANGUAGE
2) Procedural Progarmming 
• Programs are divided into number of segments known as 
sub programs. 
• Different program having access to same global variable, 
so data is not fully protected. 
• Used to develop medium sixe application. 
• Ex.: FORTRAN and COBOL. 
3) Structured Programming 
• Layer program are develop using this paradigm. 
• Programs are divided into multiple segments or 
procedures. 
• Each procedure has to perform different task. 
• Modules access global data, so data is not fully 
protected. 
• User defined data type introduced. 
• EX.: PASCAL and C.
4) Objected Oriented Programing 
• Pays more importance to data then to function. 
• Programs are divided into classes and their numbers. 
• New data items & functions can be accessing external 
function. 
• Objects can communicate with each other through 
functions.
Object oriented programming

Object oriented programming

  • 1.
    Object Oriented Programming Name : Rahul Sharma Subject : C++ Subject Faculty : Mr. Brijesh Singh
  • 2.
    Object Oriented Programming  To use Object oriented programming to make programs easier to develop in teams, more robust, and easier to debug.  To understand such features of object oriented programs as polymorphism, encapsulation, inheritance, and abstraction.  To be able to choose between different styles of programming for different purposes.
  • 3.
    Programming Paradigm 1)Monolithic Programming • Data variables declared are global and statements are written in sequence. • Global data can be accessed from any portion of program, so data is not protected. • Concept of sub program doesn’t exist. • Used for smaller programs. • Ex.: BASIC and ASSEMBLY LANGUAGE
  • 4.
    2) Procedural Progarmming • Programs are divided into number of segments known as sub programs. • Different program having access to same global variable, so data is not fully protected. • Used to develop medium sixe application. • Ex.: FORTRAN and COBOL. 3) Structured Programming • Layer program are develop using this paradigm. • Programs are divided into multiple segments or procedures. • Each procedure has to perform different task. • Modules access global data, so data is not fully protected. • User defined data type introduced. • EX.: PASCAL and C.
  • 5.
    4) Objected OrientedPrograming • Pays more importance to data then to function. • Programs are divided into classes and their numbers. • New data items & functions can be accessing external function. • Objects can communicate with each other through functions.