1 / 8

Structured English

Structured English. From user-speak to programming. Plain English. Structured English. Pseudocode. Programs. User. Analyst. Programmer. Modeling Logic with Structured English. Modified form of English used to specify the logic of information processes Uses a subset of English

talitha
Download Presentation

Structured English

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Structured English

  2. From user-speak to programming Plain English Structured English Pseudocode Programs User Analyst Programmer

  3. Modeling Logic with Structured English • Modified form of English used to specify the logic of information processes • Uses a subset of English • Action verbs • Noun phrases • No adjectives or adverbs • It should read like English • No specific standards exist

  4. Structured English Keep the language tight and precise, but clear enough to be readable by the user Blocks indicate general steps; indent for structure Sequence is important Identify areas of decision-making (conditions) and repetition See Figure 9-3 on the right

  5. Writing Structured English • File Names • Separate words with hyphens • Use Title Case, e.g. Invoice-Record • Common verbs • READ, ACCEPT, GET, WRITE, PRINT, SORT, MOVE, MERGE, ADD, SUBTRACT, MULTIPLY, DIVIDE • Common nouns: • Variable names, attributes, data flow inputs and outputs • Focus on how the process converts the inputs to outputs

  6. Writing Structured English Conditions • BEGIN IF • IF … THEN … • statements … • ELSE • statements … • END IF or • SELECT • CASE 1 (conditions) • statements … • CASE 2 … • statements … • END SELECT Repetition • DO • statements … • UNTIL end-condition or • DO WHILE • statements … • END DO

  7. P&E 9.1 • Represent the logic in this table as Structured English

  8. P&E 9.2 • See Figure 8-16, process 5.0. • Write Structured English for this process. See text on page 256 for more information.

More Related