Program Development Cycle

17
Program Development Cycle Skill Area 304.2 Prepared by Dhimas Ruswanto, BM

description

Program Development Cycle. Skill Area 304.2. Prepared by Dhimas Ruswanto , BMm. Lecture Overview. Program Development Life Cycle Characteristics of a good program Types of errors. Project Management. Program Development Life Cycle. Program Development Life Cycle. - PowerPoint PPT Presentation

Transcript of Program Development Cycle

Page 1: Program Development Cycle

Program Development CycleSkill Area 304.2Prepared by Dhimas Ruswanto, BMm

Page 2: Program Development Cycle

• Program Development Life Cycle

• Characteristics of a good program

• Types of errors

Lecture Overview

Page 3: Program Development Cycle

Project Management

Page 4: Program Development Cycle

Program DevelopmentLife Cycle

Page 5: Program Development Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

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 Cycle

SUMAMRY

Program Development Life Cycle: Requirements analysis Design Coding Testing Implementation and support Documentation

Types of Errors Syntax Logical Run-Time