Ask a Question

what is structure english??? please post a study material in structure english.

on 2012-04-02 02:54:27   by Subhajit   on MCA  1 answers

Nisha

on 2012-04-01 09:30:00  

Structured English is the use of the English language with the syntax of structured programming. Thus structured English aims at getting the benefits of both the programming logic and natural language. Program logic helps to attain precision while natural language helps in getting the convenience of spoken languages. Structured English or "pseudocode" 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 Use the following guidelines when writing Structured English: 1. Statements should be clear and unambiguous 2. Use one line per logical element 3. All logic should be expressed in operational, conditional, and repetition blocks 4. Logical blocks should be indented to show relationship 5. Keywords should be capitalized Example of Structured English A bank will grant loan under the following conditions 1. If a customer has an account with the bank and had no loan outstanding, loan will be granted. 2. If a customer has an account with the bank but some amount is outstanding from previous loans then loan will be granted if special approval is given. 3. Reject all loan applications in all other cases. 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