oop

Views:
 
Category: Education
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Slide 1:

Develop by - - Harshit Trivedi - Topic- OOP With C++

Slide 2:

What is programing * Programming is set a instruction. * programming is the process of writing , testing , debugging , and maintaining the source code of computer program.

Slide 3:

Types Of Programing - procedure Oriented Programing - Object Oriented Programing

Slide 4:

Procedure Programing Main Program Function -1 Function- 2 Function -3 Function -4 Function - 5 Function - 6 Function - 7 Function - 8

Slide 5:

* OOP * - The Object Oriented Approch Views A Problem In Terms Of Object Involved Rather Then Procedure For Doing it For ex- c++,java etc .

Slide 7:

Data Functions Data Functions Data Functions Object -1 Object -2 Object -3 Communication Org. of data and function in oop

Slide 8:

Feature of oop - -Emphasis is an data - Program are divided into what are known object - data is hidden Andcan't be accessed by External Function - Object May Communicate with each other Through Function - New Data can easily Added

Slide 9:

* Concept Of Oop * - Class - Object - Data Abstraction & Encapsulation - Inheritance - Polymorphism - Dynamic Binding - Message Passing

Slide 10:

Object is a Run Time Entity they may represent a person ,a place or any time that the program has to handle . They may also represent user define data type * Object * Object : student (data part) name Dob Marks ....... (function Part) -total -average -display representation of object

Slide 11:

The Entity Set Of data & Code of An Object can Be Made a User Define Data Type With The Help Of Class . In Fact Object Is The Variable Of The Type Class * Class * For Ex – Mango , Apple Are Member of Class Fruit (class)Fruit Mango so hear fruit has been defined as a Class

Slide 12:

Data Abstraction – Abstraction Refers to the Act Of Representing Essential Feature Without Including The Back Ground Details or Explanations Data Abstraction & Encapsulation Encapsulation – The Wrapping Up Of Data And Function Into Single Logic Unit (called Class)Is known As Encapsulation

Slide 13:

Inheritance is The Process By Which object Of One Class Acquire the properties of object of another Class It Support the Hierarchical Fashion Inheritance

Slide 14:

BIRD Attribute …….. FLYING BIRD NONFLYNING BIRD Attribute …….. Attribute …….. Robin Swallow Penguin Kiwi Attribute …….. Attribute …….. Attribute …….. Attribute …….. Properity Inheritance

Slide 15:

Polymorphism is the ability for a message or data to be Processed in more then One form. There are two types of polymorphism (1) Operator Overloading (2) Function Overloading. * Polymorphism *

Slide 16:

5 + 2 = 7 ( hear + is works as sum) xz + y = xyz ( hear + is works as Concatation of two string) Operator Overloading Shape Draw() Circle Object Box Object Line object Draw(Circle) Draw (Box) Draw(Line) Function Overloading

Slide 17:

Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding is also known as late binding means that the code associated with a given procedure call is not known until the time of the call at runtime. Its associated with polymorphism and inheritance Dynamic Binding

Slide 18:

OOP consists of a set of object that communicate with each other . Message passing involve specifying the name of object ,the name of the function ,and the information to be sent. Message Passing Employee.salary.(name) object Message Information Example

Slide 19:

Benefits of oop - data hiding helps the program to bulid secure program - Software Complexity can be easily managed - object oriented systems can be easily upgraded from small to large system

Slide 20:

- it is easy to partition the work in project based on objects - Through Inheritance , we can eliminate redundant code and extend the user of existing classes It is possible to map objects in the problem domain to those in the program

Slide 21:

Dedicated to all Professinonal Facility

Slide 22:

- Special Thanks by - PRAVIN SIR CHIRAG SIR KULDEEP SIR