1. 结构图:
结构图表示模块的层次结构。它代表软件架构,即构成系统和依赖项的各种模块。使用一些通用编程语言可以轻松实现结构图表示。结构图中的主要重点是软件的模块结构。
2. 流程图:
流程图是算法的图形表示。程序员经常将其用作解决问题的程序规划工具。它利用它们之间相互连接的符号来表示信息的流动和处理。流程图是一种表示程序中控制流程的便捷技术。
结构图和流程图的区别:
Structure chart | Flow chart |
---|---|
Structure chart represents the software architecture. | Flow chart represents the flow of control in program. |
It is easy to identify the different modules of the software from structure chart. | It is difficult to identify the different modules of the software from the flow chart. |
Symbols used in structure chart are complex. | Symbols used in flow chart are simple. |
Data interchange between different modules is represented here. | Data interchange among different modules is not represented in flow chart. |
In structure chart different types of arrows are used to represent data flow and module invocation. | Only a single type of arrow is used to show the control flow in flow chart. |
It suppresses the sequential ordering of tasks inherent in a flow chart. | It demonstrates the sequential ordering of inherent tasks. |
Structure chart is complex to construct in comparison of flow chart. | Flow chart is easier to construct in comparison of structure chart. |
Structure chart is hard to understand. | Flow chart is easy to understand. |