Algorithms and PROGRAMMING
Algorithms and PROGRAMMING
Programming
PROCESS OF PROGRAM DEVELOPMENT
PROCESS OF PROGRAM
DEVELOPMENT
S TA G E S O F P R O G R A M D E V E L O P M E N T P R O C E S S
1 . P R O B L E M A N A LY S I S A N D P L A N N I N G :
This stage deals with the flow of the program, the way it
should produce output and gather inputs, the interface or the
working environment of the program, and how it should be
used.
The software developer makes use of tools like algorithms and
flowcharts to develop the design of the program.
o Algorithm
o Flowchart
F L O W C H A RT I N G S Y M B O L S
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Flowchart
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Example 2: The following pseudo-code describes an algorithm
which will accept two numbers from the keyboard and calculate
the sum and product displaying the answer on the monitor screen.
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Decision Structure or Selection Structure
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Decision Structure or Selection Structure
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Decision Structure or Selection Structure
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Decision Structure or Selection Structure
ALGORITHM/PSEUDOCODE TO
F L O W C H A RT E X A M P L E S
Practice Activity -
Input- Read L
Output-" Print area"
Practice Activity -
For effective coding some of the guide lines which are applied
are :
A. DESK CHECKING
B . T R A N S L AT I O N
C. DEBUGGING
A. DESK CHECKING
• Uninitialization of variables.
• Reversing of order of operands.
• Confusion of numbers and characters.
• Inverting of conditions e.g., jumping on zero instead of on
not zero.
5 . D O C U M E N T AT I O N :