0% found this document useful (0 votes)
3 views2 pages

Stages of Program Development Process

This document describes the steps in the development of a computer program: problem analysis, solution design, coding, translation to machine language, and program testing.

Translated by

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

Stages of Program Development Process

This document describes the steps in the development of a computer program: problem analysis, solution design, coding, translation to machine language, and program testing.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The stages of program development

computer science
The goal of programming is to find a computer solution to a problem
real.

The steps of the development process for this solution are:

No text provided for [Link] analysis of the problem


2. The design of a solution: the HOW
3. Coding (or programming)
4. The translation of the program into machine language
5. The program test

The analysis of the problem: the WHAT


It is about reading the problem statement and trying to understand what it needs to accomplish, it is to
to say

• identify the input data;


• identify the output data;
• identify the processes (calculations, displays, comparisons...)

Example: Problem statement 1: read two numbers and display their sum

Entry :
name1, Name2
Treatment:
sum = number1 + number2
Output:
sum

The design of a solution: the HOW


This consists of writing an algorithm.

An algorithm is a sequence of actions to be executed in a specific order, to solve a


problem. The algorithm represents the logical structure of the computer program
independently of the programming language. It can be formulated in a "pseudo
language" also called "pseudocode" which is more limited and more precise than the language
natural, but cannot be executed by a computer.

The pseudo-code used in algorithms contains some keywords that serve to


express actions or indications such as: Start, End algo, Do, If..End If, While

1
that...End As long as etc. There can be more than one algorithm to solve the same
problem.

Example: An algorithm of problem 1

Sum algorithm
Debut
sum, number1, number2 : integers
Read number1 and number2
sum = number1 + number2
Display sum
End sum

Coding (or programming)


This is the transposition of the algorithm into a specific programming language (java,
C++, [Link]...)

A programming language is an intermediate language between humans and machines.


He uses keywords and a well-defined syntax.

The editing phase consists of entering the program text into the computer. To
To carry out this operation, we will use a special program: the Program Editor.
In this course, we will use the Eclipse tool to edit our programs.
written in the Java language.

The translation of the program into machine language

This involves translating into low-level machine language, namely binary, the program.
written in high-level programming language. This translation is done by
the computer thanks to another program called Compiler or interpreter. Example the
javac program included in Eclipse.

The compilation checks the correctness of the syntax of the source program, then generates a
list of errors or an executable program.

The program test


This phase allows to verify that the program achieves the expected results and that it
does not present any dysfunction. A battery of tests must be prepared for this
verification.

Sources: The book of Java first language, Anne Tasso,

You might also like