Steps in Program Planning and Development
Steps in Program Planning and Development
1
Electronic Data Processing Concept
2
IPO DIAGRAM
Input
Output
PROCESS
Algorithm
3
Input
Output
Definiteness
Finiteness
effectiveness
Digital Computer
5
Like an algorithm
Components of computer program
Data
Instructions for manipulating data
Is written using a certain computer programming
language
Computer Programming Language
9
Note!
Used to write a valid computer program
Types of Computer Programming Languages
10
Low-Level Languages
Machine language
Assembly language
High-Level Languages
FORTRAN
ALGOL
COBOL
BASIC
PASCAL, C++ AND JAVA
LOW-LEVEL LANGUAGE
11
a problem-solving activity.
A person with good problem solving skills will tend
to be good programmers.
Steps in program planning and development
15
1. problem analysis
2. setting up an algorithm
3. coding
4. encoding
5. running, testing, and debugging
6. documentation
Problem Analysis
16
After the problem has been clearly defined, a list or sequence of steps
that will solve the given problem must be formulated. This sequence of
steps is called an algorithm.
An algorithm can be described in many ways. A natural language such
as Filipino, English, or Chinese can be used but we must be very careful
that the algorithm be organized in a logical and clear manner.
Graphical forms or notations such as flowcharts can be used, an
improvement of the former, but is more sophisticated. It is important
to note that in whatsoever manner an algorithm is written, it remains to
be NOT executable simply because it cannot be entirely understood by
the computer.
To cite an example, let us use the final grade problem. A possible
algorithm written in English that will solve the problem would be:
19
{ Get TE score.
double fQ1, fQ2; cin>>fTE;
double fMP1, fMP2;
double fFE, fTE, fFG;
fFG = 0.50 * ((fQ1 + Calculate FG.
Get Qz1 and Qz2 scores. fQ2)/2) + 0.15 * ((fMP1 + fMP2)/2) +0.3 *
cin>> fQ1; fFE + 0.05 * fTE;
cin>> fQ2;
Display the final grade
Chapter 1:
An Introduction to Programming
Chapter Objectives
34
1. Analytical skills
2. Communication skills
3. Creativity
4. Customer-service skills
5. Detail oriented
6. Problem-solving skills
7. Teamwork
8. Technical skills
37
Employment Opportunities
38
Machine languages
Assembly languages
High-level procedure-oriented languages
High-level object-oriented languages
Machine Languages
40