Skip to Main Content
PROGRAMMING IN COBOL/400: 2nd Edition
book

PROGRAMMING IN COBOL/400: 2nd Edition

by James Cooper, Nancy Stern, Robert A. Stern
January 2002
Intermediate to advanced content levelIntermediate to advanced
736 pages
18h 57m
English
Wiley
Content preview from PROGRAMMING IN COBOL/400: 2nd Edition

Chapter 5. DESIGNING STRUCTURED PROGRAMS

CHAPTER OBJECTIVES

Upon completion of this chapter, you should be able to

  • Explain what is meant by structured programming.

  • Identify hierarchy charts and explain their purpose in top-down programming.

  • Explain how flowcharts, pseudocode, and hierarchy charts are used as program design tools.

  • Identify the four logical control structures used in structured programming.

WRITING WELL-DESIGNED PROGRAMS

In the early days of programming, students learning to program believed that mastering the rules of a programming language was all that was needed to write well-designed programs. Often, instruction formats and coding rules necessary for writing programs were taught without ever fully explaining the way programs are actually designed. It is, of course, true that you must learn programming rules, or syntax, before instructions can be written. Unfortunately, however, knowledge of a programming language's rules will not guarantee that programs will be designed properly. That is, it is possible for a program to be written correctly without any syntax errors, and yet the entire set of procedures might be poorly designed so that they do not work properly or efficiently. In addition to learning syntax, then, software developers must learn how to design a program so that it functions effectively as an integrated whole. We define the term program design to mean the development of a program so that its elements fit together logically and effectively in an integrated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Designing and Programming CICS Applications

Designing and Programming CICS Applications

John Horswill, Members of the CICS Development Team at IBM Hursley

Publisher Resources

ISBN: 9780471418467Purchase book