Lesson 3 - Program Development Life Cycle
Lesson 3 - Program Development Life Cycle
UNIVERSITY
Owned and operated by the City Government of Urdaneta
Learning Objectives
At the end of the module, the I.T. students will be able to:
• Appreciate the value of program development life cycle
• Identify and differentiate the functions of basic flowcharting symbols.
• Simulate and understand the process of flowcharting
• Draw a flowchart related to the given problems.
Learning Content
Program Development Life Cycle
• Defining the Problem
• Designing the Program
• Coding the Program
• Testing and Debugging the Program
• Documenting the Program
• Deploying and Maintaining the Program
Flowchart
• Types of flowchart
• Basic flowcharting symbols
Generally, the program development life cycle contains 6 phases, they are as follows….
• Problem Definition
• Problem Analysis
• Algorithm Development
• Coding & Documentation
• Testing & Debugging
• Maintenance
1. Defining the Problem – In this phase, we define the problem statement and we decide
the boundaries of the problem. In this phase we need to understand the problem
statement, what is our requirement, what should be the output of the problem
solution? These are defined in this first phase of the program development life cycle.
2. Problem Analysis - In phase 2, we determine the requirements like variables, functions,
etc. to solve the problem. That means we gather the required resources to solve the
(075) 600 - 1507
San Vicente West, Urdaneta City, Pangasinan
Bright future starts here ucu.edu.ph | [email protected]
URDANETA CITY
UNIVERSITY
Owned and operated by the City Government of Urdaneta
problem defined in the problem definition phase. We also determine the bounds of the
solution.
• Decision tables – A Decision table is a special kind of table, which is divided into four
parts by a pair of horizontal and vertical lines.
• Pseudocode – A pseudocode is another tool to describe the way to arrive at a solution.
They are different from algorithm by the fact that they are expressed in program
language like constructs.
3. Coding the Program / Algorithm Development – During this phase, we develop a step
by step procedure to solve the problem using the specification given in the previous
phase. This phase is very important for program development. That means we write
the solution in step by step statements.
4. Testing and Debugging the Program – During this phase, we check whether the code
written in the previous step is solving the specified problem or not. That means we test
the program whether it is solving the problem for various input data values or not. We
also test whether it is providing the desired output or not.
5. Documenting the Program – After testing, the software project is almost complete.
The structure charts, pseudocodes, flowcharts and decision tables developed during
the design phase become documentation for others who are associated with the
software project. This phase ends by writing a manual that provides an overview of the
Programming Flowcharts
A flowchart is a graphical representation of various logical steps of a program. These
expressions use several shapes, including the geometric ones, to show the step-by-step
process with arrows while establishing a data flow. There are 21 different types of
flowcharts, and a programming flowchart is one of them.
The program flowchart is a data flow that shows the data flow while writing a program or
algorithm. It allows the user to explain the process quickly as they collaborate with others.
These programming flowcharts also analyze the logic behind the program to process the
code of the programming. The programming flowcharts can serve in different ways. For
example, they can analyze the codes, visualize and work on them. They can also help figure
out the application's structure to realize how a user navigates in a tool.
The programming flowcharts improve the condition and efficiency of work. The tool has
four basic symbols that have code written on them for programming. They give commands
like start, process, decision, and end, and these symbols are the crucial part of the
programming flowcharts. They help in forming a relationship between various elements to
describe the data flow.
Flowchart Symbols
For creating a programming flowchart, the user needs programming flowchart examples.
The flowcharts use diagrams to express an algorithm, and hence flow charts are very helpful
in creating and analyzing the details of a program. The flow charts use some symbols that
can explain the logic of programming connected with the flowchart elements. Here are
some widely-used programming flowchart symbols.
Indicate a Decision
Diamond
Data
Symbols
Data symbols clarify where the data your flowchart references is being
stored. (You probably won’t use the paper tape symbol, but it definitely
came in handy back in the day.)
Input &
Output
Symbols
Input and output symbols show where and how data is coming in and out
throughout your process.
Merging &
Connecting
Symbols
Agreed-upon merging and connector symbols make it easier to connect
flowcharts that span multiple pages.
Additional
Useful
Flowchart
Symbols
The above are a few additional symbols that prove your flowcharting
prowess when put to good use.
Finding the most significant number among the three numbers: Programming flowchart:
With the help of a programming flowchart, determining the most significant number
becomes easy. The flow chart starts with a terminal name "start" and then gradually
proceeds through the stage "declare variable a, b & c." The input for the program is "Read a,
b & c." The process of decision-making takes on from this part. First, the logic flow
determines if a is greater than b. If this is false, then it goes on to determine if b is greater
than c. If it is true, then the given command is "print b." If b>c ends with the decision false,
then "print c." If a>b is true on the first stage, then the command furthers with a>C. If the
decision is true, then the command is "print c," and if it is false, then "print a." The whole
process ends with the stop terminal.
Learning Activities/Tasks*
• Write an algorithm and flowchart that will accept the grade of a student and display
if the student is passed or failed. Where grade of 75 and above is passed otherwise
display failed. (use this online application to run your program
https://www.onlinegdb.com/online_c++_compiler or you may use your preferred
application)
• Summative test using google form.
Learning Resources
Software Engineering | Program Development Life Cycle (PDLC) - GeeksforGeeks.
(2018, November 2). Retrieved October 11, 2021, from GeeksforGeeks website:
https://www.geeksforgeeks.org/software-engineering-program-
development-life-cycle-pdlc/
Rajinikanth. (2021). C Tutorials - Program Development Life Cycle. Retrieved October
11, 2021, from Btechsmartclass.com website:
http://www.btechsmartclass.com/c_programming/C-Program-Development-
Life-Cycle.html
Compiled by:
CHRISTIAN C. MEQUIN
Subject Instructor
ELMER D. VALDEZ
Subject Instructor