Programming-methodologies-flowchart-elements

提供:Dev Guides
2020年6月23日 (火) 01:20時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

フローチャート要素

  • フローチャート*は、プログラムの論理ステップのシーケンスを図で表したものです。 フローチャートは、単純な幾何学的形状を使用してプロセスを表し、矢印を使用して関係とプロセス/データフローを示します。

フローチャート記号

これは、フローチャートの描画に使用される一般的な記号の一部のチャートです。

Symbol Symbol Name Purpose
Start Stop Start/Stop Used at the beginning and end of the algorithm to show start and end of the program.
Process Process Indicates processes like mathematical operations.
Input/Output Input/Output Used for denoting program inputs and outputs.
Decision Decision Stands for decision statements in a program, where answer is usually Yes or No.
Arrow Arrow Shows relationships between different shapes.
On-page Connector On-page Connector Connects two or more parts of a flowchart, which are on the same page.
Off-page Connector Off-page Connector Connects two parts of a flowchart which are spread over different pages.

フローチャート開発のガイドライン

これらは、フローチャートを開発する際に留意すべき点です-

  • フローチャートには、開始記号と停止記号をそれぞれ1つだけ含めることができます
  • ページ上のコネクタは番号を使用して参照されます
  • ページ外コネクタはアルファベットを使用して参照されます
  • プロセスの一般的な流れは上から下または左から右です
  • 矢印は互いに交差してはいけません

フローチャートの例

これは、ペンを購入するために市場に行くためのフローチャートです。

フローチャートの例

以下は、2つの数値の平均を計算するフローチャートです。

フローチャートの例