SlideShare a Scribd company logo
1 of 46
Program Development Cycle
Prepared by:M.Robeel
ProgramDevelopment;Ch#13
1
What Is a Computer Program?
• A set of instructions that directs a computer to perform the
tasks necessary to process data into information
ProgramDevelopment;Ch#13
2
The Program Development Life
Cycle
• Analyze or define the problem
• Design programs
• Code programs
• Test programs
• Formalize solution
• Maintain programs
ProgramDevelopment;Ch#13
3
Program Development
ProgramDevelopment;Ch#13
4
The program development life
cycle (PDLC) is an organized
method of software development
that bears many similarities to the
system development life cycle
(SDLC)
The Need for PDLC:
BetterSoftware,Please
ProgramDevelopment;Ch#13
5
Designing the
program
Coding the
program
Testing & debugging
the program
Formalizing the
solution
Maintaining the
program
Specifying the
problem
A Few Definitions
• Programming is also known as software
development.
• Programming is problem-solving
procedures which follows a
six-step process in
developing instructions
or programs.
• Programming is the creation of lists of
instructions for a computer.
ProgramDevelopment;Ch#13
6
Sunday,March8,2020
ProgramDevelopment;Ch#13
7
Computer Program - a collection of
instructions, or statements (code) carried
out by the computer’s CPU.
Programmers need
a model of the logical
process before they
can write the code.
Sunday,March8,2020
Writing a Program
• Step 1: Program specification or defining the problem or
Program Analysis.
• Step 2: Develop an algorithm (or a step-by-step description of
how to arrive at a solution).
• Step 3: Code or write the program.
• Step 4: Test the program and eliminate syntax and logic errors.
ProgramDevelopment;Ch#13
8
Writing a Program
• Step 5: Complete the documentation or description of the
purpose and process of the program.
• Step 6: Implement and maintain the system.
ProgramDevelopment;Ch#13
9
Sunday,March8,2020
The Program Development Life
Cycle:
ProgramDevelopment;Ch#13
10
Sunday,March8,2020
What Initiates the Program
Development Life Cycle?
• End of the analysis phase of the system development life cycle
• Program specifications
• Program development life cycle (PDLC)
• Programming team
• Programmer Scarcity video
ProgramDevelopment;Ch#13
11
Sunday,March8,2020
Six Steps in Developing a
Program: Step #1
Define the Problem
• needed output
• available input
• definition of how to transform available
input into needed output (or processing
requirements).
ProgramDevelopment;Ch#13
12
Sunday,March8,2020
What Is the Desired
Outcome?
• Programming languages that do
“end-user work” are referred to as
application software.
• Programming languages that control
computer operations are referred to as
system software.
ProgramDevelopment;Ch#13
13
Sunday,March8,2020
Step 1 – Analyze Problem
• Review the program specifications package
• Meet with the systems analyst and users
• Identify the program’s input, output, and processing
requirements (IPO)
• IPO chart
ProgramDevelopment;Ch#13
14
Sunday,March8,2020
What Initiates the Program
Development Life Cycle?
• End of the analysis phase of the system development life cycle
• Program specifications
• Program development life cycle (PDLC)
• Programming team
• Programmer Scarcity video
ProgramDevelopment;Ch#13
15
Sunday,March8,2020
Step 1 – Analyze Problem
• Review the program specifications package
• Meet with the systems analyst and users
• Identify the program’s input, output, and processing
requirements (IPO)
• IPO chart
ProgramDevelopment;Ch#13
16
Sunday,March8,2020
POS Chart –Assists in Analyzing a
Program
ProgramDevelopment;Ch#13
17
Sunday,March8,2020
Step 2 – Design Programs
• Group the program activities into modules
• Devise a solution algorithm for each module
• Test the solution algorithms
ProgramDevelopment;Ch#13
18
Sunday,March8,2020
Step 2 – Design Programs:
• Top-down design
• Identify the major activity of the program
• Break down the original set of program specifications
into smaller, more manageable sections which makes
it easier to solve that the original one.
• Continue to break down subroutines into modules
which is a section of a program dedicated to
performing a single function.
• Hierarchy Chart or Top-Down Charts
ProgramDevelopment;Ch#13
19
Sunday,March8,2020
What Initiates the Program
Development Life Cycle?
• End of the analysis phase of the system development life cycle
• Program specifications
• Program development life cycle (PDLC)
• Programming team
• Programmer Scarcity video
ProgramDevelopment;Ch#13
20
Sunday,March8,2020
Six Steps in Developing a
Program: Step #2
Design the Solution to the
Solution
ProgramDevelopment;Ch#13
21
Algorithms
Sunday,March8,2020
Developing an Algorithm
ProgramDevelopment;Ch#13
22
WHILE there is still more pizza
Check to see if you’re still hungry
IF you are still hungry,
THEN Gobble down pizza
ELSE Put the rest in the fridge
Programmers begin solving a problem by developing
an algorithm. An algorithm is a step-by-step
description of how to arrive at a solution. You can
think of an algorithm as a recipe or a how-to sheet
Sunday,March8,2020
Six Steps in Developing a
Program: Step #2
• Developing an algorithm is nothing more than developing a
step-by-step description of how to arrive at a solution.
• Would you try to bake a cake without a recipe? Would you try
to ski without instructions on how to do it? Of
course not. The same is true in
developing a program.
ProgramDevelopment;Ch#13
23
Sunday,March8,2020
Structured Programming
Techniques
• Hierarchy Charts
• Top-Down Program Design or structure charts
• Pseudocode (a fake code that can’t be understood by the
computer).
• Flowcharts
• Logic Structures
ProgramDevelopment;Ch#13
24
Sunday,March8,2020
Hierarchy Chart
ProgramDevelopment;Ch#13
25
Sunday,March8,2020
Program Design Tools
Hierarchy Charts
• Shows Top-Down Design
• Modules
• Control Modules
• Subordinate Modules
ProgramDevelopment;Ch#13
26
Sunday,March8,2020
Structured or Hierarchy Charts
print report
heading
calculate
commission
print salesperson
commission
process each
separation
print total
commissions
control
module
Program Development; Ch#13 27
Program Design Tools
Each box, or module, in a structure chart indicates a
task that the program must accomplish
Sunday, March 8, 2020
Case Control Structure
ProgramDevelopment;Ch#13
28
Sunday,March8,2020
Visio Flowcharting Software
Package
ProgramDevelopment;Ch#13
29
Sunday,March8,2020
Quality Review Techniques
• Desk checking
• Develop sets of valid test data
• Determine the expected results
• Step through the solution using the test data
• Compare results of steps 2 and 3
• Repeat steps 3 and 4 for each set of test data
ProgramDevelopment;Ch#13
30
Sunday,March8,2020
Six Steps in Developing a
Program: Step #3
Code the Program
ProgramDevelopment;Ch#13
31
Start
Input
Data
Process
Output
Stop
syntax
Sunday,March8,2020
Step 3: Program Code
• Writing the actual program is called coding.
• This is where the programmer translates the
logic of the pseudocode into actual program
code.
• Programs should be written on paper first.
• A good program is one that is:
• Reliable
• Works under most conditions
• Catches obvious and common input errors.
ProgramDevelopment;Ch#13
32
Sunday,March8,2020
Step 3 – Code Program
• Translate the solution algorithm into a programming language
• Enter the programming language into the computer
• Comments (remarks)
ProgramDevelopment;Ch#13
33
Sunday,March8,2020
Six Steps in Developing a
Program: Step #4
Test the Program
• Logic Errors
• Syntax Errors
• Bugs
ProgramDevelopment;Ch#13
34
Sunday,March8,2020
Step 4 – Test Programs
• Types of errors
• Syntax errors – occurs when the code violates the syntax, or
grammar, of the programming language.
• Misspelling a command
• Leaving out required punctuation
• Typing command words out of order
• Logic errors a flaw in the design that generates inaccurate results.
ProgramDevelopment;Ch#13
35
Sunday,March8,2020
Step 4: Test the Program
• All programs must be tested for errors. This is a process
known as debugging.
• There are two types of errors that must be eliminated from a
program before it can be used in a real-time computing
environment. They are:
• Syntax Errors
• Logic Errors
ProgramDevelopment;Ch#13
36
Sunday,March8,2020
Syntax and Logic Errors
• Syntax errors are those which violate the rules
of the language. These are frequently created
when the program is input--it is a keying error.
For example, instead of typing the word, “going”,
the word, “gong” is typed instead.
• Logic Errors are those that occur when
programming instructions do not follow a logical
sequence.
ProgramDevelopment;Ch#13
37
Sunday,March8,2020
Debugging
• There are several methods of debugging a program. They
include:
• Desk checking
• Manual testing with sample data
• Testing sample data on the
computer
• Testing by a select group of potential users.
ProgramDevelopment;Ch#13
38
Sunday,March8,2020
Debugging Methods
• Desk checking - checking line by line of code for syntax and/or
logic errors. This is the process being used to correct the Y2K
problem.
• Manual Testing with Sample Data - This uses all types of data
both correct and incorrect to manually test a program.
ProgramDevelopment;Ch#13
39
Sunday,March8,2020
Debugging Methods:
• Testing Sample Data on the Computer - Uses
all types of data (correct and incorrect) to test
a program. This is done after all syntax
errors are corrected.
• Testing by Select Group of Potential Users -
Also called beta testing. This is potential
users trying a program and providing
feedback.
ProgramDevelopment;Ch#13
40
Sunday,March8,2020
Step 5 – Formulize Solution
• Review program code
• Review all documentation which includes:
• Hierarchy chart
• Solution algorithm in for of a program flowchart or pseudocode
• Test data
• All program code listings containing global and internal elements.
ProgramDevelopment;Ch#13
41
Sunday,March8,2020
Step 5: Formalize the Solution and
Conduct Program Documentation
• Documentation consists of written
descriptions and procedures about a
program and how to use it. It is done on a
continual basis throughout all the steps of
the program development process.
• Documentation is provided for:
• Users
• Operators
• Programmers
ProgramDevelopment;Ch#13
42
Sunday,March8,2020
Six Steps in Developing a
Program: Step #6
Implementation
Maintenance
ProgramDevelopment;Ch#13
43
1+1=2
Sunday,March8,2020
Step 6 – Maintain Programs
• Correct errors
• Add enhancements
• Fix errors
• Modify or expand the program
ProgramDevelopment;Ch#13
44
Sunday,March8,2020
Program Maintenance
• Programming maintenance activities fall
into two categories: operations and
changing needs.
• Operations - Locating and correcting
operational errors and standardizing
software.
• Changing Needs - Programs may need to be
modified for a variety of reasons. For
example new tax laws, new company
policies.
ProgramDevelopment;Ch#13
45
Sunday,March8,2020
THANK YOU
ProgramDevelopment;Ch#13
46
Sunday,March8,2020

More Related Content

What's hot

Input and Output Devices (SRAS ICT1)
Input and Output Devices (SRAS ICT1)Input and Output Devices (SRAS ICT1)
Input and Output Devices (SRAS ICT1)Rey Belen
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test casesConfiz
 
Software Testing and Quality Assurance unit1
Software Testing and Quality Assurance  unit1Software Testing and Quality Assurance  unit1
Software Testing and Quality Assurance unit1Bhagyashree Dhakulkar
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming languageJAIDEVPAUL
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
Introduction to Software Project Management
Introduction to Software Project ManagementIntroduction to Software Project Management
Introduction to Software Project ManagementReetesh Gupta
 
What is software engineering
What is software engineeringWhat is software engineering
What is software engineeringJennifer Polack
 
Installing and uninstalling computer software
Installing and uninstalling computer softwareInstalling and uninstalling computer software
Installing and uninstalling computer softwareVidya Kalaivani Rajkumar
 
Types of application software
Types of application softwareTypes of application software
Types of application softwareJesus Obenita Jr.
 
Programming languages
Programming languagesProgramming languages
Programming languagesSimon Mui
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Computer Programming
Computer ProgrammingComputer Programming
Computer ProgrammingSyed Zaid Irshad
 
Programming languages
Programming languagesProgramming languages
Programming languagesAsmasum
 
Algorithm and Programming (Introduction of Algorithms)
Algorithm and Programming (Introduction of Algorithms)Algorithm and Programming (Introduction of Algorithms)
Algorithm and Programming (Introduction of Algorithms)Adam Mukharil Bachtiar
 
Fundamentals of software development
Fundamentals of software developmentFundamentals of software development
Fundamentals of software developmentPratik Devmurari
 

What's hot (20)

Input and Output Devices (SRAS ICT1)
Input and Output Devices (SRAS ICT1)Input and Output Devices (SRAS ICT1)
Input and Output Devices (SRAS ICT1)
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Sqa, test scenarios and test cases
Sqa, test scenarios and test casesSqa, test scenarios and test cases
Sqa, test scenarios and test cases
 
COMPUTER SYSTEM
COMPUTER SYSTEMCOMPUTER SYSTEM
COMPUTER SYSTEM
 
Software Testing and Quality Assurance unit1
Software Testing and Quality Assurance  unit1Software Testing and Quality Assurance  unit1
Software Testing and Quality Assurance unit1
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming language
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Introduction to Software Project Management
Introduction to Software Project ManagementIntroduction to Software Project Management
Introduction to Software Project Management
 
What is software engineering
What is software engineeringWhat is software engineering
What is software engineering
 
Installing and uninstalling computer software
Installing and uninstalling computer softwareInstalling and uninstalling computer software
Installing and uninstalling computer software
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
Types of application software
Types of application softwareTypes of application software
Types of application software
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Introduction to software
Introduction to softwareIntroduction to software
Introduction to software
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Algorithm and Programming (Introduction of Algorithms)
Algorithm and Programming (Introduction of Algorithms)Algorithm and Programming (Introduction of Algorithms)
Algorithm and Programming (Introduction of Algorithms)
 
Fundamentals of software development
Fundamentals of software developmentFundamentals of software development
Fundamentals of software development
 

Similar to pdlc

Algorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptxAlgorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptxDrThenmozhiKarunanit
 
Introduction To Software Engineering
 Introduction To Software Engineering Introduction To Software Engineering
Introduction To Software EngineeringMohsinAli773
 
Development of computer program
Development of computer program Development of computer program
Development of computer program UsamaRaja6
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCodecamp Romania
 
Unit 1 program development cycle
Unit 1 program development cycleUnit 1 program development cycle
Unit 1 program development cycleDhana malar
 
La5 Program Phases
La5 Program PhasesLa5 Program Phases
La5 Program PhasesCma Mohd
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)alvin567
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...yaminohime
 
Overview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptxOverview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptxBypassFrp
 
programming and languages (chapter 14)
programming and languages (chapter 14)programming and languages (chapter 14)
programming and languages (chapter 14)Fadilah Badari
 
01 intro+
01 intro+01 intro+
01 intro+im|s
 
Programming Theory
Programming TheoryProgramming Theory
Programming Theoryiarthur
 
Chapter one
Chapter oneChapter one
Chapter onesiragezeynu
 
Programming part2
Programming part2Programming part2
Programming part2zakri zakaria
 

Similar to pdlc (20)

Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Coding - SDLC Model
Coding - SDLC ModelCoding - SDLC Model
Coding - SDLC Model
 
Algorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptxAlgorithm,Pseudocode,Flowchart.pptx
Algorithm,Pseudocode,Flowchart.pptx
 
10 lesson8
10 lesson810 lesson8
10 lesson8
 
Introduction To Software Engineering
 Introduction To Software Engineering Introduction To Software Engineering
Introduction To Software Engineering
 
Development of computer program
Development of computer program Development of computer program
Development of computer program
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditech
 
Unit 1 program development cycle
Unit 1 program development cycleUnit 1 program development cycle
Unit 1 program development cycle
 
La5 Program Phases
La5 Program PhasesLa5 Program Phases
La5 Program Phases
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 13 - Progra...
 
Uc13.chapter.13
Uc13.chapter.13Uc13.chapter.13
Uc13.chapter.13
 
Overview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptxOverview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptx
 
programming and languages (chapter 14)
programming and languages (chapter 14)programming and languages (chapter 14)
programming and languages (chapter 14)
 
01 intro+
01 intro+01 intro+
01 intro+
 
Notacd081
Notacd081Notacd081
Notacd081
 
Programming Theory
Programming TheoryProgramming Theory
Programming Theory
 
Chapter one
Chapter oneChapter one
Chapter one
 
Programming part2
Programming part2Programming part2
Programming part2
 

More from MuhammadRobeel3

Programming languages
Programming languagesProgramming languages
Programming languagesMuhammadRobeel3
 
Command line interface
Command line interfaceCommand line interface
Command line interfaceMuhammadRobeel3
 
Ch # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsCh # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsMuhammadRobeel3
 
Ch # 09 database management system
Ch # 09 database management systemCh # 09 database management system
Ch # 09 database management systemMuhammadRobeel3
 
Ch # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolCh # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolMuhammadRobeel3
 
Ch # 07 operating system
Ch # 07 operating systemCh # 07 operating system
Ch # 07 operating systemMuhammadRobeel3
 
Ch # 06 storage devices
Ch # 06 storage devicesCh # 06 storage devices
Ch # 06 storage devicesMuhammadRobeel3
 
Ch # 05 input and output devices in computer
Ch # 05 input and output devices in computerCh # 05 input and output devices in computer
Ch # 05 input and output devices in computerMuhammadRobeel3
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware MuhammadRobeel3
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computerMuhammadRobeel3
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computerMuhammadRobeel3
 

More from MuhammadRobeel3 (17)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Osi model
Osi modelOsi model
Osi model
 
Memory management
Memory managementMemory management
Memory management
 
Command line interface
Command line interfaceCommand line interface
Command line interface
 
Ch # 11
Ch # 11Ch # 11
Ch # 11
 
Ch # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsCh # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guards
 
Ch # 09 database management system
Ch # 09 database management systemCh # 09 database management system
Ch # 09 database management system
 
Ch # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolCh # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocol
 
Ch # 07 operating system
Ch # 07 operating systemCh # 07 operating system
Ch # 07 operating system
 
Ch # 06 storage devices
Ch # 06 storage devicesCh # 06 storage devices
Ch # 06 storage devices
 
Ch # 05 input and output devices in computer
Ch # 05 input and output devices in computerCh # 05 input and output devices in computer
Ch # 05 input and output devices in computer
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
 
Ch # 03 software
Ch # 03  softwareCh # 03  software
Ch # 03 software
 
Ch # 02 internet
Ch # 02 internetCh # 02 internet
Ch # 02 internet
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
SDLC
SDLCSDLC
SDLC
 

Recently uploaded

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)Dr. Mazin Mohamed alkathiri
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

pdlc

  • 1. Program Development Cycle Prepared by:M.Robeel ProgramDevelopment;Ch#13 1
  • 2. What Is a Computer Program? • A set of instructions that directs a computer to perform the tasks necessary to process data into information ProgramDevelopment;Ch#13 2
  • 3. The Program Development Life Cycle • Analyze or define the problem • Design programs • Code programs • Test programs • Formalize solution • Maintain programs ProgramDevelopment;Ch#13 3
  • 4. Program Development ProgramDevelopment;Ch#13 4 The program development life cycle (PDLC) is an organized method of software development that bears many similarities to the system development life cycle (SDLC)
  • 5. The Need for PDLC: BetterSoftware,Please ProgramDevelopment;Ch#13 5 Designing the program Coding the program Testing & debugging the program Formalizing the solution Maintaining the program Specifying the problem
  • 6. A Few Definitions • Programming is also known as software development. • Programming is problem-solving procedures which follows a six-step process in developing instructions or programs. • Programming is the creation of lists of instructions for a computer. ProgramDevelopment;Ch#13 6 Sunday,March8,2020
  • 7. ProgramDevelopment;Ch#13 7 Computer Program - a collection of instructions, or statements (code) carried out by the computer’s CPU. Programmers need a model of the logical process before they can write the code. Sunday,March8,2020
  • 8. Writing a Program • Step 1: Program specification or defining the problem or Program Analysis. • Step 2: Develop an algorithm (or a step-by-step description of how to arrive at a solution). • Step 3: Code or write the program. • Step 4: Test the program and eliminate syntax and logic errors. ProgramDevelopment;Ch#13 8
  • 9. Writing a Program • Step 5: Complete the documentation or description of the purpose and process of the program. • Step 6: Implement and maintain the system. ProgramDevelopment;Ch#13 9 Sunday,March8,2020
  • 10. The Program Development Life Cycle: ProgramDevelopment;Ch#13 10 Sunday,March8,2020
  • 11. What Initiates the Program Development Life Cycle? • End of the analysis phase of the system development life cycle • Program specifications • Program development life cycle (PDLC) • Programming team • Programmer Scarcity video ProgramDevelopment;Ch#13 11 Sunday,March8,2020
  • 12. Six Steps in Developing a Program: Step #1 Define the Problem • needed output • available input • definition of how to transform available input into needed output (or processing requirements). ProgramDevelopment;Ch#13 12 Sunday,March8,2020
  • 13. What Is the Desired Outcome? • Programming languages that do “end-user work” are referred to as application software. • Programming languages that control computer operations are referred to as system software. ProgramDevelopment;Ch#13 13 Sunday,March8,2020
  • 14. Step 1 – Analyze Problem • Review the program specifications package • Meet with the systems analyst and users • Identify the program’s input, output, and processing requirements (IPO) • IPO chart ProgramDevelopment;Ch#13 14 Sunday,March8,2020
  • 15. What Initiates the Program Development Life Cycle? • End of the analysis phase of the system development life cycle • Program specifications • Program development life cycle (PDLC) • Programming team • Programmer Scarcity video ProgramDevelopment;Ch#13 15 Sunday,March8,2020
  • 16. Step 1 – Analyze Problem • Review the program specifications package • Meet with the systems analyst and users • Identify the program’s input, output, and processing requirements (IPO) • IPO chart ProgramDevelopment;Ch#13 16 Sunday,March8,2020
  • 17. POS Chart –Assists in Analyzing a Program ProgramDevelopment;Ch#13 17 Sunday,March8,2020
  • 18. Step 2 – Design Programs • Group the program activities into modules • Devise a solution algorithm for each module • Test the solution algorithms ProgramDevelopment;Ch#13 18 Sunday,March8,2020
  • 19. Step 2 – Design Programs: • Top-down design • Identify the major activity of the program • Break down the original set of program specifications into smaller, more manageable sections which makes it easier to solve that the original one. • Continue to break down subroutines into modules which is a section of a program dedicated to performing a single function. • Hierarchy Chart or Top-Down Charts ProgramDevelopment;Ch#13 19 Sunday,March8,2020
  • 20. What Initiates the Program Development Life Cycle? • End of the analysis phase of the system development life cycle • Program specifications • Program development life cycle (PDLC) • Programming team • Programmer Scarcity video ProgramDevelopment;Ch#13 20 Sunday,March8,2020
  • 21. Six Steps in Developing a Program: Step #2 Design the Solution to the Solution ProgramDevelopment;Ch#13 21 Algorithms Sunday,March8,2020
  • 22. Developing an Algorithm ProgramDevelopment;Ch#13 22 WHILE there is still more pizza Check to see if you’re still hungry IF you are still hungry, THEN Gobble down pizza ELSE Put the rest in the fridge Programmers begin solving a problem by developing an algorithm. An algorithm is a step-by-step description of how to arrive at a solution. You can think of an algorithm as a recipe or a how-to sheet Sunday,March8,2020
  • 23. Six Steps in Developing a Program: Step #2 • Developing an algorithm is nothing more than developing a step-by-step description of how to arrive at a solution. • Would you try to bake a cake without a recipe? Would you try to ski without instructions on how to do it? Of course not. The same is true in developing a program. ProgramDevelopment;Ch#13 23 Sunday,March8,2020
  • 24. Structured Programming Techniques • Hierarchy Charts • Top-Down Program Design or structure charts • Pseudocode (a fake code that can’t be understood by the computer). • Flowcharts • Logic Structures ProgramDevelopment;Ch#13 24 Sunday,March8,2020
  • 26. Program Design Tools Hierarchy Charts • Shows Top-Down Design • Modules • Control Modules • Subordinate Modules ProgramDevelopment;Ch#13 26 Sunday,March8,2020
  • 27. Structured or Hierarchy Charts print report heading calculate commission print salesperson commission process each separation print total commissions control module Program Development; Ch#13 27 Program Design Tools Each box, or module, in a structure chart indicates a task that the program must accomplish Sunday, March 8, 2020
  • 30. Quality Review Techniques • Desk checking • Develop sets of valid test data • Determine the expected results • Step through the solution using the test data • Compare results of steps 2 and 3 • Repeat steps 3 and 4 for each set of test data ProgramDevelopment;Ch#13 30 Sunday,March8,2020
  • 31. Six Steps in Developing a Program: Step #3 Code the Program ProgramDevelopment;Ch#13 31 Start Input Data Process Output Stop syntax Sunday,March8,2020
  • 32. Step 3: Program Code • Writing the actual program is called coding. • This is where the programmer translates the logic of the pseudocode into actual program code. • Programs should be written on paper first. • A good program is one that is: • Reliable • Works under most conditions • Catches obvious and common input errors. ProgramDevelopment;Ch#13 32 Sunday,March8,2020
  • 33. Step 3 – Code Program • Translate the solution algorithm into a programming language • Enter the programming language into the computer • Comments (remarks) ProgramDevelopment;Ch#13 33 Sunday,March8,2020
  • 34. Six Steps in Developing a Program: Step #4 Test the Program • Logic Errors • Syntax Errors • Bugs ProgramDevelopment;Ch#13 34 Sunday,March8,2020
  • 35. Step 4 – Test Programs • Types of errors • Syntax errors – occurs when the code violates the syntax, or grammar, of the programming language. • Misspelling a command • Leaving out required punctuation • Typing command words out of order • Logic errors a flaw in the design that generates inaccurate results. ProgramDevelopment;Ch#13 35 Sunday,March8,2020
  • 36. Step 4: Test the Program • All programs must be tested for errors. This is a process known as debugging. • There are two types of errors that must be eliminated from a program before it can be used in a real-time computing environment. They are: • Syntax Errors • Logic Errors ProgramDevelopment;Ch#13 36 Sunday,March8,2020
  • 37. Syntax and Logic Errors • Syntax errors are those which violate the rules of the language. These are frequently created when the program is input--it is a keying error. For example, instead of typing the word, “going”, the word, “gong” is typed instead. • Logic Errors are those that occur when programming instructions do not follow a logical sequence. ProgramDevelopment;Ch#13 37 Sunday,March8,2020
  • 38. Debugging • There are several methods of debugging a program. They include: • Desk checking • Manual testing with sample data • Testing sample data on the computer • Testing by a select group of potential users. ProgramDevelopment;Ch#13 38 Sunday,March8,2020
  • 39. Debugging Methods • Desk checking - checking line by line of code for syntax and/or logic errors. This is the process being used to correct the Y2K problem. • Manual Testing with Sample Data - This uses all types of data both correct and incorrect to manually test a program. ProgramDevelopment;Ch#13 39 Sunday,March8,2020
  • 40. Debugging Methods: • Testing Sample Data on the Computer - Uses all types of data (correct and incorrect) to test a program. This is done after all syntax errors are corrected. • Testing by Select Group of Potential Users - Also called beta testing. This is potential users trying a program and providing feedback. ProgramDevelopment;Ch#13 40 Sunday,March8,2020
  • 41. Step 5 – Formulize Solution • Review program code • Review all documentation which includes: • Hierarchy chart • Solution algorithm in for of a program flowchart or pseudocode • Test data • All program code listings containing global and internal elements. ProgramDevelopment;Ch#13 41 Sunday,March8,2020
  • 42. Step 5: Formalize the Solution and Conduct Program Documentation • Documentation consists of written descriptions and procedures about a program and how to use it. It is done on a continual basis throughout all the steps of the program development process. • Documentation is provided for: • Users • Operators • Programmers ProgramDevelopment;Ch#13 42 Sunday,March8,2020
  • 43. Six Steps in Developing a Program: Step #6 Implementation Maintenance ProgramDevelopment;Ch#13 43 1+1=2 Sunday,March8,2020
  • 44. Step 6 – Maintain Programs • Correct errors • Add enhancements • Fix errors • Modify or expand the program ProgramDevelopment;Ch#13 44 Sunday,March8,2020
  • 45. Program Maintenance • Programming maintenance activities fall into two categories: operations and changing needs. • Operations - Locating and correcting operational errors and standardizing software. • Changing Needs - Programs may need to be modified for a variety of reasons. For example new tax laws, new company policies. ProgramDevelopment;Ch#13 45 Sunday,March8,2020