Object oriented programming(OOPs) in C++ | Introduction | Structured programming | Characterstics | My Cs Tutorial - My CS Tutorial

Breaking

Programming languages full tutorial and programs, exam papers, visual basic( Vb.net ), information of new technologies and more....

Wednesday, July 15, 2020

Object oriented programming(OOPs) in C++ | Introduction | Structured programming | Characterstics | My Cs Tutorial

Object oriented programming (OOPS) | Evolution of oops(c++) | Structured(Procedural) programming | Structured programming Characterstics | Object oriented programming (OOPS) Characterstics | Difference between structured and object oriented programming language | My CS Tutorial


Object-Oriented Programming (OOP) is the term used to describe a programming approach based on objects and classes.


oops(c++) programming | My CS Tutorial

In the invention of computer various programming techniques were developed such as a top down approach and bottom Up down approach and structured approach with the invent of language such as C structured programming becomes very popular. Structured programming was a powerful tool that enables the programs to write Complex programs easily, but when the program do you larger the structured approach failed to show the desired results to remove this problem we have to require another approach which is called object oriented programming(OOPS).

Since the 1980s the word 'object' has appeared in relation to programming languages, with almost all languages developed since 1990 having object-oriented features.

STRUCTURED OR PROCEDURAL ORIENTED PROGRAMMING :-


procedure programming language consists of list of instruction where each instruction tells the computer to do something. COBOL,FORTAN and C language commonly known as procedural language or structured programming language.

In procedure programming language primary focus is on function and code.  procedure programming language consists of write a list of instruction for computer to follow and organising these instructions into groups known as function.

In a multi function program many important data items are placed as Global so that they will be accessed by all the functions and each function may have its own local data. In a large program it is very difficult to identify what data is used by which function.

CHARACTERSTICS:-


(i) Large programs are devided into smaller programs known as functions.
(ii) Primary focus is a function.
(iii) Most of the function shared the Global data data.
(iv) Data moves openly the around the system from function to function.
(v) Function transform the data from one form to another form.
(vi) Top down approach in program vision.


OBJECT ORIENTED PROGRAMMING:-


In object oriented programming primary focus is an object and builds data in function around these object.
Object oriented programming treats the data as a critical element in the program development and does not allowe it to flow freely  around the system.
It times data more closely to the function that operates on it and protect it from accidental modification from outside function. So the object oriented programming allow the decomposition of a problem into a number of entities called objects.
The data of an object can be accessed only by the associated function with that object.

CHARACTERSTICS:-


(i) Primary focus is an object.
(ii) Program divided into objects.
(iii) Functions that operate on the data of an object are type together in the data structure.
(iv) Data is hidden and cannot be accessed by the external function.
(v) Objects may communicate to each other through functions.
(vi) New data and functions can be easily added whenever necessary.
(vii) Bottom up approach in program design.


Object oriented programming (OOPS) | Evolution of oops | Structured programming | Structured programming Characterstics | Object oriented programming (OOPS) Characterstics | Difference between structured and object oriented programming language | My CS Tutorial

_______________________________________


Please share this post and blog link with your friends.For more programs use this blog.

If you have any problem, please comment in comment box, subscribe this blog for notifications of new post on your email and follow this blog.If you have any method of this tutorial or program or want to give any suggestion send email on hc78326@gmail.com

Created by-- HARSH CHAUHAN

No comments:

Post a Comment