程序代写代做代考 17spm_T02,T03 – Solution

17spm_T02,T03 – Solution

Software Project Management

SPM 2017 Tutorial 2 & 3 Solution 1 © 2017 Ron Poet

Tutorial 2 and 3 Solution

Actor Roles
Newsagent: Runs the process
Customer: has papers delivered
Paper Person (PP): delivers the papers
Publisher: publishes papers and magazines

Use Case Diagram

Newsagent

Customer

PP

Publisher

Makeup runs

Add new order Delete order

Add customer Delete Customer

Add PP Delete PP

Calc total orders

Calc pay

Enter complaint

Set pay rates

Assign run to PP

New customer Leave system

Add order Delete order

Make complaint

Inform absence

Software Project Management

SPM 2017 Tutorial 2 & 3 Solution 2 © 2017 Ron Poet

Notes on the Construction of the Diagram

This diagram defines the scope of the system because it lists the functionality. We have
decided not to involve the customer, assuming they do not want to be troubled by one of
the many shops that distribute their publications. We have decided that customers and
paper persons can access the system, and so it must be online. This functionality is
duplicated by the newsagent, allowing customers and paper persons to phone up or visit
the shop. Any information provided in these ways enters the system via the newsagent.

Use Case Details: Makeup runs

Happy Day Scenario

Newsagent Ron opens the program.
He selects the “Makeup runs” option.
The system prints out the run details for all the paper persons.

Non Delivery Scenario

Copies of the “Daily Mail” have not been delivered to the shop and he plans to substitute
copies of the “Daily Express”.
Newsagent Ron opens the program.
He chooses the “Substitute Paper” option
He enters “Daily Mail” as the paper to be substituted.
He enters “Daily Express” as the replacement paper.
He selects the “Makeup Runs” option.
The system prints out the run details for all the paper persons.

Paper Person Can’t Make It Scenario

Paper Person Jo’s mother has phoned the shop and said that Jo is ill.
Newsagent Ron opens the program.
He chooses the “show round” option.
He enters Jo.
The system displays all the houses on Jo’s run.
He selects all the houses in “Park Road”
He temporarily adds them to “David’s” run.
He selects all the other houses on Jo’s run.
He temporarily adds them to “Simon’s” run.
He selects the “Makeup runs” option.
The system prints out the run details for all the paper persons.

Software Project Management

SPM 2017 Tutorial 2 & 3 Solution 3 © 2017 Ron Poet

Flow of Events
Pseudo code is an appropriate notation for the flow of events since this use case is not so
complicated that an activity diagram is needed. The three scenarios above are combined
into the flow of events. Individual names are not used.

Open the system.
While paper substitutions have to be made
Enter name of paper to be substituted.
Enter name of replacement paper.
While rounds to be temporarily reassigned
Enter name of paper person
Bring up their round
While still some houses not reassigned.
Select some houses.
Enter name of substitute paper person.
Select Makeup runs option.
The system prints out the runs.

Pre and Post Conditions

There are no useful pre and post conditions for this use case.

Rational

This use case will produce a list of all the houses on each run, together with the papers
for that house, with a run listing for each paper person. At the start of the run there will
be a list of how many of each paper they will ne3ed to make up their run. Each paper
person will collect all the papers they will need for their complete run and put them in
their bag. They will then go out on their run, taking their list with them, and consult the
list at each house before delivering the correct papers.

Internal Use Cases

This use case involves editing a round, which is likely to be a common occurrence. We
can create an internal use case called “Edit round” and this use case will include it. There
are no suitable extended use cases.

Priority

This is Must Have

Status

Initial definition

Software Project Management

SPM 2017 Tutorial 2 & 3 Solution 4 © 2017 Ron Poet

User Interface

This is designed for the newsagent and so does not need to be sophisticated. A window
with 3 buttons is appropriate.

Other use cases will be similar.