In the last post, i was discuss about what is c++?, a brief history of C++. Now in this post, i am going to discuss about:-
1. what is structured oriented programming?
2. what is object oriented programming?
3. what is language processor and what are the different types of language processor?
And in the next post i will discus about :-
1. what is the advantages and disadvantages of modular(structure) programming?
2. Advantages and disadvantages of object oriented programming.
3. Difference between them
Let's start:-
Structured oriented programming:-
In this approach of programming a problem at hand is divided into sub-problems.Then each sub-problem is further divided into sub-sub-problems and so on. This process is continues till we reach to a stage when each sub-problems can easily be handled. Thus a complex problem is broken into a series of steps. Each sub-problem or sub-division is known as a module. A module in itself can be a procedure or group of procedures required to perform a specific task or specific sub-problem associated whit the module. The main point of this paradigm of programming was that for a programmer it is enough to know that a given procedure, written by somebody else, performs a given task. How the work is being done is not important as long as the procedure work correctly. Now by binding such modules into one whole the required program or software can be constructed. This type of programming is structured oriented programming or procedure oriented programming.
Object oriented programming:-
To understand object oriented programming or the meaning of object oriented programming ,1st of all we have to understand what is ''object''? Let's know:-
Object is a entity of a class. Consider classes person, shape, universe etc. Now 'Ram', 'Mohan', 'Shohan', are the objects of the class person, 'circle', 'rectangle', 'triangle' are the objects of class shape and 'earth', 'moon' are the objects of class universe.
In the same manner, in object oriented programming approach a problem at hand is divided into objects not into procedure. the
object has their own attributes like real life objects. For example, a bottle has properties(or attributes) like shape, size, color etc. And by binding such objects into one whole the required software can be constructed.
Language processor:- It can be define as the program that performs tasks like translating and interpreting required for processing any programming language.
The different language processors are:-
a) Linker
b) Loader
c) Assembler
d) Text Editor
e) Compiler
f) Interpreter
g) Debugger
a) Linker:- A utility program that combines several separately compiled modules into one, resolving internal differences between them.
When a program is assembled or compiled, an intermediate form is produced into which it is necessary to incorporate libraries and other modules supplied by the user.
b) Loader:- - It can be define as a utility program that sets up an executable program in main memory ready for execution. This is the final stage of the compiling or assembling process.
c) Assembler:- It can be define as software which converts an assembly language program into a machine language program (also known as machine code).
d) Text Editor:- It can be define as a software used to review and modify text materials and other programs interactively.
e) Compiler:- It can be define as a system program that accepts a program written in a high-level language as input and produces an equivalent output in a low-level language, so as to make it machine readable.
f) Interpreter:- It can be define as a small program which translate any high-lev8el language program into machine code and execute it line by line.
g) Debugger:- It can be define as a special program to find errors(bugs) in the other program.
1. what is structured oriented programming?
2. what is object oriented programming?
3. what is language processor and what are the different types of language processor?
And in the next post i will discus about :-
1. what is the advantages and disadvantages of modular(structure) programming?
2. Advantages and disadvantages of object oriented programming.
3. Difference between them
Let's start:-
Structured oriented programming:-
In this approach of programming a problem at hand is divided into sub-problems.Then each sub-problem is further divided into sub-sub-problems and so on. This process is continues till we reach to a stage when each sub-problems can easily be handled. Thus a complex problem is broken into a series of steps. Each sub-problem or sub-division is known as a module. A module in itself can be a procedure or group of procedures required to perform a specific task or specific sub-problem associated whit the module. The main point of this paradigm of programming was that for a programmer it is enough to know that a given procedure, written by somebody else, performs a given task. How the work is being done is not important as long as the procedure work correctly. Now by binding such modules into one whole the required program or software can be constructed. This type of programming is structured oriented programming or procedure oriented programming.
Object oriented programming:-
To understand object oriented programming or the meaning of object oriented programming ,1st of all we have to understand what is ''object''? Let's know:-
Object is a entity of a class. Consider classes person, shape, universe etc. Now 'Ram', 'Mohan', 'Shohan', are the objects of the class person, 'circle', 'rectangle', 'triangle' are the objects of class shape and 'earth', 'moon' are the objects of class universe.
In the same manner, in object oriented programming approach a problem at hand is divided into objects not into procedure. the
Language processor:- It can be define as the program that performs tasks like translating and interpreting required for processing any programming language.
The different language processors are:-
a) Linker
b) Loader
c) Assembler
d) Text Editor
e) Compiler
f) Interpreter
g) Debugger
a) Linker:- A utility program that combines several separately compiled modules into one, resolving internal differences between them.
When a program is assembled or compiled, an intermediate form is produced into which it is necessary to incorporate libraries and other modules supplied by the user.
b) Loader:- - It can be define as a utility program that sets up an executable program in main memory ready for execution. This is the final stage of the compiling or assembling process.
c) Assembler:- It can be define as software which converts an assembly language program into a machine language program (also known as machine code).
d) Text Editor:- It can be define as a software used to review and modify text materials and other programs interactively.
e) Compiler:- It can be define as a system program that accepts a program written in a high-level language as input and produces an equivalent output in a low-level language, so as to make it machine readable.
f) Interpreter:- It can be define as a small program which translate any high-lev8el language program into machine code and execute it line by line.
g) Debugger:- It can be define as a special program to find errors(bugs) in the other program.

Comments
Post a Comment