Provided by

Deborah Ewurama Minka Akuoko…

OOP BASIC REVIEW

… APPLYING C++

WHAT IN THE FIRST PLACE CAN BE DESCRIBED AS PROGRAM?

A plan = software program = application = a set of instructions prepared to perform specific activities when executed or run…

A course is written by a programming language. elizabeth. g c++

WHAT IS OOP

Thing oriented coding - OOP

Programmer thinks about and defines the attributes and behavior of real life items but will it in a logical way.

Often the things are patterned after actual entities.

Very different approach than function-based programming (such C).

KINDS OF PROGRAMMING METHODS

Unstructured

Procedural

Flip or Structured

Target Oriented Coding

UNSTRUCTURED

Generally, people street to learn a programming dialect by producing small and basic programs that consist largely of one key program. Below the term ―main programǁ means a sequence of commands or perhaps statements, which modify global data, over the whole program. Figure one particular illustrates this concept.

Unstructured encoding techniques present tremendous

cons once a plan gets adequately large.

For example , if the same assertion sequence is required at distinct locations inside the program, precisely the same sequence of statements should be repeatedly replicated to the new locations.

STEP-BY-STEP

The all-natural improvement for the unstructured development technique was your introduction of the Procedural Encoding technique.

In such a technique, a chain of guidelines used to perform a specific activity are assembled together then called a Software.

The main plan directly runs on global data required. The collection of this kind of instructions is known as a Procedure.

MODULAR OR METHODIZED

In step-by-step programming, a single program is definitely divided into smaller sized pieces called procedures. To allow the usage of standard procedures, or groups of techniques, in other applications, such types of procedures must be independently available.

Do it yourself programming permits the grouping of types of procedures into what is known as quests. With do it yourself programming, methods of common functionality are grouped collectively into individual modules.

A plan therefore no longer consists of only 1 single portion rather is currently divided into several smaller parts which interact with each other through procedure calls. Each module can have its own data. This allows every - component to manage an indoor state that is usually modified simply by calls to procedures of this module.

Nevertheless , there is only 1 state per module and module

is present at most once in the whole system.

OOP

Because of the problems increased with the former techniques of programming; especially, when courses get greater, the object- oriented programming was launched as a new programming technique. Many object-oriented programming dialects were Applied and introduced for this technique; however , C++ was one of the powerful authentic object oriented languages which were introduced

OOP FEATURES

Target:

This is the fundamental unit of object oriented programming. That is certainly both data and function that operate on info are bundled up as a device called target.

Class:

As you define a class, you define a system for a subject. This doesn't basically define any data, nonetheless it does specify what the course name means, that is, what an object in the class is going to consist of and what procedures can be performed on such an object.

Abstraction:

Info abstraction refers to, providing just essential information to the outside the house world and hiding all their background particulars, i. elizabeth., to represent the needed data in system without showing the details.

For instance , a repository system conceals certain information on how data is stored and created and maintained. Similar way, C++ classes provides different methods to the outside world without providing internal detail about these methods and data.

OOP FEATURES

Encapsulation:

Encapsulation is placing the info and the functions that...

Tags:

HNWI Advantage Allocation in Argentina 2014 Essay

Realize Importance of Healthy Ingesting Essay