TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Flowgorithm

Flowgorithm Array Types

Overview

In this tutorial, we will learn about Flowgorithm Array Types. In general, Arrays are classified based on their dimensions. For example,

  • One-Dimensional Array ( 1D Array)
  • Multi-dimensional Arrays
    • Two-Dimensional Array ( 2D Array )
    • Higher dimensions.

Flowgorithm only directly supports only one-dimensional array as of now.

Single Dimensional Array

Single dimensional arrays have only one dimension either a row or a column. The fruits array is an example of a single-dimensional array. We can refer to the single-dimensional array as a 1D array in short form. We need only one index to refer to the array element.

Two-Dimensional Array

Two-dimensional arrays have both rows and columns. A chessboard is an example of a two-dimensional array. We can refer to the two-dimensional array as a 2D Array in short form. We need two index variables to refer to each array element. One index for the row and another for the column.

For example:
Each square can be thought of as an array element and can be referred to as

board[i][j]

i is the index for the row and j is the index for the column.

In Chess game terminology, the row is called rank and the column is called a file on a chessboard.

A normal Chessboard with 8 rows and 8 columns.

Chess Board TDocs

 

Note that: 2D Array support is not directly available in Flowgorithm. For example, we cannot represent the two-dimensional array as arr[3,3].

Flowgorithm Arrays

We can also classify Flowgorithm Arrays based on the data types of the elements. Flowgorithm supports

  • Integer Array
  • Real Array
  • String Array
  • Boolean Array

—

Flowgorithm Tutorials

Flowgorithm flowchart tutorials on this website:

https://www.testingdocs.com/flowgorithm-flowchart-tutorial/

Flowgorithm Website

For more information on the Flowgorithm tool, please visit the official website at:

http://flowgorithm.org/

Related Posts

Print Triangle Pattern Flowchart

Flowgorithm /

Print Triangle Pattern Flowchart

Flowgorithm Breakpoint Symbol

Flowgorithm /

Flowgorithm Conditional Breakpoint Statement

File Read Declare Variables

Flowgorithm /

Flowgorithm Read Numbers from File Example

File Search Input File Flowgorithm

Flowgorithm /

Search Text File Flowchart Example

Flowgorithm Turtle Graphics Symbols

Flowgorithm /

Flowgorithm Turtle Graphics Symbols

‹ Getting User Input in Flowgorithm Flowchart› Flowchart Decisions in Flowgorithm

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version