Program Development Cycle
Program Development Cycle
Cycle
Program Development Cycle
The program development cycle is a series of
steps programmers use to build computer
programs.
1. Analyze Requirements
2. Design Solution
3. Validate Design
4. Implement Design
5. Test Solution
6. Document Solution
Program Development Cycle
The program development cycle is a continuous
cycle which consists of six steps that form a loop.
Step 1 Step 2
Analyze Design
Requirements Solution
Step 6 Step 3
Document Validate
Solution Design
Step 5 Step 4
Test Implement
Solution Design
Step 1 – Analyze Requirements
Declare Print Report Read a Accumulate Print Detail Calculate Print Totals
Calculate
Variables Headings Record Totals Line Averages And Averages
Calculate
Regular
Time pay The hierarchy chart above is a tool the
programmer uses during structured design.
Overtime
On the hierarchy chart, program modules
Time pay are drawn as rectangles. All modules are
subordinate to the main module.
Calculate
Gross Pay
Design Solution Using Control Structures
A control structure, also known as a construct, depicts the logical order of
program instructions in more detail. There are three basic control structures:
1. Sequence Control Structures Action 1 Action 2 Action 3
Action 1 Action 2
If Left$(KK.FileName, 1) <> "2" And KK.SpecialWindow = "Beginnings" And InStr(LineOriginal(RandomLine), " " + KK.CharacterString) = 0 Then ShowOriginal
If Left$(KK.FileName, 1) <> "2" And KK.SpecialWindow = "Endings" And InStr(LineOriginal(RandomLine), KK.CharacterString + " ") = 0 Then ShowOriginal
If Left$(KK.FileName, 1) <> "2" And KK.SpecialWindow = "Selected" And InStr(LineOriginal(RandomLine), KK.CharacterString) = 0 Then ShowOriginal
While Left$(KK.FileName, 1) = "2" And Len(Words) < 32: ' this sets line for words