Programming Language
A programming
language is a tool used by programmers to give the computer specific
instructions in order to serve some work. Computers do exactly what they are
told, no more or no less. Programmer must outline every possible steps and
points that could occur. Assembly languages are the first programming language.
These languages are very low level and hard to understand.
Algorithm
An
algorithm is just a well-outlined method for completing a task. Given below are
the steps as outlined in algorithms:
- Ask user for first number
- Ask user for second number
- Add both numbers
- Display the result on the screen
Object
Object is
basically run-time entities in an object-oriented system. For example, a place,
a bank account, an institution or any item that the program has to handle. In
other word, object is a think about which programmers use to talk using
programming language.
Object-Oriented Programming (OOP)
The
programming, in which we use to work using objects, is known as object oriented
programming or even language. There are two category of object-oriented
language:
-
Object-Based Programming Language
Languages that support programming with objects are said to be
object based programming language. They do not support inheritance, class,
dynamic binding, polymorphism etc. C Programming language is object-based
programming language. There are many features of object based language are – data
encapsulation, data binding, operator overloading etc.
-
Object-Oriented Programming
Language
Languages that support the features like inheritance, class, dynamic
binding, polymorphism etc. are known as object-oriented programming language.
Object-Oriented programming language incorporates all the features of
object-based programming language.
Features of OOP
There are
several features of OOP:
(i)
Emphasis is on data rather than
procedure.
(ii)
Programs are divided into objects.
(iii)
Data is hidden and cannot be accessed
by external functions.
(iv)
Objects
may communicate each other using functions.
(v)
New
functions can easily be added.
Note: Continue in next part.
HAVE A HAPPY CODING!