Lesson 1 Introduction To Programming Concepts
Lesson 1 Introduction To Programming Concepts
Example: Let us say that you have a friend arriving at the bus station, and your friend needs
to get from the bus station to your house. There are different algorithms that you might give
your friend for getting to your home.
1. Problem Definition/Analysis
In this phase, all activities are associated with finding out what is to be
done, how, for whom and when. Input, output and processing
requirements are defined. End product of this phase are functional
specifications, input/output layouts and system flowchart.
2. Algorithm Design
The logical structure of program has to be designed. Program
design includes a delineation of the functions to be performed by
the program and their logical interrelationship. The end product of
the design is a graphical representation such as a program
structure or flowchart, pseudocodes, hierarchical charts, decision
table, etc.
3. Program Coding
Coding is the process of translating the logical design into
programming language code.
4. Debugging
This is the process of identifying, locating, and correcting errors
in the program. In this phase, two types of errors may be
uncovered:
6. Documentation
This is the process of writing down explanations or classifications about
the program by using ordinary language.
7. Implementation
This is the phase where the programs are fully tested and put into
production for actual use.
Problem #1: Input two numbers and find their sum.
FN – Frist Number
SN – Second number
SUM = FN + SN
FN – Frist Number
SN – Second number