Introduction To Computer Programming
Introduction To Computer Programming
TO COMPUTER
PROGRAMMING
What is a Computer Program?
https://potomac.edu/why-learn-programming/
Program
Development
Cycle /
Programming
Cycle / System
Development
Life Cycle
1. Problem Definition
• The first step in the process of program
development is the thorough understanding and
identification of the problem for which is the
program or software is to be developed.
• In this step the problem has to be defined
formally.
2. Program Design
• The software developer makes use of tools like
algorithms and flowcharts to develop the design
of the program.
• Algorithm
• Flowchart and Pseudocode
Algorithm Example:
• is a step-by-step
procedure to
resolve any
problem.
• an effective
method expressed
as a finite set of
well-defined
instructions.
Flowchart Example:
• a diagram that depicts
a process, system or
computer algorithm.
• a graphical
representation of a
computer program in
relation to its
sequence of functions
(as distinct from the
data it processes).
Oxford Dictionary
https://www.lucidchart.com/pages/
what-is-a-flowchart-tutorial
Flowchart
Example:
3. Program Coding
• Once the design process is complete, the actual
computer program is written, i.e. the instructions
are written in a computer language.
• Coding is generally a very small part of the entire
program development process and also a less time
consuming activity in reality.
• All the syntax errors i.e. errors related to spelling,
missing commas, undefined labels etc. are
eliminated.
1
2 ,3
5
6
4. Testing and Debugging
• The program is tested on a number of suitable test
cases.
• A test plan of the program has to be done at the
stage of the program design itself.
• At this stage the errors in the programs are
detected and corrected.
• This stage of program development is an
important process.
• Debugging is also known as program validation.
5. Documentation
• Documentation help the users and the
people who maintain the software.
• This ensures that future modification if
required can be done easily. Also it is
required during redesigning and
maintenance.
6. Maintenance
• Updating and correction of the program for
changed conditions and field experience is
accounted for in maintenance.
• Maintenance becomes essential in following
situations:
• Change in specification,
• Change in equipment,
• Errors which are found during the actual execution
of the program.
References:
•https://www.tutorialspoint.com/computer_programming/computer_programming_tutorial.pdf
•https://www.pearsonhighered.com/assets/samplechapter/0/3/2/1/0321537114.pdf
•https://www.geeksforgeeks.org/difference-between-algorithm-and-flowchart/
•https://www.cseworldonline.com/articles/stages-of-program-development-process.php
•https://www.visual-paradigm.com/servlet/editor-content/tutorials/flowchart-tutorial/sites/7/2018/09/flowchart-
example-calculate-profit-and-loss.png
•https://engineerstutor.com/wp-content/uploads/2018/08/1-7.jpg
•http://www.zuks.javak.co.za/client/images/illustrations/simpleJavaCode.png
•https://www.thecrazyprogrammer.com/wp-content/uploads/2018/04/Difference-between-Flowchart-and-
Algorithm.jpg
•https://miro.medium.com/max/508/0*24zDObQ_OUStwcIB.png
•https://c.mql5.com/6/792/Untitled.png