GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Structured English - Wikipedia

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.[1]

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".[2]

Elements

Advanced English Structure is a limited-form "pseudocode" and consists of the following elements:

  1. Operation statements written as English phrases executed from the top down
  2. Conditional blocks indicated by keywords such as IF, THEN, and ELSE
  3. Repetition blocks indicated by keywords such as DO, WHILE, and UNTIL

The following guidelines are used when writing Structured English:[3]

  1. All logic should be expressed in operational, conditional, and repetition blocks
  2. Statements should be clear and unambiguous
  3. Logical blocks should be indented to show relationship and hierarchy
  4. Use one line per logical element, or indent the continuation line
  5. Keywords should be capitalized
  6. Group blocks of statements together, with a capitalized name that describes their function and end with an EXIT.
  7. Underline words or phrases defined in a data dictionary.
  8. 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 for representing conditional (if-then-else) logic when the total number of potential decisions that can be made is very large.[4] In such cases, more compact alternatives for representing decision paths include decision trees or decision tables.

See also

  • Natural language programming
  • Self-documenting code
  • Structured programming
  • Pseudocode
  • Decision tree
  • Decision table
  • Controlled natural language

References

  1. ↑ ""What is Structured English", Wisegeek.com, retrieved 23 April 2014
  2. ↑ "Implementation of a Structured English Query Language" M.M. Astrahan and D.D. Chamberlain, IBM Research Division, San Jose, ACM, May 1975 (retrieved from Cleveland State University website, April 2014)
  3. ↑ "Guidelines for Structured English in Documenting Specifications", Craig Borysowich, IT Toolbox, 29 April 2007
  4. ↑ "Ch. 60 Structured English, Strengths and Weaknesses", The Information Systems: Analysis and Design, Meyzin Leonid, Holon Institute of Technology, retrieved 23 April 2014
Retrieved from "https://en.wikipedia.org/w/index.php?title=Structured_English&oldid=1379430496"
Categories:
  • Structured English
  • Algorithm description languages
Hidden categories:
  • Articles with short description
  • Short description matches Wikidata
  • All articles with dead external links
  • Articles with dead external links from October 2026
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.