Traditional Culture Encyclopedia - Traditional culture - The flow chart is a diagram of judgment.
The flow chart is a diagram of judgment.
1, single judgment diagram
A single judgment diagram represents the judgment of a condition, in which the diamond symbol represents the judgment, and the arrow represents the condition and the direction of operation execution. When executing, if the conditions are met, the corresponding operation is executed; Otherwise, the flowchart will continue to point to the next operation.
2. Nested judgment graphics
Nested judgment graphics indicate that one judgment contains another judgment. External judgment is represented by a larger diamond symbol, and internal judgment is represented by a smaller diamond symbol. This structure can represent a complex combination of conditions, in which the result of internal judgment will affect the result of external judgment.
3. Multi-branch judgment diagram
Multi-branch judgment diagram is used to describe multiple conditions and corresponding operations. The diamond symbol contains multiple arrows, each pointing to a condition and the corresponding action. When executed, the program will perform the corresponding operation according to the result of the condition.
4, cycle judgment graphics
Cyclic judgment diagram is used to describe the algorithm that needs to be executed repeatedly. The oval symbol indicates the beginning of the cycle, the diamond symbol indicates the judgment, and the arrow indicates the condition and operation direction. The result of loop judgment will determine whether the loop continues to execute.
5, order judgment graphics
The sequential judgment diagram is used to describe multiple conditions and the sequential execution of corresponding operations. Rectangular symbols indicate the steps to be executed in sequence, and arrows indicate the order of the steps. When executed, the program will perform each operation in the order of steps until all steps are completed.
Characteristics of judgment diagram in flow chart;
1. Clarity: the judgment chart represents a decision point in the flow chart, and clearly points out the conditions or criteria that need to be judged.
2. Visualization: the judgment graph is presented in a graphical way, which makes the process more clear and easy to understand and easy to read and understand.
3. Flexibility: The judgment chart can be expanded or reduced as needed to meet the needs of different processes. We can meet the needs of different situations by adding or subtracting branches and changing judgment conditions.
4. Structuring: The judgment diagram is usually combined with other elements in the flow chart (such as operation, input/output, etc.). ) form a structured process model, which is helpful to the analysis and optimization of the process.
5. Reusable: It is judged that graphics can be reused in different flowcharts, which improves reusability and maintainability. For similar judgment conditions, the same judgment graph can be enjoyed and reused, which reduces the maintenance cost.
- Previous article:What were the pollution incidents on the ocean from June to February in 5438?
- Next article:Brand building of zero distance column
- Related articles
- Are the ethnic minorities and Han people in China celebrating the Spring Festival on the same day?
- Introduction of solid wood flooring materials (teach you to choose the best materials)
- Domestic cartoons, they incarnate as basaltic arrival, rosefinch spreading its wings, dragon flying, white tiger roaring, white-haired men and red-haired women, short people.
- Which is better for NC machining? What about Dongguan Qi Le industry?
- What materials does my world need to make clothes, scissors and buckets?
- Birthday gifts for good friends are all handmade.
- Five high-scoring TV dramas in 2020, each of which is the essence. What have you seen?
- Who can tell me how to wrap jiaozi? This is a meaningful English essay.
- Can a barber shop shave its head?
- What are the delicious foods in Hefei Haihuihua Market?