Software Development Method

Software Development Method

Software Development:

Software Development is a multistep process that requires that we understand the problem, develop a solution, write the program and then test it.

Understand the problem:

The first step in solving any problem is to understand it. Programmerbegins by reading requirement statements carefully. When he think that he fully understand it, he review or Analyzes his understanding with the Customer and System Analyst.

Develop the solution:

The first step in developing a solution is to design. Once programmer fully understands the problem and have clarified the question that may have, he develops a solution. The solution is expressed a step-by-step process known as algorithm(which is English Language statements). The following are the tools that are used in expressing or designing the solution.

  1. Structure Charts
  2. Pseudo Code
  3. Flow Charts

Generally we use Structure Chart and Pseudo Code or Structure Chart and Flow Chart.

Structure Chart is used to design the whole program. Pseudo code and flow charts are used to design small parts of the program.

The second step in developing a solution is to Code. Programmer writes the code by using the Pseudo Code or Flow Charts in a chosen programming language specified by the System in requirements. After writing the code it is tested using various testing techniques such as Blackbox Testing and Whitebox Testing.

Blackbox Testing gets its name from the concept of testing the program without knowing what is inside it – without knowing how it works.

Whitebox Testing gets its name from the concept of testing the program with a clear picture of what exactly is going on inside the program.

After thorough testing the software is deployed in Customer’s end and monitors the working of the software for a certain period referred as maintenance.

Example:

Problem: Finding Greatest of the three numbers

Software Development

  1. Understand the problem
  2. Develop the solution

Understand the Problem:

The first step in solving any problem is to understand it.

Requirements:

We begin by reading the problem we have the following requirements that there are three numbers that are given out which we have to find out the greatest number among the three numbers. We could gather the requirements that there are three input parameters and one output parameter.

Analysis:

The second step is how to find out the greatest number among the three is analyzed by using some methods in comparing in the three numbers to find out the greatest. We consider one method which is said to be best is compare first number with the rest two numbers if it greater than two then it is great likewise repeat it for the other two numbers.

Develop the solution:

Design:

The first step in developing a solution is to design. After complete understanding of the problem we begin with the design. We express the solution in the form of Pseudo code and flow charts.

Pseudocode:

Greatestofthree

Read a,b,c;

If(a>b) and (a>c) print a is great

If(b>a) and (b>c) print b is great

If(c>a) and (c>b) print c is great

FlowChart

:CODE:

The following code is written in C programming

#include<stdio.h>

Void main()

{

Int a,b,c;

Printf(“Enter a,b,c values”);

Scanf(“%d%d%d”,&a,&b,&c);

If((a>b) &(a>c))

Printf(“a is great”);

If(b>a) &(b>c))

Printf(“b is great”);

If((c>a) & (c>a))

Printf(“c is great”);

}

Testing

2 3 4 output 4

Maintanence:

We give this code to the customer and instruct them how to operate that is what are the inputs that should be supplied for example we cannot give 2 2 4 input as first two parameters are equal. Until they learn to operate the program correctly.