Structured English is the use of the English language with the syntax of structured programming to communicate the design of a computer program to non-technical users by breaking it down into logical steps using straightforward English words. Structured English gives aims to get the benefits of both the programming logic and natural language: program logic helps to attain precision, whilst natural language helps with the familiarity of the spoken word.
It is the basis of some programming languages such as SQL (Structured Query Language) "for use by people who have need for interaction with a large database but who are not trained programmers".
Advanced English Structure is a limited-form "pseudocode" and consists of the following elements:
The following guidelines are used when writing Structured English:
APPROVE LOAN
IF customer has a Bank Account THEN
IF Customer has no dues from previous account THEN
Allow loan facility
ELSE
IF Management Approval is obtained THEN
Allow loan facility
ELSE
Reject
ENDIF
ENDIF
ELSE
Reject
ENDIF
EXIT
Though useful for planning programs, modules and routines, or describing algorithms, it is less useful for representing conditional (if-then-else) logic when the total number of potential decisions that can be made is very large. In such cases, more compact alternatives for representing decision paths include decision trees or decision tables.