Docsity

Software Engineering Design Tools: Structure Charts, Pseudo-Code, and ER Models, Cheat Sheet of Computational Techniques

Partial preview of the text

Download Software Engineering Design Tools: Structure Charts, Pseudo-Code, and ER Models and more Cheat Sheet Computational Techniques in PDF only on Docsity!

BM306 Software

Engineering

Asst. Prof. Dr. Meryem Şerifi

Outline

STRUCTURE CHART

Structured English

Pseudo-Code

DECISION TABLES

Entity-Relationship Model

STRUCTURE CHART

Structure chart is a chart derived from Data Flow Diagram. It represents the system in more detail than DFD. It breaks down the entire system into lowest functional modules, describes functions and sub-functions of each module of the system to a greater detail than DFD. Structure chart represents hierarchical structure of modules. At each layer a specific task is performed.

STRUCTURE CHART

symbols used in construction of structure charts : Module - It represents process or subroutine or task. A control module branches to more than one sub-module. Library Modules are re-usable and invokable from any module.

STRUCTURE CHART

Jump - An arrow is shown pointing inside the module to depict that the control will jump in the middle of the sub module.

STRUCTURE CHART

Loop - A curved arrow represents loop in the module. All sub-modules covered by loop repeat execution of module.

STRUCTURE CHART

Control flow - A directed arrow with filled circle at the end represents control flow.

Structured English

Graphs or diagrams, may are sometimes interpreted differently by different people. Hence, analysts and designers of the software come up with tools such as Structured English.

Structured English

following are some tokens of structured programming. IF-THEN-ELSE, DO-WHILE-UNTIL

Structured English

Customer Authentication in the online shopping environment.

Pseudo-Code

Pseudo code is written more close to programming language. It may be considered as augmented programming language, full of comments and descriptions. Pseudo code avoids variable declaration but they are written using some actual programming language’s constructs, like C, Fortran, Pascal etc.

Pseudo-Code

Pseudo code contains more programming details than Structured English. It provides a method to perform the task, as if a computer is executing the code.

STRUCTURE CHART

STRUCTURE CHART