Program Development Life Cycle Characteristics of a good program Types of errors.
-
Upload
alicia-gibbs -
Category
Documents
-
view
212 -
download
0
Transcript of Program Development Life Cycle Characteristics of a good program Types of errors.
![Page 1: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/1.jpg)
Program Development CycleSkill Area 304.2Prepared by Dhimas Ruswanto, BMm
![Page 2: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/2.jpg)
• Program Development Life Cycle
• Characteristics of a good program
• Types of errors
Lecture Overview
![Page 3: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/3.jpg)
Project Management
![Page 4: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/4.jpg)
Program DevelopmentLife Cycle
![Page 5: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/5.jpg)
Program Development Life Cycle
The program development process is part of the software lifecycle, characterized by the following stages:
Requirements analysis
Design Coding Testing Implementation
and support Documentation
![Page 6: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/6.jpg)
Requirements Analysis
• An accurate and complete set of client and user requirements is produced to determine the characteristics of an acceptable solution
![Page 7: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/7.jpg)
Requirements Analysis (cont’d)
The requirements analysis specification
will contain:• the proposed system or solution, which
has been agreed by the client and developer
• a list of existing tools, new tools, required facilities and people available for developing the solution
• a schedule for the next stages of the project, including the deliverables for each stage
![Page 8: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/8.jpg)
Design Stage
• Use of proper design techniques to illustrate the program specification in a systematic way
• Representing the tasks required in the program specification showing all input, processing and output requirements
• Examples :– Flowchart– Pseudocode– JSP
![Page 9: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/9.jpg)
Coding Stage
• Produce the programs that will make up the system
• Translation of design into programming language code e.g. C, C++, Pascal, Qbasic
• aka implementation• Complete when all code
is written and documented, and compiles without any errors
![Page 10: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/10.jpg)
Testing Stage
• Debugging – Done by Development Team - The task of finding and removing errors/bugs from the program.
• Testing – Done by Testing Team – The task of locating and identifying of bugs/errors included
![Page 11: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/11.jpg)
Testing Stage (cont’d)
• When the program is completed and all separate modules have been tested, a full test of the program is performed – any errors in the program will be
corrected and the test repeated • Types of Tests:
– Alpha test • test of the finished application completed
internally– Beta test
• tested externally
![Page 12: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/12.jpg)
Implementation and Support• When all the previous stages have been
completed satisfactorily, the system is ready for implementation
• Program is transferred to the user’s machine and made to work.
• 3 strategies:– The new program may run concurrently
with the old one– it may completely replaced the old one or– It may phased in gradually
![Page 13: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/13.jpg)
Implementation and Support (cont’d)• Once the program is installed and operated,
it will be monitored for some time to ensure that program is error-free. – Support/Maintenance Stage
• Maintenance includes error fixing, updates and modifications.
![Page 14: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/14.jpg)
Documentation Stage
• All processes in all stages during the system development must be documented/written down.
• This documentation is vital for future reference/for future maintenance of the program.
![Page 15: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/15.jpg)
CHARACTERISTICS OF A GOOD PROGRAM• Correctness – fulfilling user requirements• Reliability – it produces correct output and
validates input data to avoid program crash• Portability – easily installed from one
machine to another with minimal modification
• Maintainability – easily followed and modified, not only to the programmer who wrote it
• Readability – clearly documented• Use of resources – fast in processing, uses
minimum storage space and able to run on existing hardware.
![Page 16: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/16.jpg)
TYPES OF ERRORS
Syntax – error relating to the programming language used
Logical – error in programming logic Run-time/execution – error that
appears after you compile and run your code
![Page 17: Program Development Life Cycle Characteristics of a good program Types of errors.](https://reader035.fdocuments.us/reader035/viewer/2022081603/5697bfdc1a28abf838cb1363/html5/thumbnails/17.jpg)
SUMAMRY
Program Development Life Cycle: Requirements analysis Design Coding Testing Implementation and support Documentation
Types of Errors Syntax Logical Run-Time