You are on page 1of 24

1.

Retail Store
Context Diagram
0
Receipt

Management
Report

Customer

Point of Sale
System

Payment

Store
Manager

Retail Store
Level-0 Diagram

Receipt

Transform
Customer
Purchase

Customer
Payment

Goods Sold

Inventory
Data

Update Goods
Sold
File

Update
Inventory
File

Update
Sales Total
File

Formatted
Goods Sold
Amount

D1

Sales Data

Goods Sold File

Formatted
Inventory
Amount

D2

Formatted
Sales Total
Amount

Inventory File

D3

Inventory
Amounts
Goods Sold
Amounts

Sales Total File

Sales Totals

5
Produce
Management
Reports

Management
Report

Store
Manager

2.
Cap and Gown
Context Diagram

Order
Information

Cap and Gown


Information

Student

Shipping

Receipt

Order
Entry
System

Cap and Gown


Level-0 Diagram
Order
Information

Cap and Gown


Information

Receipt
Student

Shipping

Valid Order
Information

Inventory
Data

Finalize
Order

Validate
Order

Formatted
Inventory Data

Inventory
Status
D1

Inventory File

3
Update
Inventory
File

4.

Cap and Gown


Level-1 Diagram

Validate Order

Shipping
Cap and Gown
Information

2.1

2.2

Receipt
Generate
Receipt

2.3

Receipt

Log Goods
Sold Data

Generate
Information
for Shipping

Goods Sold
Data

Valid Order
Information

D2

Validate Order

Inventory
Data
Update Inventory File

Goods Sold File

9.
Hiring System
Context Diagram
Interview Schedule
Applicant

Nondisclosure Form

Application
Completed
Nondisclosure Form

Job Description

Interview Evaluation

Hiring
System

Application

Hiring Decision Letter

Engineering
Manager

Hiring System
Level-0 Diagram
Completed Nondisclosure Form
Nondisclosure Form
1

Application

Receive
Application

Applicant

Purge Notice

Valid
Application

5
D1

Purge
Year-old
Applications

Applications

Year-old Applications
Applications
Related to Job
Description

Interview Schedule

Choose
for
Interview

Rejected Applications

6
Applications for
Interview

Application

Hiring
Decision

Accepted Job
Description
Engineering
Manager

Job
Description

D2

Job Descriptions
Relevant Job
Description

Create
Employee
Record
New Employee Data

D3

Evaluate
and Hire

Receive
Job
Description
Interview Evaluation
Hiring Decision Letter

10.
Help Desk
Context Diagram
Call
Inquiry on Nature of Call
0
Non-Help
Desk Call

Nature of Call
Client

Call Report # or Other Data


New Problem Data
Interim Problem Status
Final Call Resolution

Help Desk
System

Other
Unit

Employees

Help Desk
Level-0 Diagram
Level-0 Diagram
New Problem Data

Call
1
Receive
Call

Inquiry on Nature of Call

Call
Information
2
Determine
Direction
of Call

Call Report # or Other Data

Client

D1

Call Queue
Help Desk
Call Information

Non-Help
Desk Call
Information

Previous
Call
Information

Determine
if First
Call

Close
Call
Report

Closed Call Problem


Resolution

New
Information
on Problem

Closed Call
Indication

5
Help Desk
Call Information

Final Call Resolution

Nature of Call

Determine
Problem
Status

8
Research
Problem

Call
Report

First Call
Information

Open Call
Information

Call Report File

D2

4
Other
Unit

Create
Call
Report
Problem
Information

Call Report
Information

D1

Call Queue

Problem
Data
New
Problem
Data

6
Transfer
Call

Open Call Information

Interim Problem Status

7
Record
New
Information

11.
Hospital Pharmacy
Context Diagram
0

Prescription
Doctor

Drug Label Info

Unfilled Order Info


Hospital
Pharmacy
System

Store
Manager
Patient Number
and Drug Type,
Amount & Cost

Unfilled Order Info


Response

Hospital Pharmacy
Level-0 Diagram

1
Doctor

Prescription

Review &
Send
Prescription
to Station

Unfilled Order Info


Unfilled Order Info
Response

Pharmacy
Tech Review

Prescription

D1

Patient File

Patient Info

Review
Prescription
Order by
Station
Order Info

Order Fill Info


3

Fill
Order

Drug Label Info


4
Generate
Label

Patient Number
and Drug Type,
Amount & Cost

Billing
Dept

Drug Label Info


Nurses
Station

12.
Contracting System
Context Diagram
0
Shipping Bill

Purchase Order
Government
Agency

Contracting
System

Government
Agency

Invoice

Invalid Purchase
Order Info

Contracting System
Level-0 Diagram

Purchase Order
Government
Agency
Invalid Purchase
Order Info

Contract Terms
and Conditions

1
Verify
Purchase
Order

D1
Validated PO #

Validated PO
Invoice

Shipping Bill

Contract Database

Completed PO
Closeout Info

Check
Inventory

Not-in-stock
Report

Validated PO
3

Pull & Ship


Items from
Inventory

Validated PO,
Initial Shipping Bill
& Exception Report
Shipping Bill for
Exception Report Items

D2

Contracts File

13.
Training Logistics System
Context Diagram
Reserve & Seating Info
Seminar & Consultant Info
0

Bookings
Dept

Sales
Manager

Negotiation Info

No. Anticipated Registrants


Negotiation Info
Possible Travel Arrangements

Training
Logistics
System

Contract Agreement Info

Approved Travel Arrgmts

Consultant

Contract Agreement Info

Travel Confirmation & Itinerary


Flight Schedules

Availability, Cost,
Mtg Space, &
Availability, Cost,
Location Info
Mtg Space, &
Location Info
Potential
Requirements
Meeting Site

Flight
Reservation
Info

Travel
Agency

Training Logistics System


Level-0 Diagram

Availability, Cost,
Mtg Space, &
Location Info
Requirements
Potential
Meeting Site

Bookings
Dept

Reserve & Seating Info


1

Negotiation Info

Arrange
for
Meeting
Facilities

Availability, Cost,
Mtg Space, &
Location Info

Seminar & Consultant


Info
No. Anticipated
Registrants

Sales
Manager

Negotiation Info
Contract Agreement Info
Contract Agreement Info

Meeting
Facility
Info

Seminar Mtg Facil Requirements


2

Consultant

Make
Consultant
Apprvd Travel Arrgmts
Travel
Arrangements

Seminar Logistics Database

D1

Possible Travel Arrgmts

Consultant Travel Info


Flight Schedules

Travel Confirmation & Itinerary


3
Determine &
Send Seminar
Materials

Shipment
Notification

Travel
Agency

Flight
Reservation
Info
Request for
Materials

4
Gather, Box
& Send
Materials to
Meeting
Facility

Seminar
Material
Requirements

14.
Decision Table for Process 3.0 Generate Orders
Hoosier Burgers Inventory Control System
Conditions/
Courses of Action

Rules

Inventory level Below Minimum Order Quantity

1
N

Place order with Vendor


Do NOT place order with Vendor

2
Y
X

Decision Table for Process 4.0 Generate Payments


Hoosier Burgers Inventory Control System
Conditions/Courses of Action
Due Status
Generate Rush Payment
Generate Payment
Postpone Payment

1
L

Rules
2
D

3
N

Due status:
L = Late; Date of invoice is more than 30 days before today's date.
D = Due; Date of invoice is 30 days before today's date.
N = Not due: Date of invoice is less than 30 days before today's date.

X
X

16. Presented below is a simpler sample decision table for some aspects (exclusive of the bidding process).
Decision Table for Purchasing Personal Computers
Conditions/Courses of
Action
Purchase Amount
Vendor Approved

Rules
1
G
Y

2
L
Y

3
G
N

Award Contract to Winning


X
Vendor
Issue Purchase Order
X
X
Purchase Equipment
X
X
Award Contract to Other
X
Approved Vendor
Find Another Approved
Vendor
Purchase Amount:
G = greater than $15,000.00,
L = less than or equal to $15,000.00
Vendor Approved: Y = Yes; approved by Purchasing Department
N = No; not approved by Purchasing Department

Y
2
Y

4
L
N

Award contract to winning vendor, issue


purchase order, purchase equipment

N
Award contract to other approved vendor

1
Y
N

Issue purchase order, purchase equipment

N
Find another approved vendor

1. Is purchase greater than $15,000?


2. Is the vendor approved by Purchasing Department?

17.
Decision Table for Electronic Keypad and Switch Sales Process
Conditions/
Courses of Action

Rules

<1>
1
Y

Section
Customerannualpurchases >$100,00

2
N

3
-

4
-

5
-

<3>
6
-

7
-

Purchase within rep region

Shared Sale

Repsales => repsalesgoal

Subtract 10% from purchaseamount

Add purchaseamount to customerannualpurchases

Add purchaseamount to repsales

Add 10% of purchaseamount to repcommission

Add 8% of purchaseamount to repcommission

Add 2% of purchaseamount to repcommission

Add 5% of purchaseamount to repcommission

Sales Process
Decision Tree

Y
Y

3
N

Y
N
1

Pay 15% commission

Pay 10% commission

Pay 7% commission

3
N

1. Is sale in home region?


2. Is sale shared?
3. Is Rep-sales => Rep-sales-goal?

Pay 8% commission

3
N

Pay 13% commission

Pay 2% commission

18.
Decision Table for Tenure Review Process
Rules

Conditions/
Courses of Action
Length of Service
Special Permission
Go up for Tenure
Postpone Tenure Review
Length of Service:
Special Permission:

1
S
Y

2
N
Y

3
S
N

4
N
N

X
S = sufficient; at least six years of service.
N = not sufficient: fewer than six years of service.
Y = yes; special permission of come up for tenure review.
N = no; no special permission.

Tenure Review
Decision Tree

Y
S

Go up for tenure

2
Go up for tenure

Y
N

Go up for tenure

2
N

Postpone tenure review

1. Appropriate length of service? Sufficient (S) or not sufficient (N).


2. Special permission to come up for tenure?

19.
Decision Table for Microcomputer HW/SW Upgrade
Conditions/
Courses of Action

Rules
1

User Status L
Special Approvals

L
S

Standard Complement
Upgrade Complement
Mobile Complement

User Status:
Special Approvals:

2
H
S

3
M
S

O
S

L
U

H
U

7
M
U

X
X

L = light; H = heavy; M = moderate; O = mobile


S = standard; approval for standard complement
U = upgrade; approval for upgrade complement

Microcomputer Upgrade
Decision Tree

Standard complement

Standard complement

Upgrade complement

Upgrade complement

Standard complement

Upgrade complement

Mobile complement

Mobile complement

2
1

8
O
U

1. What is the users status? Light (L), heavy (H), moderate (M), or mobile (O).
2. What special approvals do they have? Standard (S) or upgrade (U).

20 a.

Decision Table for Courses based on work Hours


Conditions/
Courses of Action

Rules
1

Hours worked <=10

Take 1 Major class plus 1 elective

Take 2 Major classes plus 1 elective

20b.
Decision Table for Class Registration
Conditions/Courses of Action

Able to Register for Physics and


Physics Lab
Able to Register For English Comp
Able to Register For COBOL
Able to Register For Music
Appreciation
Register for P, PL, EC, C & MA
Register for P, PL, EC, C & 1 R
Register for P, PL, EC, MA, and 1 R
Register for P, PL, EC, & 2 R
Register for P, PLO, C, MA and 1 R
Register for P, PL, C, & 2 R
Register for P, PL, MA & 2 R
Register for P, PL, and 3 R
Register for EC, C, MA & 2R
Register for EC, C, & 3 R
Register for EC, MA & 3 R
Register for EC & 4 R
Register for C, MA & 3 R
Register for C and 4 R
Register for MA and 4 R
Register for RR
R = Replacement Class (es)

Rules
1

10

11

12

13

14

15

16

Y
Y

Y
Y

N
Y

N
Y

Y
N

Y
N

N
N

N
N

Y
Y

Y
Y

N
Y

N
Y

Y
N

Y
N

N
N

N
N

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

21.
Decision Table for Graduate Program Application
Conditions/
Courses of Action

Rules

MBA

MS MIS
Southeast region - location

Top 10 school

At least 1 well known faculty member

Scholarship awarded

Financial Aid awarded

Apply to this Graduate School

Graduate Program
Decision Tree
Y

Apply

Y
Apply

Do Not Apply

Y
Y

Apply

Y
N

Apply

Do Not Apply

Do Not Apply
Y
Y

Apply
Y

Apply

Do Not Apply

3
1

Do Not Apply
Y
N

Y
Y

N
N

Apply

N
N

Apply

Do Not Apply
Do Not Apply
Do Not Apply
Do Not Apply

1. Master of MIS program?


2. MBA program?
3. Located in the southeast?
4. Top 10 program in country?
5. At least one well-known faculty member?
6. Financial Aid available?
7. Scholarship awarded?

22.
Decision Table for Loan Approval
Conditions/
Courses of Action
Loan amount
Loan Type
Employment income
verified
Amount requested <
cost of attendance
Educational loan
amount <$35,000
Credit rating
Account at our bank
Loan approved
Loan denied
Loan to VP to be
reviewed

Rules
1
L

2
S

G
X
X

3
S

F
Y
X

4
S

5
S

F
N

6
A
C
Y

7
A
C
N

8
A
C
Y

9
A
C
Y

10
A
C
Y

X
X

Loan amount: >$200,000 = L, <=$2000 = S,


>$2000 and <$200,000 = A
Loan type Education: = E, Car, Mortgage or other = C
Credit rating: Good/Excellent = G, Fair = F, Poor = P

11
M
E

12
M
E

13
M
E

14
M
E

15
M
E

16
M
E

17
M
E

18
M
E

X
X

1. Application loan amount < $2,000?


2. Application loan amount $2,000 and $200,000
3. Car, mortgage, or other type of loan?
4. Employment income verified?
5. Loan amount requested exceed cost of attendance?
6. Loan amount request < $35,000?
7. Credit rating good or excellent?
8. Credit rating fair?
9. Does applicant have account at bank?

Approve
Y

Y
N

N
Y
N

Approve

Deny

Get add'l applic info & forward to VP

Approve

Y
1

Deny

Deny

Approve

Approve

Y
8

N
Y

N
7

Approve
Deny
Approve
Deny

N
Deny
Forward to VP

Appendix7A: Object-Oriented Analysis and Design


Use Cases*
1. Use case diagram for the situation described in Problem and Exercise 9, page 228.
H ir in g S y s te m U s e C a s e D ia g r a m

A cto
A p p lic
a nr 1t

R e c e iv e
A p p lic a tio n

E v a lu a te a n d
H ir e
R e c e iv e J o b
D e s c r ip tio n

1
E n g inAectoerrin
g
M anager

C h o o s e fo r
in te r v ie w
P u r g e Y e a r - o ld
A p p lic a tio n s
C r e a te E m p lo y e e
re c o rd

2. Use case diagram for the situation described in Problem and Exercise 10, page 228.
Maximum Software Use Case diagram

3. Use case diagram for the situation described in Problem and Exercise 11, page 231.

Hospital Pharmacy System Use


Case Diagram

Actor1
Doctor

Review and
send Rx to
Station

Actor1
Pharmacy

Tech

Review Rx
Order by Station

BillingActor1
Dept

StoreActor1
Manager

Fill Order

Generate Label

Actor1

Nurses
Station

4. Use case diagram for the situation described in Problem and Exercise 12, page 231.
GSC Use Case diagram

5.

Use case diagram for the situation described in Problem and Exercise 13, page 231.

Training Inc Use Case Diagram

Actor1
Bookings
Dept

Arrange for
Meeting
Facilities

Make Consultant
Travel
Arrangements

Actor1
Consultant

Actor1
Sales

Manager

Actor1
Travel
Agency

Determine and
Send Seminar
Materials

Gather Box and


Send Materials to
Facility
Actor1

Potential
Meeting Site

6. This use case diagram for Figure 7-23 differs from the one in Figure 7-26 in that it has fewer actors,
use cases, and associations. The differences can be attributed to the fact that the diagram in Figure 726 covers additional processes and checking such as billing, prerequisites and special classes. All
three diagrams are included for completeness.

Use Case Diagram for Class Registration from level-0 Diagram in figure 7-23

(Note: diagram drawn with Open ModelSphere Open source diagramming tool)

7.

Develop a use case diagram for using an ATM machine to withdraw cash.
Use case diagram for using an ATM machine to withdraw cash

(Note: diagram drawn with Open ModelSphere Open source diagramming tool)
8. Student Answers will vary. Below is an example use Case diagram to make, cancel and update a
reservation on a plane flight.

(Note: diagram drawn with Open ModelSphere Open source diagramming tool)

You might also like