NAME:>> FARHAN HUSSAIN K ROLL NO:>> 2K24.SE.(K).03 DEPARTMENT:>> BS. SOFTWARE ENGINEERING PRESENTATION TOPIC:>> Object oriented programming (oop) DATE:>> 18 .9 .2024 Teacher name :>> Shakir Hussain Talpur KHAIRPUR COLLEGE OF AGRICLTURAL ENGINEERING &TECHNOLOGY (SAU TANDJAM)
Object-oriented programming (OOP Object-oriented programming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior.
Object Oriented Programming in C++ Object-oriented programming – As the name suggests uses objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc. in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.  There are some basic concepts that act as the building blocks of OOPs i.e.
Characteristics of an Object-Oriented Programming Language
< Class >  The building block of C++ that leads to Object-Oriented programming is a Class. It is a user-defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class. A class is like a blueprint for an object. For Example: Consider the Class of Cars. There may be many cars with different names and brands but all of them will share some common properties like all of them will have 4 wheels, Speed Limit, Mileage range, etc. So here, the Car is the class, and wheels, speed limits, and mileage are their properties.  A Class is a user-defined data type that has data members and member functions.  Data members are the data variables and member functions are the functions used to manipulate these variables together these data members and member functions define the properties and behavior of the objects in a Class.  In the above example of class Car, the data member will be speed limit, mileage, etc and member functions can apply brakes, increase speed, etc.
< Object >  Object  An Object is an identifiable entity with some characteristics and behaviour. An Object is an instance of a Class. When a class is defined, no memory is allocated but when it is instantiated (i.e. an object is created) memory is allocated.
Advantage of OOPs over Procedure-oriented programming language  Advantage of OOPs over Procedure-oriented programming language  Here are key advantages of Object-Oriented Programming (OOP) over Procedure-Oriented Programming (POP):  Modularity and Reusability: OOP promotes modularity through classes and objects, allowing for code reusability.  Data Encapsulation: OOP encapsulates data within objects, enhancing data security and integrity.  Inheritance: OOP supports inheritance, reducing redundancy by reusing existing code.  Polymorphism: OOP allows polymorphism, enabling flexible and dynamic code through method overriding.  Abstraction: OOP enables abstraction, hiding complex details and exposing only essential features
Thank you

Object Oriented Programming in C++ in software development

  • 1.
    NAME:>> FARHAN HUSSAINK ROLL NO:>> 2K24.SE.(K).03 DEPARTMENT:>> BS. SOFTWARE ENGINEERING PRESENTATION TOPIC:>> Object oriented programming (oop) DATE:>> 18 .9 .2024 Teacher name :>> Shakir Hussain Talpur KHAIRPUR COLLEGE OF AGRICLTURAL ENGINEERING &TECHNOLOGY (SAU TANDJAM)
  • 2.
    Object-oriented programming (OOP Object-orientedprogramming (OOP) is a computer programming model that organizes software design around data, or objects, rather than functions and logic. An object can be defined as a data field that has unique attributes and behavior.
  • 3.
    Object Oriented Programmingin C++ Object-oriented programming – As the name suggests uses objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc. in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.  There are some basic concepts that act as the building blocks of OOPs i.e.
  • 4.
    Characteristics of anObject-Oriented Programming Language
  • 5.
    < Class > The building block of C++ that leads to Object-Oriented programming is a Class. It is a user-defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class. A class is like a blueprint for an object. For Example: Consider the Class of Cars. There may be many cars with different names and brands but all of them will share some common properties like all of them will have 4 wheels, Speed Limit, Mileage range, etc. So here, the Car is the class, and wheels, speed limits, and mileage are their properties.  A Class is a user-defined data type that has data members and member functions.  Data members are the data variables and member functions are the functions used to manipulate these variables together these data members and member functions define the properties and behavior of the objects in a Class.  In the above example of class Car, the data member will be speed limit, mileage, etc and member functions can apply brakes, increase speed, etc.
  • 6.
    < Object > Object  An Object is an identifiable entity with some characteristics and behaviour. An Object is an instance of a Class. When a class is defined, no memory is allocated but when it is instantiated (i.e. an object is created) memory is allocated.
  • 7.
    Advantage of OOPsover Procedure-oriented programming language  Advantage of OOPs over Procedure-oriented programming language  Here are key advantages of Object-Oriented Programming (OOP) over Procedure-Oriented Programming (POP):  Modularity and Reusability: OOP promotes modularity through classes and objects, allowing for code reusability.  Data Encapsulation: OOP encapsulates data within objects, enhancing data security and integrity.  Inheritance: OOP supports inheritance, reducing redundancy by reusing existing code.  Polymorphism: OOP allows polymorphism, enabling flexible and dynamic code through method overriding.  Abstraction: OOP enables abstraction, hiding complex details and exposing only essential features
  • 8.