Flowgorithm Tutorial

This Flowgorithm Tutorial is a beginner’s guide to get you started with the
flowchart tool. Flowgorithm is a free flowchart software that lets you create runnable flowcharts.

Flowgorithm is a visual programming language designed for beginners and students to learn programming skills.

 

Flowgorithm Tutorial

About Flowgorithm

 

Author

The author of Flowgorithm software is Devin Cook

Flowgorithm Logo Flowgorithm Logo

The Flowgorithm software was created at Sacramento State University.

Download & Install

Windows

The Flowgorithm software uses a Windows Installer and also supports silent installation. It supports both 32-bit and 64-bit architectures.

However, most modern computers and laptops are 64-bit, and the latest version supports 64-bit and needs the .NET framework. Steps to install the software on the Windows operating system:

Flowgorithm Versions

The major versions of the flowchart software are as follows:

Flowgorithm Features

Software programs are written using a text editor or IDE ( Integrated Development Environment). Depending on the programming language, this can be easy or difficult for a beginner. Flowgorithm is a visual programming language. It allows the programmer to visually add flowchart symbols to the flowchart and then execute them to verify the output. Flowgorithm supports many i18n languages. We can create flowcharts in the localized language.

Benefits of Flowgorithm

Flowgorithm Components

Toolbar Icons

Flowgorithm Menu and the Toolbar icons:

Flowchart Symbols

Flowgorithm Data Types

Comment Statement

Flowchart Comments are for other programmers, students, and instructors. They allow others to understand your program and logic.

Input/Output Statement

Basic flowchart input and output statements:

Execute Flowchart

Students can run and execute the flowcharts using the Flowgorithm software. The flowchart execution starts with the “Main” function, which has no parameters. It runs from the top to the bottom symbol, starting with the Main flowchart symbol and ending with the End symbol.

Hello World Flowchart

A common way to learn something new is to create a simple “Hello World” program with the programming language or tools we are learning. The “Hello World” Flowgorithm flowchart prints the “Hello World” message on the output console window.

 

Identifiers

An identifier is a name assigned to a particular variable, function, procedure, or user-defined item. It labels a specific memory location where data is stored, or actions are carried out.

Declare Statement

Assign Statement

A rectangle indicates an assignment statement. It is where a variable is given a new value.

Variables

Layout Windows

Take User Input

If Control

Loops

Loops allow the repetition of statements in the flowchart. Consider the simple example of printing a hundred numbers. We must add a hundred output statements to the flowchart to print the numbers without loops. This will make the flowchart too big and look cumbersome.

Loop structures allow the repetition of statements. So, with a loop, we can add a single Output statement and iterate the loop a hundred times.

While Loop

For Loop

Do While Loop

Nested For Loop

We can nest loop statements inside another loop statement.

Functions

A function is a set of instructions that accomplishes a particular, well-defined task. Functions can be created if tasks require repetition. Flowgorithm functions can be broadly divided into two groups:

  • Intrinsic or Built-in Functions
  • User-defined Functions

Built-in Functions

The flowchart software already predefines built-in functions. The Flowgorithm supports over 20 predefined functions.

User-defined Functions

The programmer defines user-defined functions. The programmer can design their own functions and invoke them in the flowchart. We can define the function once and reuse the function.

Call Statement

The Call statement allows the programmer to invoke functions.

Function Parameters

The programmer can pass information to the functions using the parameters.

Recursion

The Flowgorithm supports recursion. A recursive function is a function that calls itself.

Generate Code

Arrays

An array is a data structure that contains a collection of items. The items stored in an array should be of the same data type. For example, an array that holds Integers can only store whole numbers. Using Arrays, we can store, search, sort, or retrieve data easily.

Flowgorithm Turtle Graphics

Flowgorithm 3.0 introduces a new feature and capability to draw Turtle graphics.

Turtle Graphics Example

File I/O

Flowgorithm 3.0 introduces file capabilities like reading and writing text files from the flowchart.

File Symbols

Read Text File

Write Text File

Export Flowchart

We can export the Floworithm flowchart to an image file. Flowgorithm supports export to PNG(Portable Network Graphics) and SVG(Scalable Vector Graphics) image files.