OVERVIEW
This course provides the concepts and fundamentals for designing structured programs before coding begins. Several methods are introduced for designing and documenting structured programs, such as functional decomposition, hierarchy charts and pseudo-code, as well as flowcharting. Topics include simple reports, summary reports with counts and totals, and programs with complex calculations. Structured walkthroughs are presented with each design.
DURATION: 3 Days
OBJECTIVES
Upon successfully completing the course, participants will be able to:
- Use functional decomposition, hierarchy charts and pseudo-code to analyze and model the logic of a program.
- Use flowcharting to analyze and model the logic of a program.
- Implement a structured program using top-down modular design and the fundamental logic structures.
- Lead and participate in peer reviews in the form of structured walkthroughs.
INTENDED AUDIENCE
This course is designed to benefit application programmers and developers who will be programming in a procedural language such as COBOL, COBOL II, C, PL/I, or Assembler. Understanding of basic computer concepts (input, output, processing and storage) is helpful.
PREREQUISITES
An understanding of the computer concepts and the information processing cycle; namely input, process, output and storage. Introduction to Information Technology is offered as this prerequisite
FORMAT/MATERIALS
Lecture and discussion followed by lab exercises in which the student will design the logic structures fundamental to business application programs. The lab exercises can be paper and pencil or graphical software such as Visio can be used. There is an optional textbook, Business Programming Logic by Jay Singelman and Jean Longhurst.
CONTENT:
A. Introduction to Structured Programming Logic Tools
1. Benefits of standard logic tools
2. Team approach to programming
3. Position in the structured design life cycle
4. The tools
- Functional decomposition
- Hierarchy charts/Pseudo-code
- Flowcharting
- Structured walkthrough
B. Understanding and Using the Tools
1. Functional decomposition - hierarchy charts
- Top-down design
- Concept and uses
- Rules
2. Pseudo-code
- Basic control structures
- Sequence
- Selection (IF-THEN-ELSE and DO CASE)
- Iteration (DO WHILE and PERFORM UNTIL)
- HIPO (Hierarchical Input-Process-Output) Charts
- Flow of data
- Harmful effects of GOTOs
3. Flowcharting
- Basic control structures
- Sequence
- Selection (IF-THEN-ELSE and DO CASE)
- Iteration (DO WHILE and PERFORM UNTIL)
4. Printer Spacing Charts
5. Structured walkthrough
- Objectives and purpose
- Role of the participants
- Steps in a walkthrough
- Developing effective communication
C. Implementing Logic Structures
1. Read-process-write
2. Page breaks and headings
3. Validation
4. Sequence checking
5. Control break: one-level
D. Implementing Logic Structures
1. Multi-level Control Breaks
2. Transaction master update
3. Direct file access vs. sequential access
4. Table processing