Preview

Introduction of Structured Programming Concepts

Powerful Essays
Open Document
Open Document
1520 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Introduction of Structured Programming Concepts
Ikwuetoghu Martins

INTRODUCTION OF STRUCTURED PROGRAMMING CONCEPTS

Structured Programming is a method of planning programs that avoids the branching category of control structures.

structured programming: A technique for organizing and coding computer programs in which a hierarchy of modules is used, each having a single entry and a single exit point, and in which control is passed downward through the structure without unconditional branches to higher levels of the structure. Three types of control flow are used: sequential, test or selection, and iteration.

Software engineering is a discipline that is concerned with the construction of robust and reliable computer programs. Just as civil engineers will use tried and tested methods for the construction of buildings, software engineers will use accepted methods for analysing a problem to be solved, a blueprint or plan for the design of the solution and a construction method that minimises the risk of error. The discipline has evolved as the use of computers has spread. In particular, it has tackled issues that have arisen as a result of some catastrophic failures of software projects involving teams of programmers writing thousands of lines of program code. Just as civil engineers have learned from their failures so have software engineers.

THE TENENTS OR PRINCIPLES OF STRUCTURED PROGRAMMING:

- Make flow of control as easily understood as possible. (Emphasis on use of Control Structures). - Build your program from top-down. Decompose the problem into smaller and smaller pieces. (Top down development (Modularization)) - Avoid repeating the same code, can fix code in one place.

TOP-DOWN DEVELOPMENT

The top-down approach design was based on the following method:

■ To solve a large problem, break the problem into several pieces and work on each piece separately; ■ to solve each piece, treat it as a new problem that can itself be broken down into smaller problems; ■ repeat the process with each

You May Also Find These Documents Helpful

  • Satisfactory Essays

    DQ 1: Review the definition of control structure on p. 45 in Extended Prelude to Programming: Concepts and Design (2nd ed.). Then, think about the pseudocode algorithm you would write for a simple task (making a peanut butter sandwich, for example) as well as three simple control structures that could be used to create this algorithm.…

    • 437 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Explain what is meant by a modular approach to programming. Why is this approach important?…

    • 503 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Amba640- Acme

    • 356 Words
    • 2 Pages

    processes by which to execute the plan. Included in these processes is a structured change control…

    • 356 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Bus 1402 Assignment 4

    • 820 Words
    • 4 Pages

    In this assignment you are required to an article and then answer the following questions (in a Word Document) within the context of the framework on Problem-solving discussed in class (total 50 points):…

    • 820 Words
    • 4 Pages
    Good Essays
  • Good Essays

    In a procedural program, modules interact by reading and writing state that is stored in shared data structures.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    · Investigate the problem by obtaining necessary information (see Ch. 8). List the questions must answer to understand the problem. Identify a source of information to answer each question.…

    • 580 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    1. Identifying and defining the problem. Consider what an optimal outcome or goal might be.…

    • 1042 Words
    • 5 Pages
    Better Essays
  • Good Essays

    The second, to divide each of the difficulties under examination into as many parts as possible, and as might be necessary for its adequate solution.…

    • 957 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    The first topic to be introduced is the information processing theory. It was first introduced by Newell and Simon (1972; cited in Anderson, 1993, p.35) it provided a better understanding of human problem solving in everyday life. Information processing theory proposes that in order to solve a problem, the problem solver must process the information that is available to them i.e. what the problem is and what is required in order to solve the problem. It is thought that problems contain initial state; what the problem is, the goal; what is the outcome of the problem you want to achieve and the operators; what is required or the steps used to achieve the goal. For instance, a student has a problem which is they have 3 assignments due in the same month which is the initial state the goal would be to hand all the assignments in on time and the operators would be delegating time to each assignment accordingly to be able to achieve the goal. However there is also an aspect of the environment that needs to be considered known as the operator restrictions, such as in the example above there may be factors…

    • 2154 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Chapter 8

    • 1187 Words
    • 5 Pages

    Choose from the list of problem scenarios below. Using the steps involved in problem solving that were discussed in this chapter, describe how you would go about solving this problem.…

    • 1187 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Problems request for solutions and solutions leads to changes. Problems can be very simple and appear every day. Nevertheless, they can also be huge, complex transcendental and rarely appeared. However, they both should be faced with a series of solutions that will finally solve the problem.…

    • 349 Words
    • 2 Pages
    Good Essays
  • Good Essays

    apply the principles of problem-solving covered in Fogler, HS & LeBlanc, S 2008, Strategies for Creative Problem Solving, 2nd edn, Prentice-Hall, New Jersey, Chapters 1-7.…

    • 301 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Problem Solving

    • 507 Words
    • 3 Pages

    From the problem presented, I learned that solving a problem such as this required me to modify my thought processing skills. In order to help modify my thought…

    • 507 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Solving Problems

    • 14816 Words
    • 47 Pages

    Throughout your life, you are continually solving problems, including the many minor problems that you solve each day: negotiating a construction delay on the road, working through an unexpected difficulty at your job, helping an upset child deal with a disappointment. As a student, you are faced with a steady stream of academic assignments, quizzes, exams, and papers. Relatively simple problems like these do not require a systematic or complex analysis. For example, to do well on an exam, you need to define the problem (what areas will the exam cover, and what will be the format?), identify and evaluate various alternatives (what are possible study approaches?), and then put all these factors together to reach a solution (what will be your study plan and schedule?). But the difficult and complicated problems in life require more attention.…

    • 14816 Words
    • 47 Pages
    Good Essays
  • Powerful Essays

    Solve a Problem paper

    • 1438 Words
    • 6 Pages

    To solve a problem it takes a creative way to solve that problem. There is a process to solving any problem in a creative manner and the creative process has four stages: 1) searching for the challenge, 2) expressing the problem, 3) investigating the problem, and 4) producing the idea (Ruggiero, 2009). The first stage in the creative process is to search for a possible challenge and this entails either an obvious problem or a not so obvious problem, which is one that will be the focus. In the second stage, one begins to express the problem, but must take into consideration all perspectives in the expressing of it. Within the third stage, one must gather any necessary information that will help effectively deal with the issue. Finally, in the fourth stage, one must create as many ideas as possible to discover which idea is the best to work out the problem and solve the problem. By using these four stages of the creative process, they will assist me in working though a present personal challenge in my life, the search for employment.…

    • 1438 Words
    • 6 Pages
    Powerful Essays