0% found this document useful (0 votes)
56 views21 pages

Program Development Cycle PARTIAL

The document discusses the program development cycle which consists of four phases - design, implementation, testing, and fixing errors. It is based on the approach engineers use to solve problems. In the design phase, a solution to the problem is designed. In implementation, the solution is coded. Testing checks if the program works as intended. Fixing errors debugs any issues found. This cycle leads to continuous improvement of the software.

Uploaded by

Stephen Davis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views21 pages

Program Development Cycle PARTIAL

The document discusses the program development cycle which consists of four phases - design, implementation, testing, and fixing errors. It is based on the approach engineers use to solve problems. In the design phase, a solution to the problem is designed. In implementation, the solution is coded. Testing checks if the program works as intended. Fixing errors debugs any issues found. This cycle leads to continuous improvement of the software.

Uploaded by

Stephen Davis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 21

The Program

Development Cycle
An Introduction to Programming Using Alice

Program Development Cycle


Modern software developers base many of
their techniques on traditional approaches to
mathematical problem solving.
One such approach is based on the how
engineers solve problems.

An Introduction to Programming Using Alice

Program Development Cycle


Engineers must:

Design a solution to a problem

Implement the solution

Test the solution

Fix any errors in the solution

An Introduction to Programming Using Alice

Program Development Cycle


This approach can be used in computer programming:

Design a solution to a problem (design a program)

implement the solution (code the program )

Test the solution (test the program)

Fix the solution (debug the program)

An Introduction to Programming Using Alice

Program Development Cycle


Once the software is working, improvements can
be designed into the system. This leads back to
design, creating a four-phase cycle.

An Introduction to Programming Using Alice

Program Development Cycle

An Introduction to Programming Using Alice

Program Development Cycle

Many different techniques are used to design methods


in new software. Top-down development and modular
design are most common.
Tools include flowcharts, pseudo-code, storyboards,
and Universal Modeling Language (UML).
An Introduction to Programming Using Alice

Program Development Cycle

In the design phase of object-oriented programming,


objects must be chosen from libraries, or the
properties and methods for new objects must be
described.

An Introduction to Programming Using Alice

Program Development Cycle

An Introduction to Programming Using Alice

Program Development Cycle


The program development
cycles code phase includes
translating a software design
into a particular language,
and then entering that
language on the computer.

An Introduction to Programming Using Alice

Program Development Cycle

An Introduction to Programming Using Alice

Program Development Cycle


Testing can be rather complicated:
Does the new method do what it is supposed to do?
This is known as a test for correctness. Tests for
correctness measure whether the program meets the
original specifications.

An Introduction to Programming Using Alice

Program Development Cycle


Testing can be rather complicated:
Is the method reasonably efficient? How much time
does it take for the method to complete its task, and
how much space does it use?

An Introduction to Programming Using Alice

Program Development Cycle


Testing can be rather complicated:
Does the method have any undesirable side effects?
How does one program affects the performance of
another program, or one method affects another
method?

An Introduction to Programming Using Alice

Program Development Cycle


Programmers perform unit tests and integration tests.
A unit test checks to see if a method works as
expected all by itself.
An integration test checks to see if a method
works in combination with other methods.

An Introduction to Programming Using Alice

An Introduction to Programming Using Alice

Program Development Cycle


Programmers perform unit tests and integration tests.
A unit test checks to see if a method works as
expected all by itself.
An integration test checks to see if a method
works in combination with other methods.

An Introduction to Programming Using Alice

Program Development Cycle

An Introduction to Programming Using Alice

Program Development Cycle


The causes of any problems
discovered during testing need to
be isolated. Here unit tests are
most helpful.
Once you know the cause, you
can develop a plan for fixing the
problem, modify the necessary
methods, and then test again.
An Introduction to Programming Using Alice

Program Development Cycle

An Introduction to Programming Using Alice

An Alice Development Cycle

An Introduction to Programming Using Alice

You might also like