HOME

TheInfoList



OR:

Structured English is the use of the
English language English is a West Germanic language that developed in early medieval England and has since become a English as a lingua franca, global lingua franca. The namesake of the language is the Angles (tribe), Angles, one of the Germanic peoples th ...
with the
syntax In linguistics, syntax ( ) is the study of how words and morphemes combine to form larger units such as phrases and sentences. Central concerns of syntax include word order, grammatical relations, hierarchical sentence structure (constituenc ...
of
structured programming Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making specific disciplined use of the structured control flow constructs of selection ( if/then/else) and repet ...
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".


Elements

'
Advanced English Structure
'' is a limited-form "
pseudocode In computer science, pseudocode is a description of the steps in an algorithm using a mix of conventions of programming languages (like assignment operator, conditional operator, loop) with informal, usually self-explanatory, notation of actio ...
" and consists of the following elements: #Operation statements written as English phrases executed from the top down #Conditional blocks indicated by keywords such as IF, THEN, and ELSE #Repetition blocks indicated by keywords such as DO, WHILE, and UNTIL The following guidelines are used when writing Structured English: #All logic should be expressed in operational, conditional, and repetition blocks #Statements should be clear and unambiguous #Logical blocks should be indented to show relationship and hierarchy #Use one line per logical element, or indent the continuation line #Keywords should be capitalized #Group blocks of statements together, with a capitalized name that describes their function and end with an EXIT. #Underline words or phrases defined in a data dictionary. #Mark comment lines with an asterisk


Example of 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


Criticism

Though useful for planning programs, modules and routines, or describing algorithms it is less useful when numerous decisions need to be made."Ch. 60 Structured English, Strengths and Weaknesses"
The Information Systems: Analysis and Design, Meyzin Leonid, Holon Institute of Technology, retrieved 23 April 2014


Other specification tools

System processes at a lower level involve lot of computations and require more precision and clarity. This can be achieved with tools such as
decision tree A decision tree is a decision support system, decision support recursive partitioning structure that uses a Tree (graph theory), tree-like Causal model, model of decisions and their possible consequences, including probability, chance event ou ...
s or decision tables.


See also

* Natural language programming * Self-documenting code *
Structured programming Structured programming is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by making specific disciplined use of the structured control flow constructs of selection ( if/then/else) and repet ...
*
Pseudocode In computer science, pseudocode is a description of the steps in an algorithm using a mix of conventions of programming languages (like assignment operator, conditional operator, loop) with informal, usually self-explanatory, notation of actio ...
*
Decision tree A decision tree is a decision support system, decision support recursive partitioning structure that uses a Tree (graph theory), tree-like Causal model, model of decisions and their possible consequences, including probability, chance event ou ...
* Decision table *
Controlled natural language Controlled natural languages (CNLs) are subsets of natural languages that are obtained by restricting the grammar and vocabulary in order to reduce or eliminate ambiguity and complexity. Traditionally, controlled languages fall into two major types ...


References

{{Reflist Algorithm description languages