Design linear process with Flowchart

Why this matter

Flowchart is a graphical representation of an algorithm. Programmers often use it as a program-planning tool to solve a problem.

image-1623332525552.png image-1623332609666.png

Check your understanding

image-1623332554285.png

Which share is used for?

  • Terminal (Start/Stop)

  • Input/Output

  • Processing (instruction)

  • Decision

  • Connectors

How to?

  • Illustrate loop for 5 times?

  • Illustrate a loop for 5 times, but escape the loop on a condition?

  • Parallel process?

  • Start a process only if all previous parallel process is complete?

Difference between algorithm and flow chart

Algorithm

Flowchart

Algorithm is step by step procedure to solve the problem.

Flowchart is a diagram created by different shapes to show the flow of data.

Algorithm is complex to understand.

Flowchart is easy to understand.

In algorithm plain text are used.

In flowchart, symbols/shapes are used.

Algorithm is easy to debug.

Flowchart it is hard to debug.

Algorithm is difficult to construct.

Flowchart is simple to construct.

Algorithm does not follow any rules.

Flowchart follows rules to be constructed.

Algorithm is the pseudo code for the program.

Flowchart is just graphical representation of that logic.

Reference

drawio-app.com/flowcharts/

geeksforgeeks.org/an-introduction-to-flowcharts/

geeksforgeeks.org/difference-between-algorithm-and-flowchart/