How to create a UML Diagram

Y

yasser

hi, I'm taking an introduction to programming class in college. My first
assignment is to draw a UML diagram for the following senerio:

Senerio:
For many years, your Uncle Frank has been running a small landscaping
business. Through these years, he acquired many steady clients and knew most
of them on a first name basis. Once a month, after completing the work for
that day, he would calculate (on the spot) how much the client owed for the
month with services rendered each week; he would collect the payment and
write a receipt.

His clients were charged various prices. Some clients were given a 10%
discount because they were old friends. Some clients were given a $10.00
discount per lawn because of the amount of their business (5 lawns or more).
New clients just paid the regular advertised price of $35.00 per lawn.


After discussing this with your uncle, you agree to set up a computer and
create a program that would keep track of his clients. It would calculate the
bills and print invoices that would be mailed to the clients. It will also
keep track of the client payments when they were received.

When the clients received their invoices, they would have 30 days to send in
their payment. When the payment was received, the program would update the
account to reflect this payment, but if no payment was received, then this
month's bill would be added to next month's bill plus a 5% late charge.

Assignment:
Programming involves a formal and structured process. This is known as the
Software Development Life Cycle (SDLC).
Create a UML diagram for the processes involved in this program to discuss
with your uncle to ensure that the program will contain all the features your
uncle desires.

Please help...I want to know how to create a UML diagram in VISIO for the
above mentioned senerio.

Thanks in advance.

-Yasser
 
P

Paul Herber

hi, I'm taking an introduction to programming class in college. My first
assignment is to draw a UML diagram for the following senerio:

Senerio:
For many years, your Uncle Frank has been running a small landscaping
business. Through these years, he acquired many steady clients and knew most
of them on a first name basis. Once a month, after completing the work for
that day, he would calculate (on the spot) how much the client owed for the
month with services rendered each week; he would collect the payment and
write a receipt.

His clients were charged various prices. Some clients were given a 10%
discount because they were old friends. Some clients were given a $10.00
discount per lawn because of the amount of their business (5 lawns or more).
New clients just paid the regular advertised price of $35.00 per lawn.


After discussing this with your uncle, you agree to set up a computer and
create a program that would keep track of his clients. It would calculate the
bills and print invoices that would be mailed to the clients. It will also
keep track of the client payments when they were received.

When the clients received their invoices, they would have 30 days to send in
their payment. When the payment was received, the program would update the
account to reflect this payment, but if no payment was received, then this
month's bill would be added to next month's bill plus a 5% late charge.

Assignment:
Programming involves a formal and structured process. This is known as the
Software Development Life Cycle (SDLC).
Create a UML diagram for the processes involved in this program to discuss
with your uncle to ensure that the program will contain all the features your
uncle desires.

Please help...I want to know how to create a UML diagram in VISIO for the
above mentioned senerio.

Ignore all the numbers and detail like that initially.
Start off with some Use Case diagrams which will focus your mind on
what is happening, then do some Sequence Diagrams.

Hints:
Use case 1: what happens at the end of day with a client
Use case 2: what happens at the end of the month
Use case 3: what happens when payment comes in
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top