2023-12-12 15:27:00 +01:00
|
|
|
# Flowchart (ISO 5807)
|
|
|
|
{:.no_toc}
|
|
|
|
|
|
|
|
<nav markdown="1" class="toc-class">
|
|
|
|
* TOC
|
|
|
|
{:toc}
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
## The goal
|
|
|
|
|
|
|
|
Flowcharts can be used to plan a program. I will try to emulate the norm ISO 5807.
|
|
|
|
|
|
|
|
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
|
|
|
|
2023-12-12 14:57:09 +01:00
|
|
|
|
|
|
|
## Terminal
|
2023-12-12 15:07:19 +01:00
|
|
|
|
|
|
|
### Beginning of a program or function
|
|
|
|
|
2023-12-12 14:26:22 +01:00
|
|
|
{% raw %}
|
2023-12-12 14:33:06 +01:00
|
|
|
<pre class="mermaid">
|
2023-12-12 14:57:09 +01:00
|
|
|
flowchart LR
|
2023-12-12 15:21:27 +01:00
|
|
|
id1([Start])
|
2023-12-12 14:33:06 +01:00
|
|
|
</pre>
|
2023-12-12 15:07:19 +01:00
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
### Ending of a program or function
|
|
|
|
|
|
|
|
{% raw %}
|
2023-12-12 14:57:09 +01:00
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1([Stop])
|
|
|
|
</pre>
|
2023-12-12 14:26:22 +01:00
|
|
|
{% endraw %}
|
2023-12-12 12:40:32 +01:00
|
|
|
|
2023-12-12 15:07:19 +01:00
|
|
|
## Process
|
|
|
|
|
|
|
|
For arithmetic operations and data-manipulations.
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1(Process)
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
## Decision
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1{Decision}
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
## Input/Output
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1[/Input/]
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
## Function
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1[[Function]]
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
2023-12-12 15:18:01 +01:00
|
|
|
## Initialization
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1{{Initialization}}
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
## File
|
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
<pre class="mermaid">
|
|
|
|
flowchart LR
|
|
|
|
id1[(File)]
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-12 14:57:09 +01:00
|
|
|
|