SlideShare a Scribd company logo
1 of 7
Object Oriented Programming &
Methodology
Dr. Amitabha N.
Department of Information Technology
2
PROCEDURAL PROGRAMMING V/S OBJECT-ORIENTED PROGRAMMING
S.n
o.
On the basis of Procedural Programming Object-oriented programming
1. Definition
It is a programming language that is derived
from structure programming and based upon
the concept of calling procedures. It follows a
step-by-step approach in order to break down a
task into a set of variables and routines via a
sequence of instructions.
Object-oriented programming is a computer
programming design philosophy or
methodology that organizes/ models
software design around data or objects rather
than functions and logic.
2. Security It is less secure than OOPs.
Data hiding is possible in object-oriented
programming due to abstraction. So, it is
more secure than procedural programming.
3. Approach It follows a top-down approach. It follows a bottom-up approach.
4. Data movement
In procedural programming, data moves freely
within the system from one function to another.
In OOP, objects can move and communicate
with each other via member functions.
5. Orientation It is structure/procedure-oriented. It is object-oriented.
6. Access modifiers
There are no access modifiers in procedural
programming.
The access modifiers in OOP are named as
private, public, and protected.
3
PROCEDURAL PROGRAMMING V/S OBJECT-ORIENTED PROGRAMMING
S.no
.
On the basis of Procedural Programming Object-oriented programming
7. Inheritance
Procedural programming does not have the
concept of inheritance.
There is a feature of inheritance in object-
oriented programming.
8. Code reusability
There is no code reusability present in procedural
programming.
It offers code reusability by using the feature of
inheritance.
9. Overloading
Overloading is not possible in procedural
programming.
In OOP, there is a concept of function
overloading and operator overloading.
10. Importance It gives importance to functions over data. It gives importance to data over functions.
11. Virtual class
In procedural programming, there are no virtual
classes.
In OOP, there is an appearance of virtual classes
in inheritance.
12. Complex problems It is not appropriate for complex problems. It is appropriate for complex problems.
13. Data hiding There is not any proper way for data hiding. There is a possibility of data hiding.
14. Program division
In Procedural programming, a program is divided
into small programs that are referred to as
functions.
In OOP, a program is divided into small parts
that are referred to as objects.
15. Examples
Examples of Procedural programming include C,
Fortran, Pascal, and VB.
The examples of object-oriented programming
are -
.NET, C#, Python, Java, VB.NET, and C++.
4
5
6
THE IMPETUS
• Modern problems are inherently
complex.
• POP based programming approaches
are efficient enough to handle the
complexity.
• OOP offer advantages in the form of
objects to handle domain complexity
and reduce programming overhead.
Everything is an OBJECT in OOP
7
THANK YOU

More Related Content

Similar to OOPM - Introduction.pptx

Lesson 1 - Object Oriented Programming CPP103.pptx
Lesson 1 - Object Oriented Programming CPP103.pptxLesson 1 - Object Oriented Programming CPP103.pptx
Lesson 1 - Object Oriented Programming CPP103.pptx
LuiFlor
 
Adv & disadv of oo ps
Adv & disadv of oo psAdv & disadv of oo ps
Adv & disadv of oo ps
vijay gupta
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
farhan amjad
 

Similar to OOPM - Introduction.pptx (20)

PCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptxPCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptx
 
Lecture No.1.pptx
Lecture No.1.pptxLecture No.1.pptx
Lecture No.1.pptx
 
2 Object Oriented Programming
2 Object Oriented Programming2 Object Oriented Programming
2 Object Oriented Programming
 
OOP.pptx
OOP.pptxOOP.pptx
OOP.pptx
 
C++ notes.pdf
C++ notes.pdfC++ notes.pdf
C++ notes.pdf
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
 
Bca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroductionBca 2nd sem u-1 iintroduction
Bca 2nd sem u-1 iintroduction
 
Object Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptxObject Oriented Programming using C++.pptx
Object Oriented Programming using C++.pptx
 
Mca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroductionMca 2 sem u-1 iintroduction
Mca 2 sem u-1 iintroduction
 
Diving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdfDiving into OOPs_ Key Concepts and Principles (1).pdf
Diving into OOPs_ Key Concepts and Principles (1).pdf
 
CS3391 OOP UT-I T1 OVERVIEW OF OOP
CS3391 OOP UT-I T1 OVERVIEW OF OOPCS3391 OOP UT-I T1 OVERVIEW OF OOP
CS3391 OOP UT-I T1 OVERVIEW OF OOP
 
Unit v(dsc++)
Unit v(dsc++)Unit v(dsc++)
Unit v(dsc++)
 
Lesson 1 - Object Oriented Programming CPP103.pptx
Lesson 1 - Object Oriented Programming CPP103.pptxLesson 1 - Object Oriented Programming CPP103.pptx
Lesson 1 - Object Oriented Programming CPP103.pptx
 
OOPS_Unit_1
OOPS_Unit_1OOPS_Unit_1
OOPS_Unit_1
 
Adv & disadv of oo ps
Adv & disadv of oo psAdv & disadv of oo ps
Adv & disadv of oo ps
 
object oriented programming OOP
object oriented programming OOPobject oriented programming OOP
object oriented programming OOP
 
Lec_1,2_OOP_(Introduction).pdf
Lec_1,2_OOP_(Introduction).pdfLec_1,2_OOP_(Introduction).pdf
Lec_1,2_OOP_(Introduction).pdf
 
itft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in javaitft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in java
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 

Recently uploaded

Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Recently uploaded (20)

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 

OOPM - Introduction.pptx

  • 1. Object Oriented Programming & Methodology Dr. Amitabha N. Department of Information Technology
  • 2. 2 PROCEDURAL PROGRAMMING V/S OBJECT-ORIENTED PROGRAMMING S.n o. On the basis of Procedural Programming Object-oriented programming 1. Definition It is a programming language that is derived from structure programming and based upon the concept of calling procedures. It follows a step-by-step approach in order to break down a task into a set of variables and routines via a sequence of instructions. Object-oriented programming is a computer programming design philosophy or methodology that organizes/ models software design around data or objects rather than functions and logic. 2. Security It is less secure than OOPs. Data hiding is possible in object-oriented programming due to abstraction. So, it is more secure than procedural programming. 3. Approach It follows a top-down approach. It follows a bottom-up approach. 4. Data movement In procedural programming, data moves freely within the system from one function to another. In OOP, objects can move and communicate with each other via member functions. 5. Orientation It is structure/procedure-oriented. It is object-oriented. 6. Access modifiers There are no access modifiers in procedural programming. The access modifiers in OOP are named as private, public, and protected.
  • 3. 3 PROCEDURAL PROGRAMMING V/S OBJECT-ORIENTED PROGRAMMING S.no . On the basis of Procedural Programming Object-oriented programming 7. Inheritance Procedural programming does not have the concept of inheritance. There is a feature of inheritance in object- oriented programming. 8. Code reusability There is no code reusability present in procedural programming. It offers code reusability by using the feature of inheritance. 9. Overloading Overloading is not possible in procedural programming. In OOP, there is a concept of function overloading and operator overloading. 10. Importance It gives importance to functions over data. It gives importance to data over functions. 11. Virtual class In procedural programming, there are no virtual classes. In OOP, there is an appearance of virtual classes in inheritance. 12. Complex problems It is not appropriate for complex problems. It is appropriate for complex problems. 13. Data hiding There is not any proper way for data hiding. There is a possibility of data hiding. 14. Program division In Procedural programming, a program is divided into small programs that are referred to as functions. In OOP, a program is divided into small parts that are referred to as objects. 15. Examples Examples of Procedural programming include C, Fortran, Pascal, and VB. The examples of object-oriented programming are - .NET, C#, Python, Java, VB.NET, and C++.
  • 4. 4
  • 5. 5
  • 6. 6 THE IMPETUS • Modern problems are inherently complex. • POP based programming approaches are efficient enough to handle the complexity. • OOP offer advantages in the form of objects to handle domain complexity and reduce programming overhead. Everything is an OBJECT in OOP