Object Oriented Programming using C++ is a programming language which was first designed in 1994 and was based on simple ASCII Codes. OOP consists of a network of objects and methods. The main emphasis of OOP is on data rather than procedure&programs are divided into what are known as objects. Objects of the programme interact by sending the message to each other. Data structures are designed such that they characterize the object and the functions that operate on the data of an object are tied together in a data structure. New data and functions can be easily added when necessary.
Example: java, C++, oracle.
Steps in Designing OOPs
Benefits and Applications of OOPs
Procedural Oriented Programming(POP)
Procedure means function oriented programming and follows top to down approach. It is also known as Procedural Programming Language(PPL). It is just a collection of procedure list to complete a task. It is a collection of procedure list to complete a task and it consists of at least one procedure i.e main(). There is not any type of protection and encapsulation inheritance and polymorphism is also not available. Procedural programming is dividing the programming into various procedures. To design program long we should create function first the call it inside the main procedure. It is a traditional type of programming so new data cannot be added easily. Examples: FORTRAN, COBOL, Basic, c.
The abstraction is the mechanism of getting detailed information according to the level of deep sight to the problem. Through the abstraction mechanism, the program hides all but the relevant data about an object in order to reduce complexity and increase efficiency. In the same way, abstract works in art, the object that remains is a representation of the original, with unwanted detail omitted. The resulting object can itself be referred to as abstraction meaning a named entity made of selected attributes and behaviours specific to similar a particular usage of the similar entity. Abstraction is both related to encapsulation and data hiding.
Computation as Simulation
There are two types of model:-
Coping(dealing) with complexity
At an early stage of programming language, all programmes are written in assembly language by the single individual. As programs became more and more complex it became hard for programmers to remember all the information to develop and debug the software. As the program became more and more complex as the best programmer could not perform the task by himself and there were a group of programmers solving the complexity.
The Non Behaviour Of Complexity
As programming projects became larger, an interesting phenomenon was observed. A task that would take 2 months for one programmer could not be solved by 2 programmers taking 1 month. The reason for this nonlinear behavior was complexity, in particular, the interconnection between the software components were a difficult and large amount of communications had to be communicated among the various programme of the programming team.