Docsity

Structured Analysis and Design Technique-Software Requirement-Lecture Slides, Slides of Software Project Management

Partial preview of the text

Download Structured Analysis and Design Technique-Software Requirement-Lecture Slides and more Slides Software Project Management in PDF only on Docsity!

1

Structured Analysis and Design

TechniqueLecture # 36

2

Recap

  • We have talked about function-oriented

modeling and discussed the Real-TimeStructured Analysis and also applied thistechnique to the Banking System case study

  • We’ll talk about Structured Analysis and

Design Technique (SADT) and also apply itto the Banking System case study in today’slecture

4

Structured Analysis and Design

Technique

(SADT)

5

Structured Analysis and Design

Technique (SADT)

  • A model of the problem is constructed,

which is composed of hierarchy of diagrams

  • Each diagram is composed of boxes and

arrows

  • The topmost diagram, called the context

diagram, defines the problem mostabstractly

7

Structured Analysis and Design

Technique (SADT)

• All boxes should be numbered in the

lower right corner, to reflect theirrelative dominance

• Arrows may enter top, left, or bottom

sides of the box, and can exit onlyfrom the right side of the box

8

Structured Analysis and Design

Technique (SADT)

  • An arrow pointing into the left side of a box

represents things that will be

transformed

by the box. These are inputs

  • An arrow pointing down into the top of the

box represents

control

that affects how the

box transforms the things entering from leftside

10

An SADT Context Diagram

A Process

Inputs

Outputs

Controls Mechanisms

0

11

IDEF0 Fundamentals

  • Diagrams based on simple box and arrow

graphics, arrows convey data or objects

  • Text labels to describe boxes and arrows

and glossary and text to define the precisemeanings of diagram elements

  • Box name shall be a verb or verb phrase,

such as "Perform Inspection”, arrows arenouns

13

IDEF0 – Rules

• There is always an A-0 context

diagram, and its box number is always0. This is a strict part of the standardthat helps identify the overalldescription of the system

• A non-context diagram has from 3 to 6

boxes. This helps us manage detail

14

IDEF0 – Rules

  • Each box is numbered in its lower right

corner, generally going upper left to lowerright on the diagram. This gives us aconsistent way to lay out the diagram

  • Arrows have horizontal and/or vertical

segments, never diagonal. This makes thediagrams more readable

16

IDEF0 – Rules

  • Unconnected ends of boundary arrows are

identified by their ICOM codes. This helpsidentify arrows when moving from onediagram to another.

  • Fork and/or

join arrows

, rather than using

parallel arrows for the same object. Thisreduces clutter, and reduces the likelihoodthat an arrow could be overlooked becauseit is in another part of the diagram

17

Banking System Case Study

19

Problem Description - 2

-^

If the PIN is validated satisfactorily, the customer is prompted for awithdrawal, query, or transfer transaction. Before withdrawaltransaction can be approved, the system determines that sufficientfunds exist in the requested account, that the maximum daily limit willnot be exceeded, and that there are sufficient funds available at thelocal cash dispenser. If the transaction is approved, the requestedamount of cash is dispensed, a receipt is printed containing informationabout the transaction, and the card is ejected. Before a transfertransaction can be approved, the system determines that the customerhas at least two accounts and that there are sufficient funds in theaccount to be debited. For approved query and transfer requests, areceipt is printed and card ejected. A customer may cancel atransaction at any time; the transaction is terminated and the card isejected. Customer records, account records, and debit card records areall maintained at the server.

20

Problem Description - 3

-^

An ATM operator may start up and close down the ATM to replenishthe ATM cash dispenser and for routine maintenance. It is assumedthat functionality to open and close accounts and to create, update, anddelete customer and debit card records is provided by an existingsystem and is not part of this problem.

-^

‘Designing Concurrent, Distributed, and Real-Time Applications withUML’ by H. Gomaa, Addison-Wesley, 2000