Professional Documents
Culture Documents
Focus on models
Operational process
Information
System
Model
ANALYSIS PHASE
System modelling
System modelling helps the analyst
to understand the functionality of
the system and models are used to
communicate with customers
Stages of Design
Problem understanding
Formal specification
Procedure-oriented analysis
Procedure-oriented analysisalso called
structured
analysis
or
classical
analysisis the analysis process used if
the system implementation phase will
use a procedural language. The
specification in this case may use several
modeling tools, but we discuss only a
few of them here.
Entity-relationship diagrams
Entity-Relation Diagram
An entity
A relation between
entities
An entity or relation
attribute
An inheritance
relation
Client
1
Student
Project
1
CS311
Student
5 to 7
Member of
0:n
Person
0:n
0:n
Tech contact
Client
0:n
1
Student
Project
Person
0:n
1
CS305
Student
5 to 7
Member of
0:n
Tech contact
State diagrams
Object-oriented analysis
Object-oriented analysis is the
analysis process used if the
implementation uses an objectoriented
language.
The
specification document in this case
may use several tools.
Class diagrams
State chart
After the class diagram is finalized, a state
chart can be prepared for each class in the
class diagram. A state chart in objectoriented analysis plays the same role as
the state diagram in procedure-oriented
analysis.
Description
The oven is waiting for input. T he display shows the current time.
The oven power is set to 300 watts. The display shows Half
power.
The oven power is set to 600 watts. The display shows Full
power.
The cooking time is set to the users input value. The display
shows the cooking time selected and is updated as the time is set.
Oven operation is disabled for safety. Interior oven light is on.
Display shows Not ready.
Oven operation is enabled. Interior oven light is off. Display
shows Ready to cook.
Oven in operation. Interior oven light is on. Display shows the
timer countdown. On completion of cooking, the buzzer is
sounded for 5 seconds. Oven light is on. Display shows Cooking
complete while buzzer is sounding.
Full power
do: set power
= 600
Timer
Waiting
do: display
time
Half
power
Number
Full
power
Half
power
Door
closed
Timer
Door
open
Half power
do: set power
= 300
Operation
do: operate
oven
Set time
do: get number
exit: set time
Door
closed
Disabled
do: display
'Waiting'
Cancel
Start
Enabled
do: display
'Ready'
Door
open
Waiting
do: display
time
Time
Cook
do: run
generator
OK
Emitter
fault
Timeout
Done
do: buzzer on
for 5 secs.
Alarm
do: display
event
Door
open
Disabled
Cancel
Waiting
4 Main Elements
DATA FLOW
SOURCE/SINK
Rejection
Application
Completed
form
Receive application
Evaluate
application
Applicant
Offer
Receive
Applicant
Completed
application
Acknowledgment
AND
Initiate
evaluation
Evaluation
request
AND
Supporting
information
Pending
database
Applicant
database
Evaluation
Acceptance
Special
request
Applicant
database
Financial
aid
Offer
Visio 5.x
From Flow Chart /
Data Flow Diagram
ID #
Process
Process
Process
Data Store
Data Store
Data Store
ID
#
External Entity
External
Entity
External
Entity
Reading a DFD
Levelled DFDs
External
entity
System box
Level 2 Diagrams
Numbering
Labelling
Context Diagram
Staff Assignment
Campaign
Manager
Payment
Accountant
Campaign
Staff
Client
Staff Grade
Budget
Agate
Campaign
Management
System
Advert Completion
Client Contact
Advert
Campaign
Staff
Concept Note
Concept Note
Staff
Staff
Contact
Staff
Clients
1.
Record
Clients
Campaign
Manager
Staff
Client
4.
Maintain
Staff
Staff Grade
Staff Members
Payment
Staff
Campaign
Staff
Budget
Staff Assignment
Accountant
2.
Plan and
Manage
Campaigns
Campaigns
Campaign
Contact
Cost + Completion Date
Concept Note
5.
Manage
Adverts
Staff
Contact
Client Contact
Adverts
Advert
Campaign
Staff
Advert Completion
3.
Prepare
Adverts
Advert
6.
Browse
Concept
Notes
Concept Note
Notes
Concept
Note
Concept
Note
Staff
Level 1 Diagram
Staff Members
Client Contact
Staff
5.1
Set Client
Contact
Contact
Adverts
Advert Completion
5.2
Set Advert
Completed
Completion Date
Example
System requirements
DFD
Package data
Package details
order
Process
order
Customer
invoice
Credit status
Customer data
DFD (2)
Package data
Package details
order
Customer
invoice
Assemble
order
Verify order
is valid
details
Credit status
Customer data
DFD (3)
Verify order
is valid
Details of package to
be ordered
Pending orders
Batched order
Place order at
supplier
Address or telephone
Software
Supplier
DFD (4)
Package data
Package details
order
Customer
invoice
Assemble
order
payment
Payment to
invoice
Verify order
is valid
details
Credit status
Account
receivable
Customer data
KITCHEN
0
Food
ordering
system
RESTAURANT
MANAGER
KITCHEN
0
Customer Order
Food
ordering
system
Receipt
Management
Reports
RESTAURANT
MANAGER
Food Order
1.0
Receive and
transform
Customer Food
Order
3.0
2.0
Update
Goods
Sold file
Update
Inventory
file
4.0
Produce
Management
Reports
CUSTOMER
KITCHEN
1.0
Customer Order
Receive and
transform
Customer Food
Order
Food Order
Receipt
D1
Goods Sold
File
3.0
2.0
Update
Goods
Sold file
Update
Inventory
file
D2 Inventory File
4.0
Produce
Management
Reports
Management
Reports
RESTAURANT
MANAGER
CUSTOMER
KITCHEN
1.0
Customer Order
Receipt
3.0
Food Order
Goods
Inventory
Sold
Data
2.0
Update
Inventory
file
Update
Goods
Sold file
Goods
Sold Data
D1
Receive and
transform
Customer Food
Order
Goods Sold
File
Inventory Data
D2 Inventory File
4.0
Produce
Management
Reports
Management
Reports
RESTAURANT
MANAGER
Steps:
1. Create a list of activities
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
CUSTOMER
Sales Forecast
0.0
Lemonade Production Schedule EMPLOYEE
Pay
System
Product Served
Payment
Received Goods
Payment
VENDOR
Time Worked
Purchase Order
Level 0 DFD
1.0
Sale
Customer Order
Serve Product
Collect Payment
Product Ordered
Payment
CUSTOMER
Produce Product
Store Product
Sales Forecast
Customer Order
Product Served
Received Goods
VENDOR
Purchase Order
Production
Schedule
2.0
Production
EMPLOYEE
Inventory
3.0
Procurement
Payment
Order
Decisions
Pay
4.0
Payroll
Time Worked
Level 1 DFD
CUSTOMER
Customer Order
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
ORDER
1.1
Record
Order
Severed Order
Payment
1.2
Receive
Payment
PAYMENT
1.3
Produce
Sales
Forecast
Sales Forecast
Level 1 DFD
Product Order
ORDER
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
2.1
Serve
Product
Quantity Severed
RAW
MATERIALS
Production
Schedule
2.2
Produce
Product
Production Data
2.3
Store
Product
Quantity Used
INVENTORTY
Level 1 DFD
Order Decision
3.1
Produce
Purchase
Order
Quantity On-Hand
Quantity
Received
Received
Goods
3.2
Receive
Items
Produce Product
Store Product
PURCHASE
ORDER
Payment Approval
3.3
Pay
Vendor
RAW
MATERIALS
RECEIVED
ITEMS
VENDOR
Level 1 DFD
Time Worked
4.1
Record
Time
Worked
TIME CARDS
Employee ID
EMPLOYEE
Payroll Request
4.2
Calculate
Payroll
Produce Product
Store Product
Payment Approval
4.3
Pay
Employe
e
PAYMENTS
Process Decomposition
0.0
Lemonade
System
Context Level
1.0
Sale
1.1
Record
Order
1.2
Receive
Payment
2.0
Production
2.1
Serve
Product
2.2
Produce
Product
2.3
Store
Product
3.0
Procurement
3.1
Produce
Purchase
Order
3.2
Receive
Items
3.3
Pay
Vendor
4.0
Payroll
4.1
Record
Time
Worked
4.2
Calculate
Payroll
4.3
Pay
Employe
e
Level 0
Level 1
Data stores:
Personnel file
Repairs file
Bus master list
Parts list
Data flows:
Repair order
Bus record
Parts record
Employee timecard
Invoices
Mechanical
problem
to be repaired
Helper
Labor
Labor
Mechanic
Bus
Repair
Process
System
Labor,
parts cost
details
Repair
summary
List of
parts used
Supervisor
Inventory
Managemen
t System
Accountin
g
System
Order processing system
External entities
Kitchen
Restaurant
Customer
Processes
Customer order
Receipt
Food order
Management report
Context diagram
Shareholders
financial
report
Supply needs
Docket &
Payment
Joe's
Yard
Joe
Customer
Signed docket
Supply order
& payment
Supply invoice
Supplier
Money
Payment
Supplier
receipt
22
Payment
Docket &
Payment
Payment
Restock
Docket
supplies
Supplier
Customer
M1
completed
docket copy
supplies
Supply order
Docket
completed
docket copy
required stock
stock
Signed docket
12
builder
signature
11
Take
to
yard
Order
book
M3
Supply order
get
items
required stock
completed
docket copy
Supplier
receipt
Joe
Supply needs
21
Reorder
supplies
Signed docket
Signed docket
Joe's Office
Produce
financial
report
Foreman
financial
report
*
Shareholders
Buy Supplies
20 Buy supplies
Customer
M1
Docket
20.1
Docket
Docket
Writes
Order
*
Payment
Docket
20.3
Stamp
Docket(signature)
20.2
Payment
Pays
Joe
*
*
Money
Get Items
12 get items
12.2
Foreman
Signed docket
12.1
Signed docket
Get builder
signature
*
Give items
to customer
Customer
*
required stock
builder
signature
completed
docket copy
completed
docket copy
stock
12.3
Give
copy
as receipt
Reorder supplies
21 Reorder supplies
21.1
Joe
Supply needs
Reorder
from
yard
Supply needs
21.2
Supply order
Record
order
*
M3
Order
book
Restock
22 Restock
M3
Order
book
Supply order
22.1
stock
supplies
Take
delivery
*
supplies
Supply order
Money
Payment
22.2
Supplier
receipt
Pay
supplier
*
Payment
Supplier