?Provide a step-by-step description of how to create a structure chart.
What will be an ideal response?
Typically, four steps are followed when creating a structure chart. Data flow diagrams (DFDs) are reviewed to identify the processes and methods, the program modules are identified and control-subordinate relationships determined, symbols for couples and loops are added, and the structure chart is analyzed to ensure that it is consistent with the system documentation.?STEP 1. REVIEW THE DFDS: The first step is to review all DFDs for accuracy and completeness, especially if changes have occurred since the systems analysis phase. If object models were also developed, they should be analyzed to identify the objects, the methods that each object must perform, and the relationships among the objects. A method is similar to a functional primitive and requires code to implement the necessary actions.?STEP 2. IDENTIFY MODULES AND RELATIONSHIPS:Working from the logical model, functional primitives or object methods are transformed into program modules. When analyzing a set of DFDs, remember that each DFD level represents a processing level. If DFDs are being used, one works way down from the context diagram to the lower-level diagrams, identifying control modules and subordinate modules, until the functional primitives are reached. If more cohesion is desired, processes can be divided into smaller modules that handle a single task.?STEP 3. ADD COUPLES, LOOPS, AND CONDITIONS:Next, couples, loops, and conditions are added to the structure chart. If DFDs are being used, the data flows and the data dictionary can be reviewed to identify the data elements that pass from one module to another. In addition to adding the data couples, control couples are added where a module is sending a control parameter, or flag, to another module. Loops and condition lines that indicate repetitive or alternative processing steps are also added. If an object model was developed, the class diagrams and object relationship diagrams can be reviewed to be sure that the interaction among the objects is fully understood.?STEP 4. ANALYZE THE STRUCTURE CHART AND THE DATA DICTIONARY:At this point, the structure chart is ready for careful analysis. Each process, data element, or object method should be checked to ensure that the chart reflects all previous documentation and that the logic is correct. All modules should be strongly cohesive and loosely coupled. Often, several versions of the chart must be drawn. Some CASE tools can help analyze the chart and identify problem areas.?
You might also like to view...
The starting value of an algorithm used to generate a range of numbers is called the _________.
Fill in the blank(s) with correct word
Given the Dim statement below, which set of statements will initialize all elements of myArray to 100? Dim myArray(100) As Double
(A) ``` myArray = 100 ``` (B) ``` For i As Integer = 0 To 100 (i) = 100 Next ``` (C) ``` For j As Integer = 0 to 100 myArray(j) = 100 Next ``` (D) myArray() is already initialized to 100 by the Dim statement.
A l-value is
a) an expression that can be only be placed on the left of any operator such as +, * , /, etc. b) assigned a value c) can never have a value fetched from it d) is designed for use by a left-handed person
A text file might contain line breaks, commas, or tabs to distinguish one piece of data from another.
Answer the following statement true (T) or false (F)