Q:

What are disadvantages of structured programming?

A:

Quick 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.

 Know More

Full Answer

Structured programming is not suitable for the development of large programs and does not allow reusability of any set of codes. It is implemented through stepwise refinement of the functionality, which results in an unstable structure and causes poor execution of functions, actions or control. Such weaknesses make it necessary for programmers to explore programming techniques that focus on data structures and not just control structures.

The method follows a top-down approach; hence, it fails to address the challenges of real-life systems, which have no single top. Object-oriented programming is preferred because, unlike the structured alternative, it allows programmers to proceed from any point, such as the middle, towards the end or bottom of a program. Its codes are reusable in a program.

Structured programming has its strengths, such as it’s easy to use with flowcharts and break into smaller components. The approach is easy to test and correct module by module. It is easy to maintain.

Learn more about Computer Programming

Related Questions

Explore