Site icon TestingDocs.com

Flowgorithm Parallel Arrays

Overview

The parallel arrays technique uses multiple arrays to store related data so that corresponding elements in each array are related. Each array holds data for specific aspects or attributes of the related entity. This programming concept is particularly common in languages that lack data structures like structures, multi-dimensional arrays, etc.

Parallel Arrays

The Flowgorithm tool only supports single-dimensional arrays. To store related information, we can use multiple arrays in Flowgorithm.

Example

For example, consider a scenario where you have information about students and their names. We can use two arrays to store the information related to each student. The subscript of each array stores the related information in the two arrays.

Consider that the two arrays are names and age

names[i] and age[i] hold information of the same student.

 

 

Flowgorithm Tutorials

Flowgorithm flowchart tutorials on this website:

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

Exit mobile version