ï‚— SOFTWARE DEVELOPMENT USING VB6
ď‚— There are five steps to develop programs:
-
Analysis Algorithm Flow Chart Implementation Testing or Debugging Maintenance
ď‚— Analysis
-
Is a process to convert the problem statements into the solution for the problem given. It can be done by using the knowledge and realize our abilities to choose and use any strategies, solutions, techniques and tools to define the main problem.
-
Analysis process consist with three main procedures: 1. Clearly defined problem statements. 2. Identify the input to solve the problem. 3. Identify all expected output or result from the problem solving.
-
Find the 100 integer values that can be divide by number 7.
ď‚—
Algorithm - An algorithm is a set of sequential instructions that are followed to solve a problem. - An algorithm must fulfill the following requirements: >Has an input. >Produce at least one output. >Must be clear.
>Must be correct and can solve the problems. >Infinite. >Efficient. -
Diameter value is given, please calculate the values of radius, area and perimeter of circle.
ď‚—
Flow Chart - Is a sequential operations that are performed to the data and it is represents by using geometry or graphical shapes. - Preparation of flow chart is depending on algorithm. - More detail algorithm make preparation of flow chart become easier.
Sample flow chart to calculate sum of 10 numbers
ď‚— Implementation
-
An algorithm’s is next translated into program code. A top-down approach to coding the programming is followed. Errors can be made during coding that can prevent the program from successfully compiling and linking. A common error is called a syntax error.
ď‚— Testing or Debugging
-
Testing and debugging is an important step that is often ignore. Programs typically fail to operate 100% correctly the first time they are compiled or interpreted. Logic errors and other hidden problems called bugs must be located. Software must be tested and debugged to make sure the output is correct and reliable.
-
One way to test a program is to provide input for which the results are known. A type of error that can cause your program to stop running is called a runtime error.
ď‚— Maintaining and Documenting
-
-
Programmers must document their work so that they and other programmers can make changes or updates later. Documentation may also have to be written for the program’s users. Maintenance is an important part of the programming process. Most programs are written to help with a task. As a task changes, the program must also change.
-
Users are likely to request that addition and changes be made to the program. Maintaining a program is an important part of the process because it keeps the programmer’s work up to date and in use.