You are on page 1of 18

20-Jan-14

OOMD-Module1

Analysis
Goal: To develop a model of what the system
will do.
Expressed in terms of
objects and relationships,
dynamic control flows
functional transformations.

1
20-Jan-14

Analysis Cont
1.Write or obtain an initial description of the
problem
2.Build an object model
3.Develop a dynamic model
4.Construct a functional model
5.Verify, iterate and refine the three models

2
20-Jan-14

Problem Statement
State the requirements
Should state what is to be done not how it is
to be done.
Statement of needs; not a proposal for a
solution
A user manual is a good example.

Automated Teller Machine Eg:

3
20-Jan-14

ATM Problem Statement


Design the software to support a computerized banking network
including both human cashiers and automatic teller
machines(ATM) to be shared by a consortium of banks. Each bank
provides their own computer to maintain its own accounts and
process transactions against them. Cashier stations are owned by
individual banks and communicate directly with their own banks
computers. Human cashiers enter account and transaction data.
Automatic Teller Machines communicate with a central computer
which clears transactions with the appropriate banks. An ATM
accepts cash card, interacts with the user, communicates with the
central system to carry out the transactions, dispense cash and
prints receipts. The system requires appropriate recordkeeping
and security provisions. The system must handle concurrent
accesses to the same account correctly. The banks will provide
their own software for their own computers: You are to design
the software for the ATMs and the network. The cost of the
shared system will be apportioned to the banks according to the
number of customers with the cash cards.

Object Modelling

4
20-Jan-14

5
20-Jan-14

6
20-Jan-14

7
20-Jan-14

8
20-Jan-14

9
20-Jan-14

10
20-Jan-14

11
20-Jan-14

12
20-Jan-14

Develop a dynamic model


Prepare scenarios of typical interaction
sequences
Identify events between objects and prepare
an event trace for each scenario
Prepare an event flow diagram for the system
Develop a state diagram for each class that
has important dynamic behavior.
Check for consistency and completeness of
events shared among the state diagrams.

13
20-Jan-14

Preparing
Scenarios

Identify
events
prepare
event trace

14
20-Jan-14

Build a state diagram

Construct functional model


Identify input and output values
Build data flow diagrams showing functional
dependencies.
Describe functions.
Identify constraints
Specify optimization criteria

15
20-Jan-14

Identify input and output values

Build DFD

16
20-Jan-14

Describe functions

17
20-Jan-14

18

You might also like