Here, you can access a list of flowcharts created from original
C++ source code. You can have the original source code from which the
Logiccoder document is created, you can also have the word document but
you will have to make purchase of the logiccoder source code file from
which the word document is generated if you want to edit and regenrate
the flowchart. You will also need to make download purchase of a trial
version of Logiccoder which will cost you an additional US$12.00
Description

Source/ Get logiccoder source file

SEARCH AND PATTERN MATCHING

Search and pattern matching algorithms.

THE BINARY SEARCH ALGORITHM

The Binary Search does search to locate an item in a list consisting
of N values in time proportional to Log_{2} (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)

See flowchart in Ms Word
Purchase LogicCoder
THE LINEAR SEARCH ALGORITHM

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.

See flowchart
in Ms Word
Purchase LogicCoder
STRING SEARCH 1

See flowchart
in Ms Word
Purchase LogicCoder
STRING SEARCH 2

See flowchart
in Ms Word
Purchase LogicCoder
SORTING AND DATA ORDERING

Sorting and Data Ordering Algorithms. These are used to order data
values in memory before other data processing operation is done on them.

BUBBLE SORT

See flowchart
in Ms Word
Purchase LogicCoder
BUBBLE SORT

Here is an alternative implementation of Bubble sort

SELECTION SORT

Sorts a data set by selecting the next ranked value into its correct
sorted location.

See flowchart
in Ms Word
Purchase LogicCoder
INSERTION SORT

See flowchart
in Ms Word
Purchase LogicCoder
INDEX INSERTION SORT

Insertion Sort by way of a pointer array.The inner for loop will not
work correctly whenever k is the smallest value in the array. Therefore,
a sentinel value is place at array element Array[0]. This value is as
small as the smallest value in the array

QUICK SORT

See flowchart
in Ms Word
Purchase LogicCoder
SHELL SORT

See flowchart
in Ms Word
Purchase LogicCoder
HEAP SORT

See flowchart
in Ms Word
Purchase LogicCoder
STANDARD MERGE

See flowchart
in Ms Word
Purchase LogicCoder
MERGE SORT

See flowchart
in Ms Word
Purchase LogicCoder
RADIX SORT

See flowchart
in Ms Word
Purchase LogicCoder
SELECTION

Selection - to select the nth value from N randomly arranged values

TRAVERSAL OF A BINARY TREE 1

Use for data operation on tree structures

TRAVERSAL OF A BINARY TREE 1

Implementation of the above with use of a que structure.

RECURSIVE TRAVERSAL OF A BINARY TREE 1

A recursive implementation of the Binary tree traversal, where the
unner function Traversal is any of the above 2 functions. .

DATABASE PROCESSING

Use the following sample program control algorithms to get solutions
for your own data processing needs. Modify the flowchart to implement
your own program solution and then use your flowchart to regenerate
the source code to implement the solution.

CHEQUEING ACCOUNT

See flowchart
in Ms Word
Purchase LogicCoder
MILEAGE ALLOWANCE

See flowchart
in Ms Word
Purchase LogicCoder
CLUB MEMBERS FEES

See flowchart
in Ms Word
Purchase LogicCoder
CAMPING FEES

See flowchart in
Ms Word
Purchase LogicCoder
TRAFFIC CITATION

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.

See flowchart
in Ms Word
Purchase LogicCoder
FACILITIES RENTAL FEE

See flowchart
in Ms Word
Purchase LogicCoder
HOSPITAL BILL

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.

See flowchart
in Ms Word
Purchase LogicCoder
THE CONTROL-BREAK LOGIC

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.

See flowchart in Ms Word
Purchase LogicCoder

MATHEMATICS AND STATISTICS

Algorithms for doing mathematical and stistical operations. Use these
algorithms as routines in more complex mathematical systems or do modifications
to meet your requirements.

FIND THE AVERAGES

Determine the Mean, Mode, and Median of a set of ordered data values
as an array.

See flowchart
in Ms Word
Purchase LogicCoder
MATRICES SYMETRY

Determine if a matrix with regular diagonal elements is symtrical or
not.

See flowchart
in Ms Word
Purchase LogicCoder
GREATEST COMMON DIVIDOR

Euclid's Algorithm - to find the Greatest Common Divisor between two
integers U and V. Determine the greates comon devider of a pair of integer
values U and V. This algorithm uses the Uclid method.

See flowchart
in Ms Word
Purchase LogicCoder
GREATEST COMMON DIVIDOR TEST

Program to run input and output test on the algorithm that finds the
Greatest Common Factor of two positive integer values.

GET PRIME NUMBERS BETWEEN RANGE

Select the set of prime numbers between a range of values. I have not
spent enough time to determine the actual running time of this implementation
but it appears 'trivial from first sight'.Nevertheless, it may prove
to be very useful in practice and therefore should not be quickly ignored.

See flowchart
in Ms Word
Purchase LogicCoder
FABONACI NUMBER

Determine the fabonci number for

See flowchart in
Ms Word
Purchase LogicCoder
FRACTAL

Does recursive calculation on a given shapr parameter values and then
draw the shapes recursively at given point along selected parameters
on the shape boundary. In this case, the shape is a box.

See flowchart in
Ms Word
Purchase LogicCoder
Select All