THE AUTOMATED FLOWCHART DESIGN AND CODE WRITING SYSTEM

Home || Contact us ||Upload source code || Register to use service || User Login xxxxxx
Sample Flowcharts for Well-known Algorithms
About LogicCoder About LogicExtractor Free Downloads Online Services The Sorting Problem  
> About our services
> Register to use service
> Partnership programme
> Free downloads
> More sample flowcharts
> Shop online
> Programming books
> Free code translation
> Contact us

 

 

 

 

 

 

 

 

 

LIST OF SAMPLE PROGRAM FLOWCHARTS AND THE TOP-DOWN DESIGN APPROACH

A programming language is a textual system through which a programmer can write instructions to be executed on a computer system. Some programming languages uses textual statements and expressions that are very similar to those found in everyday natural languages. These are called High Level Programming langagues. In this case, program command must be translated to machine code before they can be executed on a target machine.

Use LogicExtractor to generate flowcharts from your source code to get a accurate view of your code logic and to document your code.

Use LogicCoder to integrate the phases in your system development cycles.

LogicExtractor is a concise code evaluation and maintenance Graphical User Interface(GUI) Software Tool for Programmers and System Developers. With LogicExtractor you can quickly re-engineer your software system in a very precise and cost effective manner. You can integrate the functionality of LogicExtractor with that of LogicCoder to develop a powerful cost effective system for software development and maintenance. If you do have source code that you need to make sense of, to document its usefulness, for general maintenance or to re-engineer, LogicExtractor is the tool that you are looking for to do the job.


Use the following form to send us a service request messge in this regards

MORE SAMPLE FLOWCHARTS FOR WELL KNOWN ALGORITHMS

You can also purchase these flowcharts with their sample source code in Java, ANSI C/C++, JavaScript, PHP, BASIC or Visual Basic

Here is a Hierarchy Diagram of a Software System with modules that let the user create and mail merge a sales letter. The system also let the user print the mailing labels. The Hierarchy diagram shows all the modules in the system and their interrelationship. The proceeding table then gives a list of individual flowchart for control logic that implement each module. This design method is called Functional Decomposition or Top-down design. NOTE that both the hierarchy diagram and the sets of flowcharts document the Software System Design.

Note that I have not given you the break down for the last module in this hierarchy diagram.

The set of flowcharts that constitute the whole software system is given in the following table.

Description FLOWCHART - Control Logic Source Languages

The control logic for a menu driven software system that creates sales letters by mail merge along with mailing labels.

The flowchart uses the Switch-case structure along with functions/subroutine to implement the program that display the menu and allow users to execute functions within the menu system. The main control logic is an abstract view of the whole system.

You can use the logiccoder document file for this control logic to implement similar or the same program in the same or in different source languages without making any mistake on the coding of the control logic. You cam also use logiccoder to do modification to this control logic to implement more complex systems.

 

BASIC and ANSI C++

 

 

 

BASIC and ANSI C++

The subroutine/function control logic in the program that Display the Menu and gets a selection from the user.

NOTE that these control logic uses iterative as opposed to recursive looping to implement repetitive operations. Hence their implementation in a source language makes very efficient use of time and hardware resources on the computer system.

 

BASIC and ANSI C++

The control logic to be used for printing a list of the customers in the user database system. Modify this control logic with the use of LogicCoder to print any similar set of data values in any program language supported by logicCoder.

 

BASIC and ANSI C++

The function that obtain a valid City and Country address is very similar to the control logic that obtain a valid Title and name. Therefore, you can use logiccoder to create a template or generic control structure and then use it to generate the source code for both of these functions.

In addition, because you can load different source code and deferent description text into the same flowchart, you can use a single flowchart to document both functions.

 

BASIC and ANSI C++

 

 

BASIC and ANSI C++

 



 

 

 

 

BASIC and ANSI C++

 

 

 

BASIC and ANSI C++

  Select All
 

 

STRING HANDLING ALGORITHMS
DESCRIPTION ALGORITHM FLOWCHART
I'll put some more in here later on and I will let you have them in Ms Word format also.
Function to search for a substring in a larger string. There are no start or end delimiting characters. Therefore, the substring can also appear within another delimited or undelimted substring. Both this and the next function returns the first character position where the substring is located. The function returns zero when the substring is not located. Therefore, the function only returns the first occurrence of the substring in the larger string.Use the 3rd overloaded version of this function to specify the start location in the larger string where you want the search to begin. Flowchart to be presented here

ANSI C++

Function to search for a substring in a larger string with given delimiting characters. The first delimiting character specify the character type that must delimit the start of the substring and the second delimiting character specify the character that must delimit the end of the substring when it is located in the larger string. NOTE that most overloaded functions have simple variation in their implementation.

You can use LogicCoder to quickly and easily design and code overloaded functions in ANSI C++

Flowchart to be presented here

ANSI C++

 

An algorithm that gets a string of given length from a user from the standard input device and then prints out the first set of characters as specified by the user.

 

ANSI C++

  Select All
 

 

A set of well-known routines implemented in ANSI C/C++ for doing Search and String/Pattern Matching and data file processing.
Description FLOWCHART - Control Logic Source Languages
In this implementation, the algorithm is actually been used to do search on a Company database system to extract related data whenever the user enters a company name. The essential part of this control logic that implement the linear search is highlighted red and is nested within the last outer loop of the control logic.

BASIC and ANSI C++

The Binary Search does search to locate an item in a list consisting of N values in time proportional to Log2(N). However, the data set must first be ordered for the algorithm to work. In comparison to the Linear Search algorithm, the average time taken to locate a single value depends on the manner in which the search data value is distributed within the set. Statistical analysis shows an expected time of O(N)

NOTE that in this algorithm I have added an extra section of control logic at the exit of the main processing loop - the yellow and dark green sections.

Use logiccoder to convert this search algorithm to other source programming language such as VB., JavaScript and so on or just to do modification or implementation to meet your specific requirement.

Click here to see the original source code in ANSI C/C++

 

BASIC and ANSI C++

You can modify the control-break logic so that it does any kind of switch in data processing pattern whenever a sequence of data values in a selected field(s) of records in a data file changes. The flowchart illustrated here is a simple example implementation of this system. However, you can use LogicCoder to do quick modification in more than one way to implement your own required control logic. For example, you can abstract section of the control logic and then replace the abstracted section with your own abstract control logic.

 

BASIC

     
Here is the control logic for a routine that determine/calculate monthly membership dues base on the age of individual members. The routine also accumulates the total dues for all members and it counts the total number of members in the club. The next flowchart extend this control logic so that it deals with new members to the club. But new members are distinguished by organisational position of their record in the data file. In addition, they must all be processed together in a sequential manner. Therefore, a more appropriate and efficient control logic to use would be the Control-break logic.

BASIC

Note that this control logic is against the principle of efficient program flowchart design because it uses two loops that has exactly the same form and purpose. A single loop is more appropriately efficient for implementation of the intended processes in this flowchart. For instance, the Control-Break logic can easily be used to process the sets of records that this loop logic structure is designed to process.

Using LogicCoder to highlight sections of a flowchart helps you to quickly identify inefficient implementation of problem solutions.

BASIC

The control logic for a program that iterate through a data file with information on traffic violation. The control logic for the implemented program does processing for the number of traffic violation and their associated fines and penalties.

BASIC and ANSI C++

Here is the control logic for a function that calculates a hospital accommodation bill base on service type, patient care and patient accommodation room type. There are many other kinds of similar accommodation bill calculation services such as Hotel accommodation or Seminar accommodation or exhibition accommodation Note that this bill calculation routine uses sequential file with data stored in a database system.

NOTE that LogicCoder has special functions that you can use to highlight certain elements or section of a flowchart base on a given condition. For instance, you can choose to highlight all symbols with a selected colour that has a call of a selected function. In this case, I've highlighted all symbols that uses the printf( ) function with a bright green colour.

BASIC and ANSI C++

     
  Select All
 

 

A set of flowcharts/control logic that does input/output operations on user data mainly for the purpose of conversion
Click here to see the original source code

 

BASIC and ANSI C++

An abstracted view of the above control logic.

logicCoder provides you with functions that you can use to create abstracted view on selected section of a control logic. You can also expand this abstracted view to get back the original detail they represent.

 

Click here to see the original source code

 

BASIC and ANSI C++

  Select All
 

You can get copy of these flowcharts as LogicCoder source document with the original source code statements in the selected language from which you can regenerate the original source code. You can also edit the control logic and then regenerate the source code from the edited control logic.

This page is not complete!!

Click here to make purchase of selected flowcharts