1 / 15

SOFTWARE DESIGN Structure Charts : Software Structure Specification calling subprogram

A. A. SOFTWARE DESIGN Structure Charts : Software Structure Specification calling subprogram called subprogram ( B is always called ) ( B may be called ) Formatted Record End of formatted record. B. B. : data. Get Formatted Record. : control. record. formatted record.

porter-cobb
Download Presentation

SOFTWARE DESIGN Structure Charts : Software Structure Specification calling subprogram

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A A • SOFTWARE DESIGN Structure Charts: • Software Structure Specification calling subprogram called subprogram ( B is always called ) ( B may be called ) Formatted RecordEnd of formatted record B B : data Get Formatted Record : control record formatted record End of records record Format Record Read Record

  2. B A B Program Structure Charts: A contains one or more calls to module B Predefined Module (debugged and available in library ) Module A conditionally calls Module B depending on decision in A Repetition : Module A calls module B in a loop in module A A B A B

  3. Control starts at root module and is passed down level by level. Control is always returned to the calling module. At the end of program execution, control returns to root module

  4. DFD to Structure Chart : • Transform Analysis Identify the central transform in a DFD • divide processes into those that perform input andediting, processing or transformation and those performing output. • Transaction Analysis Identify the Transaction Center Group of processes between I/Ps and O/Ps With Alternative flows of control depending on condition / user selection • Each DFD process appears as a structure chart module(?) • Additional modules provide details of processing

  5. Transform Analysis (Example) A B C G H P1 P2 P5 P6 D E F P3 P4 Processing Output Stream Input Stream (Central Transform)

  6. The System G C G F C F P5: Make C & F into G Get C Get F Output G F B H B G E H C E Get B P2: Make B into C P6: Make G into H Put H Get E P4: Make E into F E B A D D A P1: Make A into B P3: Make D into E Get D Get A

  7. Transaction Analysis (Example) C E P3 A B P1 P2 P5 G H P6 D F P4 Input Leg Output Leg Processing Center (Transaction Center)

  8. The System G B G B Get B Transaction Center Make B to G Output G A B D G G H H E C A B E F D C F P6 Get A P1 P2 P3 P4 P5 Output H

More Related