Advantage of structured programming language
The following are the different advantage of structured programming -
- It is user friendly and easy to understand.
- Similar to English vocabulary of words and symbol
- It is easier to learn
- They require less time to write
- They are easier to maintain
- These are mainly problem oriented rather than machine based.
- Program written in a high level language can be translated into many
- Machine languages and therefor can run on any computer for which there exists an appropriate translator.
- It is independent of machine on which it is used programs developed in high level language can be run on any computer.
Disadvantage of structured programming language
- A high level language has to be translated in to the machine language by translator and thus a price in computer time is paid.
- The object code generated by translator might be efficient compared t an equivalent assembly language program.
- Data type are proceeds in many functions in a structured program.when changes occur in those data types, the corresponding change must be made to every location that acts on those data types within the program. This is really a very time consuming task if the program is very large.
- Let us consider the case of software development in which several programmers work as a team on an application. In structured program, each programmer is assigned to build specific set of functions and data types.Since different programmers handle separate functions that have mutually shared data type.Other programmers in the ream must reflect the changes in data types done by the programmer in data type handled. Otherwise it requires rewriting several functions.
0 Comments