Basics of CSC Venite University
Basics of CSC Venite University
Properties of algorithm
Donald Ervin Knuth has given a list of five properties for a, algorithm, these
properties are:
It means after every step one reach closer to solution of the problem and after
well thought actions to be performed at each step of the algorithm. Also the actions
output from an algorithm. The result may be obtained at different stages of the
algorithm. If some result is from the intermediate stage of the operation then it is
known as intermediate result and result obtained at the end of algorithm is known
Actually operations should be basic, so that even they can in principle be done
exactly and in a finite amount of time by a person, by using paper and pencil only.
Definition of a Flowchart
The flowchart is a diagram which visually presents the flow of data through
processing systems.
Flowchart Symbols
Process. This is not a complete list of all the possible flowcharting symbols, it is the
1. All boxes of the flowchart are connected with Arrows. (Not lines)
2. Flowchart symbols have an entry point on the top of the symbol with no other
entry points. The exit point for all flowchart symbols is on the bottom except for the
Decision symbol.
3. The Decision symbol has two exit points; these can be on the sides or the bottom
• From the bottom of the page to the top of the same page.
6. Subroutines and Interrupt programs have their own and independent flowcharts.
7. All flow charts start with a Terminal or Predefined Process (for interrupt programs
or subroutines) symbol.
symbols that have been in use for a number of years to represent the type of
common method for people to visualize problems together in the same manner. The
use of standardised symbols makes the flow charts easier to interpret, however,
up the process.
the logic of a system and steps involve in the solution, to all concerned particularly
the problem.
become easier.
into computer program. Writing code referring the flowchart of the solution become
easy.