Oop Presentation


Published on

Published in: Technology

Oop Presentation

  1. 1. Programming Techniques A presentation By Abdul Ghaffar
  2. 2. Objectives of Programming <ul><li>To control the computer (OS) </li></ul><ul><li>Data handling </li></ul><ul><li>Graphics & Simulation </li></ul><ul><li>Communication </li></ul><ul><li>Scientific research </li></ul><ul><li>Entertainment </li></ul><ul><li>Other Utilities and Applications </li></ul>
  3. 3. Software's Classification Software Application Languages System High Level Low Level
  4. 4. Programming Paradigms Programming Language Non Structured Procedural Modular Logical Functional Object Oriented Structured C, C++, VB, VC++ ,Java, COBOL, Pascal etc Assembly, GWBasic Assembly, C/C++, Java etc Assembly, C/C++, Java etc Prolog Lisp C++, VC++, VB, JAVA etc
  5. 5. Object Oriented Programming <ul><li>In OOP a software is organized as a collection of discrete objects that incorporate both data structure and behavior. Basic terminology and ideas of OOP are.. </li></ul><ul><li>Objects & Classes </li></ul><ul><li>Abstraction and encapsulation </li></ul><ul><li>Inheritance </li></ul><ul><li>Polymorphism </li></ul>
  6. 6. What is an object ? <ul><li>Objects are the elements through which we perceive the world around us. All objects have these characteristics.. </li></ul><ul><li>Identity </li></ul><ul><li>State </li></ul><ul><li>Behaviour </li></ul>
  7. 7. Classes (classification of objects) <ul><li>A class is a group of objects with same attributes and behavior. The characteristics of a class are </li></ul><ul><li>A name </li></ul><ul><li>Attributes </li></ul><ul><li>Methods </li></ul>
  8. 8. Abstraction / Encapsulation <ul><li>Abstraction is the representation of all essential features of an object, which means its possible state and behaviours. </li></ul><ul><li>Encapsulation is the practice of including in an object everything it needs hidden from the other objects in the system. </li></ul>
  9. 9. Inheritance <ul><li>Inheritance mean that the class inherits the characteristics of another class as part of its definition. </li></ul>
  10. 10. Polymorphism <ul><li>Polymorphism means ‘having many forms’. </li></ul>
  11. 11. Benefits of OOP <ul><li>Reusability </li></ul><ul><li>Extensibility </li></ul><ul><li>Decomposability </li></ul><ul><li>Composability </li></ul><ul><li>Understandability </li></ul><ul><li>Protection </li></ul>