Advantages of linear programming include that it can be used to analyze all different areas of life, it is a good solution for complex problems, it allows for better solution, it unifies disparate areas and it is flexible. The disadvantages of this system include that not all variables are linear, unrealistic expectations are made during the process and there are often limitations imposed on the final solution.Know More
One of the reasons that linear programming is so useful is because it can be used in so many different areas of life, from economic puzzles and social problems to industrial issues and military matters. In addition, because it can take into account multiple factors, linear programming can be used to solve complex problems. Linear programming allows for a better quality solution because it considers many factors and limitations instead of just guessing at a solution. It is also advantageous because it unifies many different areas and takes them into account. As long as something can be quantified in a linear manner, it can be brought into account. Because of this openness in what factors can be included, linear programming is very flexible.
However, there are also disadvantages to linear programming. These include the fact that usually all of the variables that need to be taken into account in order to solve a problem cannot be quantified in a linear manner. The assumptions made in linear programming are also unrealistic, because a linear relationship assumes that factors never really change, when in reality they do. Finally, limiting the range of the problem also limits the possible solutions that are given in the problem.Learn more about Computer Programming
The main disadvantage of procedural programming is that it is not as fast to run compared with code written in a lower-level language. For applications that require a lot of processing power, this can limit the effectiveness of procedural programming.Full Answer >
Structured programming, such as using the programming language C, takes up more computer memory. A program developed using the structured approach may perform poorly when the number of modules in it exceeds a certain range. The approach is narrowed toward solving a specific problem and lacks the benefits of object-oriented programming, which is a broadly oriented method.Full Answer >
Object-oriented programming is a style of programming that is recyclable and easy to develop and maintain. A single object, created from a class or prototype, can be reused for multiple purposes. One advantage available to object-oriented programmers is the use of encapsulation, which prevents accidental manipulation by allowing access restrictions to be set on parts of an object. Since object-oriented code is easy to navigate, updates are much quicker.Full Answer >
The procedural programming approach allows for general purpose programming, has many points of reference, offers good level control and has portable source code. Procedural programming simply involves following laid down steps to achieve the desired outcome.Full Answer >