SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Clean Installation of Windows 10 - How to Reformat Computer Windows 10
Clean Installation of Windows 10  - How to Reformat Computer Windows 10Clean Installation of Windows 10  - How to Reformat Computer Windows 10
Clean Installation of Windows 10 - How to Reformat Computer Windows 10Red Red
 
Programming Language
Programming  LanguageProgramming  Language
Programming LanguageAdeel Hamid
 
Computer viruses
Computer virusesComputer viruses
Computer virusesAlfred George
 
What is Application Software?
What is Application Software?What is Application Software?
What is Application Software?DaisyJeffenYRios
 
Computer virus and antivirus
Computer virus and antivirusComputer virus and antivirus
Computer virus and antivirusMaryam Malik
 
What is malware
What is malwareWhat is malware
What is malwareMalcolm York
 
Cyber-Security & Hacking
Cyber-Security & HackingCyber-Security & Hacking
Cyber-Security & HackingZayedMufti
 
List of Malwares
List of MalwaresList of Malwares
List of MalwaresVishalya Dulam
 
Introduction to computer software
Introduction to computer softwareIntroduction to computer software
Introduction to computer softwareElike Ikechukwu
 
Application softwares
Application softwaresApplication softwares
Application softwaresvivek shah
 
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...Intellipaat
 
1.7 selection and use of appropriate software
1.7 selection and use of appropriate software1.7 selection and use of appropriate software
1.7 selection and use of appropriate softwaremrmwood
 
Computer worms viruses and Prevention
Computer worms viruses and PreventionComputer worms viruses and Prevention
Computer worms viruses and PreventionPratimesh Pathak
 
Viruses, worms, and trojan horses
Viruses, worms, and trojan horsesViruses, worms, and trojan horses
Viruses, worms, and trojan horsesEILLEN IVY PORTUGUEZ
 
Types of application software
Types of application softwareTypes of application software
Types of application softwareJesus Obenita Jr.
 
Network security
Network securityNetwork security
Network securitymena kaheel
 

Was ist angesagt? (20)

Clean Installation of Windows 10 - How to Reformat Computer Windows 10
Clean Installation of Windows 10  - How to Reformat Computer Windows 10Clean Installation of Windows 10  - How to Reformat Computer Windows 10
Clean Installation of Windows 10 - How to Reformat Computer Windows 10
 
Presentation on computer software
Presentation on computer softwarePresentation on computer software
Presentation on computer software
 
Programming Language
Programming  LanguageProgramming  Language
Programming Language
 
Computer viruses
Computer virusesComputer viruses
Computer viruses
 
What is Application Software?
What is Application Software?What is Application Software?
What is Application Software?
 
Computer virus and antivirus
Computer virus and antivirusComputer virus and antivirus
Computer virus and antivirus
 
What is malware
What is malwareWhat is malware
What is malware
 
Cyber-Security & Hacking
Cyber-Security & HackingCyber-Security & Hacking
Cyber-Security & Hacking
 
List of Malwares
List of MalwaresList of Malwares
List of Malwares
 
Introduction to computer software
Introduction to computer softwareIntroduction to computer software
Introduction to computer software
 
Types of software
Types of softwareTypes of software
Types of software
 
Application softwares
Application softwaresApplication softwares
Application softwares
 
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...
White Hat vs Black Hat vs Grey Hat | Difference Between Black Hat White Hat G...
 
FREEWARE
FREEWAREFREEWARE
FREEWARE
 
1.7 selection and use of appropriate software
1.7 selection and use of appropriate software1.7 selection and use of appropriate software
1.7 selection and use of appropriate software
 
Computer worms viruses and Prevention
Computer worms viruses and PreventionComputer worms viruses and Prevention
Computer worms viruses and Prevention
 
Viruses, worms, and trojan horses
Viruses, worms, and trojan horsesViruses, worms, and trojan horses
Viruses, worms, and trojan horses
 
Types of application software
Types of application softwareTypes of application software
Types of application software
 
Network security
Network securityNetwork security
Network security
 
Cyber safety
Cyber safetyCyber safety
Cyber safety
 

Ähnlich wie pdlc

Software Development Methodologies.pptx
Software Development Methodologies.pptxSoftware Development Methodologies.pptx
Software Development Methodologies.pptxMohamedElshaikh10
 
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
 

Ähnlich wie pdlc (20)

Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Software Development Methodologies.pptx
Software Development Methodologies.pptxSoftware Development Methodologies.pptx
Software Development Methodologies.pptx
 
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
 

Mehr von 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
 

Mehr von 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
 

KĂźrzlich hochgeladen

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

KĂźrzlich hochgeladen (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

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