SlideShare a Scribd company logo
A PROGRAMMING PARADIGM IS A STYLE OR
“WAY” OF PROGRAMMING.
Programming paradigm
PROCEDURAL PROGRAMMING
Procedural programming is a list or set of
instructions telling a computer what to do
step by step and how to perform from the
first code to the second code.
Procedural programming languages include
C, Go, Fortran, Pascal, and BASIC.
MODULAR PROGRAMMING
Modular programming is a software design
technique that emphasizes separating the
functionality of a program into independent,
In modular programming ,a program consists
of a number of modules ,which in most case
work independently of all other
Oops concept in c++ unit 3 -topic 4
WHAT IS THE DIFFERENCE BETWEEN
PROCEDURAL PROGRAMMING AND MODULAR
PROGRAMMING?
Procedural programming involves following an
algorithm or a procedure to implement on
your software.
Whereas modular programming involving
dividing your objective into modules and then
pipelining the modules to obtain the defined
output.
OOPS CONCEPT IN C++
1. Object
2. Class
3.Encapsulation
4.Abstraction
5.Inheritance
6.Polymorphism
OBJECT & CLASS
Object is the physical as well as logical entity
where as class is the only logical entity.
OR
Object is an identifiable entity with some
characteristics and behavior.
Class is a template blue-print representing a
group of object that share common
properties and relationship.
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
ENCAPSULATION
Encapsulation is a process of wrapping of
data and methods in a single unit is called
encapsulation.
Encapsulation is achieved in C++ language
by class concept.
OR
Encapsulation is the packing of data &
function into a single component. The feature
of encapsulation are supported using class.
Oops concept in c++ unit 3 -topic 4
ABSTRACTION IN C++
Abstraction is the concept of exposing only
the required essential characteristics and
behavior with respect to a context.
Hiding of data is known as data abstraction.
In object oriented programming language this
is implemented automatically while writing
the code in the form of class and object.
Oops concept in c++ unit 3 -topic 4
C++ INHERITANCE
Inheritance in Object Oriented Programming
can be described as a process of creating
new classes from existing classes.
 New classes inherit some of the properties
and behavior of the existing classes.
 An existing class that is "parent" of a new
class is called a base class.
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
POLYMORPHISM IN C++
 The word polymorphism means having
many forms.
 Typically, polymorphism occurs when
there is a hierarchy of classes and they
are related by inheritance.
 The process of representing one Form in
multiple forms is known
as Polymorphism..
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4

More Related Content

What's hot (20)

PPTX
Object Oriented Programming Using C++
Muhammad Waqas
 
PPT
CLASSES AND OBJECTS IN C++ +2 COMPUTER SCIENCE
Venugopalavarma Raja
 
PPTX
OOP concepts -in-Python programming language
SmritiSharma901052
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PPTX
OOPS In JAVA.pptx
Sachin33417
 
PPS
Interface
kamal kotecha
 
PPT
Basic concepts of object oriented programming
Sachin Sharma
 
PPTX
Encapsulation C++
Hashim Hashim
 
PPTX
Association agggregation and composition
baabtra.com - No. 1 supplier of quality freshers
 
PPT
Class and object in C++
rprajat007
 
PPT
16 virtual function
Docent Education
 
PDF
C++ chapter 1
jasvinder162
 
PPTX
This keyword in java
Hitesh Kumar
 
PDF
Class and Objects in Java
Spotle.ai
 
PPT
friend function(c++)
Ritika Sharma
 
PDF
C++ Files and Streams
Ahmed Farag
 
PPTX
Operator overloading
Ramish Suleman
 
PPTX
Introduction to OOP concepts
Ahmed Farag
 
PPTX
Concept of OOPS with real life examples
Neha Sharma
 
PPTX
Classes, objects in JAVA
Abhilash Nair
 
Object Oriented Programming Using C++
Muhammad Waqas
 
CLASSES AND OBJECTS IN C++ +2 COMPUTER SCIENCE
Venugopalavarma Raja
 
OOP concepts -in-Python programming language
SmritiSharma901052
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
OOPS In JAVA.pptx
Sachin33417
 
Interface
kamal kotecha
 
Basic concepts of object oriented programming
Sachin Sharma
 
Encapsulation C++
Hashim Hashim
 
Association agggregation and composition
baabtra.com - No. 1 supplier of quality freshers
 
Class and object in C++
rprajat007
 
16 virtual function
Docent Education
 
C++ chapter 1
jasvinder162
 
This keyword in java
Hitesh Kumar
 
Class and Objects in Java
Spotle.ai
 
friend function(c++)
Ritika Sharma
 
C++ Files and Streams
Ahmed Farag
 
Operator overloading
Ramish Suleman
 
Introduction to OOP concepts
Ahmed Farag
 
Concept of OOPS with real life examples
Neha Sharma
 
Classes, objects in JAVA
Abhilash Nair
 

Similar to Oops concept in c++ unit 3 -topic 4 (20)

PPTX
CSC2161Programming_in_Cpp_Lecture4-OOP Classes and Objects[1].pptx
winebaldbanituze
 
PDF
CS305PC_C++_UNIT 1 notes jntuh third semester
VeeraswamyDasari2
 
PPT
Oops and c fundamentals
umesh patil
 
PDF
@vtucode.in-module-1-c++-2022-scheme.pdf
TheertheshTheertha1
 
PPTX
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
PPTX
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
DOCX
LECTURE NOTES ON Object Oriented Programming Using C++
SandeepAwasthi15
 
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
PPTX
Rajib Ali Presentation on object oreitation oop.pptx
domefe4146
 
PPTX
Lecture 1.pptx
IndraKhatri
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PPT
Seminar
priteshkhandelwal
 
PPT
SEMINAR
priteshkhandelwal
 
PPTX
Introduction to C++
murugeswariSenthilku
 
PPTX
Object Oriented Programming
AyushiDubey19
 
PPT
2 Object Oriented Programming
Praveen M Jigajinni
 
PDF
C++
Rome468
 
PPTX
An introduction to object-oriented programming.pptx
olisahchristopher
 
PDF
C++ [ principles of object oriented programming ]
Rome468
 
CSC2161Programming_in_Cpp_Lecture4-OOP Classes and Objects[1].pptx
winebaldbanituze
 
CS305PC_C++_UNIT 1 notes jntuh third semester
VeeraswamyDasari2
 
Oops and c fundamentals
umesh patil
 
@vtucode.in-module-1-c++-2022-scheme.pdf
TheertheshTheertha1
 
1.1-Introduction to Object oriented.pptx
naushigrdcs
 
Basic Concepts of Object Oriented Programming using C++
ShivamPathak318367
 
LECTURE NOTES ON Object Oriented Programming Using C++
SandeepAwasthi15
 
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
ApurvaLaddha
 
Rajib Ali Presentation on object oreitation oop.pptx
domefe4146
 
Lecture 1.pptx
IndraKhatri
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
Introduction to C++
murugeswariSenthilku
 
Object Oriented Programming
AyushiDubey19
 
2 Object Oriented Programming
Praveen M Jigajinni
 
C++
Rome468
 
An introduction to object-oriented programming.pptx
olisahchristopher
 
C++ [ principles of object oriented programming ]
Rome468
 
Ad

Recently uploaded (20)

PPTX
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
PDF
John Keats introduction and list of his important works
vatsalacpr
 
PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
PPTX
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
PDF
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
PPTX
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
PPTX
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
PPTX
Basics and rules of probability with real-life uses
ravatkaran694
 
PPTX
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
PPTX
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
PPTX
FAMILY HEALTH NURSING CARE - UNIT 5 - CHN 1 - GNM 1ST YEAR.pptx
Priyanshu Anand
 
PDF
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
PPTX
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
THE JEHOVAH’S WITNESSES’ ENCRYPTED SATANIC CULT
Claude LaCombe
 
The Future of Artificial Intelligence Opportunities and Risks Ahead
vaghelajayendra784
 
John Keats introduction and list of his important works
vatsalacpr
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
Applied-Statistics-1.pptx hardiba zalaaa
hardizala899
 
Applications of matrices In Real Life_20250724_091307_0000.pptx
gehlotkrish03
 
Tips for Writing the Research Title with Examples
Thelma Villaflores
 
Translation_ Definition, Scope & Historical Development.pptx
DhatriParmar
 
Cleaning Validation Ppt Pharmaceutical validation
Ms. Ashatai Patil
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
 
Basics and rules of probability with real-life uses
ravatkaran694
 
Top 10 AI Tools, Like ChatGPT. You Must Learn In 2025
Digilearnings
 
Rules and Regulations of Madhya Pradesh Library Part-I
SantoshKumarKori2
 
FAMILY HEALTH NURSING CARE - UNIT 5 - CHN 1 - GNM 1ST YEAR.pptx
Priyanshu Anand
 
TOP 10 AI TOOLS YOU MUST LEARN TO SURVIVE IN 2025 AND ABOVE
digilearnings.com
 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
 
I INCLUDED THIS TOPIC IS INTELLIGENCE DEFINITION, MEANING, INDIVIDUAL DIFFERE...
parmarjuli1412
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
THE JEHOVAH’S WITNESSES’ ENCRYPTED SATANIC CULT
Claude LaCombe
 
Ad

Oops concept in c++ unit 3 -topic 4

  • 1. A PROGRAMMING PARADIGM IS A STYLE OR “WAY” OF PROGRAMMING. Programming paradigm
  • 2. PROCEDURAL PROGRAMMING Procedural programming is a list or set of instructions telling a computer what to do step by step and how to perform from the first code to the second code. Procedural programming languages include C, Go, Fortran, Pascal, and BASIC.
  • 3. MODULAR PROGRAMMING Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, In modular programming ,a program consists of a number of modules ,which in most case work independently of all other
  • 5. WHAT IS THE DIFFERENCE BETWEEN PROCEDURAL PROGRAMMING AND MODULAR PROGRAMMING? Procedural programming involves following an algorithm or a procedure to implement on your software. Whereas modular programming involving dividing your objective into modules and then pipelining the modules to obtain the defined output.
  • 6. OOPS CONCEPT IN C++ 1. Object 2. Class 3.Encapsulation 4.Abstraction 5.Inheritance 6.Polymorphism
  • 7. OBJECT & CLASS Object is the physical as well as logical entity where as class is the only logical entity. OR Object is an identifiable entity with some characteristics and behavior. Class is a template blue-print representing a group of object that share common properties and relationship.
  • 10. ENCAPSULATION Encapsulation is a process of wrapping of data and methods in a single unit is called encapsulation. Encapsulation is achieved in C++ language by class concept. OR Encapsulation is the packing of data & function into a single component. The feature of encapsulation are supported using class.
  • 12. ABSTRACTION IN C++ Abstraction is the concept of exposing only the required essential characteristics and behavior with respect to a context. Hiding of data is known as data abstraction. In object oriented programming language this is implemented automatically while writing the code in the form of class and object.
  • 14. C++ INHERITANCE Inheritance in Object Oriented Programming can be described as a process of creating new classes from existing classes.  New classes inherit some of the properties and behavior of the existing classes.  An existing class that is "parent" of a new class is called a base class.
  • 18. POLYMORPHISM IN C++  The word polymorphism means having many forms.  Typically, polymorphism occurs when there is a hierarchy of classes and they are related by inheritance.  The process of representing one Form in multiple forms is known as Polymorphism..