CP2 Module 1 - Program Development Life Cycle
CP2 Module 1 - Program Development Life Cycle
COMPUTER PRORAMMING 2 2
PROGRAM DEVELOPMENT LIFE CYCLE
• A systematic way of organizing and developing quality
program or software.
• Provides an organized plan for breaking down the task of
program development into manageable chunks.
• Unbroken steps of defining, coding, compiling, executing,
and fine-tuning the program until it is free from all errors
and generates the expected output.
COMPUTER PRORAMMING 2 3
PROGRAM
CODING
MAINTENANCE IMPLEMENTATION
COMPUTER PRORAMMING 2 4
STEP 1 PROBLEM ANALYSIS
• Define and analyze the problem
• Identify program specification
• Data used in the program
• Process to find the solution
• Format output and User Interface
COMPUTER PRORAMMING 2 5
STEP 1 PROBLEM ANALYSIS
• Example:
• Write a program that will calculate the employee’s pay
based on the rate and work hours.
1. Rate
2. Hours Rate x Hours Pay
COMPUTER PRORAMMING 2 6
STEP 2 PROGRAM DESIGN
• focusing on the main goal of the program then break to
smaller manageable components
• Top-bottom program design or modular approach
• Use of program design tools:
• Algorithm
• Pseudocode
• Flowchart
• Structured charts
COMPUTER PRORAMMING 2 7
STEP 2 PROGRAM DESIGN
STRUCTURED
ALGORITHM PSEUDOCODE FLOWCHART
CHART
• step-by-step • a kind of • diagram that • show top-down
description of structured shows the logic design of
how to arrive at a English for of the program program
solution describing • use simple • Each box in the
algorithms geometric structure chart
• expressed in shapes to depict indicates a task
program processes and that program
language like arrows to show must accomplish
constructs process/data
flow and
relationships
COMPUTER PRORAMMING 2 8
STEP 2 PROGRAM DESIGN
Algorithm
1. Determine working hours Structured Chart
2. Determine employee rate Generate Pay
3. Calculate the pay by
multiplying working hours
Get hours Calculate
and employee’s rate and rate Pay
4. Display employee’s pay
Display
Pay
COMPUTER PRORAMMING 2 9
STEP 3 PROGRAM CODING
COMPUTER PRORAMMING 2 11
STEP 5 IMPLEMENTATION
COMPUTER PRORAMMING 2 12
STEP 6 MAINTENANCE
• Fix program errors and updates the software
• Provide back-ups and storing data files in safe places
• Documentation a written description of the program
cycle and specific facts of the program
✓ Description of the program
✓ Program Design Tools
✓ Data-record descriptions
✓ Program listing
✓ Testing results
✓ Comments
COMPUTER PRORAMMING 2 13
COMPUTER PRORAMMING 2 14
Resources:
• Padre, Nilo M. et al. (2016). Programming Concepts Logic Formulation, 1st ed.
Manila: Unlimited Books Library Services & Publishing, Inc.
• Software Engineering. (2019). Program Development Life Cycle (PDLC).
Retrieved from https://www.geeksforgeeks.org/software-engineering-
program-development-life-cycle-pdlc/
• Teacher Kayla [Learn with Teacher Patrick & Teacher Kayla]. (2020, January 3).
Program Development Cycle [Video]. YouTube.
https://www.youtube.com/watch?v=lH-YZMsh0sA
COMPUTER PRORAMMING 2 15
COMPUTER PRORAMMING 2