by DAN CALLOWAY
Published 20 June 2010
WEAVERVILLE, NC - Structured English is the process used to plan, design, or document program routines, modules, or manual procedures using a very restricted subset of the English language (structured english, 2010). It resembles programming language so programmers can understand it quite easily, and, since it is based on the English language, it is easy to comprehend and follow as well. One of the disadvantages of using Structured English is that is is not a good choice for describing a high-level control structure or an algorithm that requires many decisions to be made; logic flowcharts, decision tables, and decision trees are better choices in this case (structured english, 2010).
The process or procedure that I have chosen to portray using Structured English is the process or procedure of addressing a flat tire. Using a simple set of conventional keywords, this procedure can be illustrated as follows:
IF tire is flat THEN IF spare tire in trunk is flat THEN call a garage for a tow ELSE spare tire in trunk is not flat SO jack up the carIF all the wheel lugs have been unscrewed THEN remove the wheel ELSE all the wheel lugs have not been unscrewed SO unscrew a lug REPEAT unscrewing lugs until all lugs have been unscrewed SO put on the spare
IF all the wheel lugs have been screwed on THEN jack the car down ELSE all the wheel lugs have not been screwed on SO screw on a lug REPEAT screwing on lugs until all lugs have been screwed on securely SO stop changing the tire
Reference:
“structured english” 2010. Retrieved from http://www.hit.ac.il/staff/leonidm/information-systems/ch60.html.



Recent Comments