SlideShare a Scribd company logo
2
Most read
3
Most read
11
Most read
Name : Sandeep Kumar Singh Class : XII Roll no. : 33
Various Programming Paradigms
 A Programming Paradigm defines the methodology of
designing and implementing programs using the key
features and building blocks of a programming
language.
 Different Programming Paradigms
 Procedural Programming
 Object Based Programming
 Object Oriented Programming
Procedural Programming
 Procedural Programming lays more emphasis on
procedure than data.
 Whenever the definition of a type changes, the
functions referring to this type must also be changed
to reflect the change.
 Procedural Programming leads to increased time and
cost overheads during design changes.
Object Based Programming
 In Object Based Programming, data and its associated
meaningful functions are enclosed in one single entity
a class.
 Whenever there is any change in definition of type,
user’s interface remains unaffected generally.
 It hides implementation details from user.
 It does not supports inheritance and polymorphism
Object Oriented Programming
 It is same as of object based programming.
 It supports inheritance and polymorphism.
OOP Concepts
 Object is an identifiable entity with some
characteristics and behaviour.
 A class is a group of objects that share common
properties and relationships.
Basic Concepts of OOP
 Data Abstraction
 It refers to the act of representing essential features
without including the background details.
 Data Encapsulation
 Wrapping up of data and operations into a single unit.
 It is a way to implement data abstraction.
 Modularity
 Property of a system that has been decomposed into a
set of cohesive and loosely coupled modules.
 Inheritance
 It is the property of one class of things to inherit the
capabilities or properties from another class.
 It implements idea of reusability.
 Polymorphism
 Ability of a message or data to be processed in more
than one form.
 It is a property by which same message can be sent to
objects of several different classes, and each object can
respond in a different way depending in its class.
Advantages of OOP
 Re-use of code.
 Ease of comprehension
 Closely represent the generic application concepts and
processes.
 More near to real-world models
 Ease of fabrication and maintenance.
 Easy redesign and extension.
Disadvantages of OOP
 Classes tend to be over generalised.
 Relation among classes becomes artificial at times.
 OOP programs design is tricky.
 One needs to do proper planning and proper design
for OOP Programming.
 Programmer need proper skills such as design skills,
programming skills, thinking skills.

More Related Content

PDF
Introduction to oops concepts
Nilesh Dalvi
 
PDF
Power station
Sirat Mahmood
 
PPTX
Object oriented programming
Amit Soni (CTFL)
 
PPT
STate Space Analysis
Hussain K
 
PPT
Greedy Algorihm
Muhammad Amjad Rana
 
PPTX
Human Pose Estimation by Deep Learning
Wei Yang
 
PDF
3. eng. cost and estimation
Mohsin Siddique
 
PPTX
Analysis and Design of Algorithms
Bulbul Agrawal
 
Introduction to oops concepts
Nilesh Dalvi
 
Power station
Sirat Mahmood
 
Object oriented programming
Amit Soni (CTFL)
 
STate Space Analysis
Hussain K
 
Greedy Algorihm
Muhammad Amjad Rana
 
Human Pose Estimation by Deep Learning
Wei Yang
 
3. eng. cost and estimation
Mohsin Siddique
 
Analysis and Design of Algorithms
Bulbul Agrawal
 

What's hot (20)

PPT
Basic concept of OOP's
Prof. Dr. K. Adisesha
 
PPTX
[OOP - Lec 18] Static Data Member
Muhammad Hammad Waseem
 
PPTX
CLASS OBJECT AND INHERITANCE IN PYTHON
Lalitkumar_98
 
PPTX
object oriented Programming ppt
Nitesh Dubey
 
PPTX
Python-Inheritance.pptx
Karudaiyar Ganapathy
 
PPTX
Object oriented programming concepts
rahuld115
 
PPT
Data members and member functions
Harsh Patel
 
PPT
Introduction to Python
Nowell Strite
 
PDF
Python exception handling
Mohammed Sikander
 
PPTX
Constructor and Types of Constructors
Dhrumil Panchal
 
PPTX
Software Engineering unit 3
Abhimanyu Mishra
 
PPT
Object Oriented Programming Concepts
thinkphp
 
PPTX
PYTHON FEATURES.pptx
MaheShiva
 
PPTX
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Uttam Singh
 
PPTX
Data types in python
RaginiJain21
 
PPT
Intro to Python
primeteacher32
 
PPTX
Unix ppt
Dr Rajiv Srivastava
 
PDF
Function overloading ppt
Prof. Dr. K. Adisesha
 
PPT
Object-oriented concepts
BG Java EE Course
 
Basic concept of OOP's
Prof. Dr. K. Adisesha
 
[OOP - Lec 18] Static Data Member
Muhammad Hammad Waseem
 
CLASS OBJECT AND INHERITANCE IN PYTHON
Lalitkumar_98
 
object oriented Programming ppt
Nitesh Dubey
 
Python-Inheritance.pptx
Karudaiyar Ganapathy
 
Object oriented programming concepts
rahuld115
 
Data members and member functions
Harsh Patel
 
Introduction to Python
Nowell Strite
 
Python exception handling
Mohammed Sikander
 
Constructor and Types of Constructors
Dhrumil Panchal
 
Software Engineering unit 3
Abhimanyu Mishra
 
Object Oriented Programming Concepts
thinkphp
 
PYTHON FEATURES.pptx
MaheShiva
 
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Uttam Singh
 
Data types in python
RaginiJain21
 
Intro to Python
primeteacher32
 
Function overloading ppt
Prof. Dr. K. Adisesha
 
Object-oriented concepts
BG Java EE Course
 
Ad

Similar to Object oriented programming (20)

PPTX
Block_1_Unit- I.pdf bca learning for exam you
vosawe9128
 
PDF
Diving into OOPs_ Key Concepts and Principles (1).pdf
kaushiklalit117
 
PPTX
object oriented programming(oops)
HANISHTHARWANI21BCE1
 
PDF
Procedural-vs-Object-Oriented-Programming (1).pdf
AnujMalviya12
 
PPTX
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
PDF
OOPS_Unit_1
Shipra Swati
 
PPTX
Java ppt.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkk
BrazilAccount1
 
PPTX
Object Oriented Programming.pptx shiva
ry8424250
 
PDF
Oop basic overview
Deborah Akuoko
 
PDF
What is Object-Oriented Programming (OOP) and Why Do We Need It?
MikeShadrin
 
PPT
Unit 1- Basic concept of object-oriented-programming.ppt
hannahroseline2
 
PPTX
fileE_1722655797_5000762_Unit-1OOPS.pptx
mashokacem
 
PPT
2 Object Oriented Programming
Praveen M Jigajinni
 
PPTX
Object Oriented Programming intro Lecture 1.pptx
ssuser8d54ed
 
PPTX
OOP.pptx
kalyanibedekar
 
PPTX
Lecture No.1.pptx
anzazubair91
 
PPTX
Comparison of OOP with Procedural and Functional Programming
infoguestbloging
 
PPTX
OOP Concepts.paper presentation. In computer science
rgragul392
 
PDF
Cracking Low-Level Design Interviews with Tutort Academy: Your Gateway to Tec...
yashikanigam1
 
Block_1_Unit- I.pdf bca learning for exam you
vosawe9128
 
Diving into OOPs_ Key Concepts and Principles (1).pdf
kaushiklalit117
 
object oriented programming(oops)
HANISHTHARWANI21BCE1
 
Procedural-vs-Object-Oriented-Programming (1).pdf
AnujMalviya12
 
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
OOPS_Unit_1
Shipra Swati
 
Java ppt.pptxkkkkkkkkkkkkkkkkkkkkkkkkkkk
BrazilAccount1
 
Object Oriented Programming.pptx shiva
ry8424250
 
Oop basic overview
Deborah Akuoko
 
What is Object-Oriented Programming (OOP) and Why Do We Need It?
MikeShadrin
 
Unit 1- Basic concept of object-oriented-programming.ppt
hannahroseline2
 
fileE_1722655797_5000762_Unit-1OOPS.pptx
mashokacem
 
2 Object Oriented Programming
Praveen M Jigajinni
 
Object Oriented Programming intro Lecture 1.pptx
ssuser8d54ed
 
OOP.pptx
kalyanibedekar
 
Lecture No.1.pptx
anzazubair91
 
Comparison of OOP with Procedural and Functional Programming
infoguestbloging
 
OOP Concepts.paper presentation. In computer science
rgragul392
 
Cracking Low-Level Design Interviews with Tutort Academy: Your Gateway to Tec...
yashikanigam1
 
Ad

Recently uploaded (20)

PPTX
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PPTX
How to Manage Global Discount in Odoo 18 POS
Celine George
 
PPTX
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PPTX
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 
ACUTE NASOPHARYNGITIS. pptx
AneetaSharma15
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
How to Manage Global Discount in Odoo 18 POS
Celine George
 
IMMUNIZATION PROGRAMME pptx
AneetaSharma15
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
Skill Development Program For Physiotherapy Students by SRY.pptx
Prof.Dr.Y.SHANTHOSHRAJA MPT Orthopedic., MSc Microbiology
 

Object oriented programming

  • 1. Name : Sandeep Kumar Singh Class : XII Roll no. : 33
  • 2. Various Programming Paradigms  A Programming Paradigm defines the methodology of designing and implementing programs using the key features and building blocks of a programming language.  Different Programming Paradigms  Procedural Programming  Object Based Programming  Object Oriented Programming
  • 3. Procedural Programming  Procedural Programming lays more emphasis on procedure than data.  Whenever the definition of a type changes, the functions referring to this type must also be changed to reflect the change.  Procedural Programming leads to increased time and cost overheads during design changes.
  • 4. Object Based Programming  In Object Based Programming, data and its associated meaningful functions are enclosed in one single entity a class.  Whenever there is any change in definition of type, user’s interface remains unaffected generally.  It hides implementation details from user.  It does not supports inheritance and polymorphism
  • 5. Object Oriented Programming  It is same as of object based programming.  It supports inheritance and polymorphism.
  • 6. OOP Concepts  Object is an identifiable entity with some characteristics and behaviour.  A class is a group of objects that share common properties and relationships.
  • 7. Basic Concepts of OOP  Data Abstraction  It refers to the act of representing essential features without including the background details.  Data Encapsulation  Wrapping up of data and operations into a single unit.  It is a way to implement data abstraction.
  • 8.  Modularity  Property of a system that has been decomposed into a set of cohesive and loosely coupled modules.  Inheritance  It is the property of one class of things to inherit the capabilities or properties from another class.  It implements idea of reusability.
  • 9.  Polymorphism  Ability of a message or data to be processed in more than one form.  It is a property by which same message can be sent to objects of several different classes, and each object can respond in a different way depending in its class.
  • 10. Advantages of OOP  Re-use of code.  Ease of comprehension  Closely represent the generic application concepts and processes.  More near to real-world models  Ease of fabrication and maintenance.  Easy redesign and extension.
  • 11. Disadvantages of OOP  Classes tend to be over generalised.  Relation among classes becomes artificial at times.  OOP programs design is tricky.  One needs to do proper planning and proper design for OOP Programming.  Programmer need proper skills such as design skills, programming skills, thinking skills.