Document 15007532

advertisement
Matakuliah
Tahun
: Konsep object-oriented
: 2009
<<REQUIREMENTS FOR THE WHEELS CASE
STUDY SYSTEM
Pertemuan 5
A Student Guide to Object- Orientated
Development
Chapter 2 Requirements for the Wheels
case study system
Bina Nusantara University
3
Requirements engineering
Three main stages:
• elicitation
• specification
• validation
Bina Nusantara University
4
Requirements engineering
Elicitation
Information is gathered:
• relating to the existing system
• current problems
• requirements for the future
Bina Nusantara University
5
Requirements engineering
Specification
When the information that has been collected it is
• ordered
• documented
Bina Nusantara University
6
Requirements engineering
Validation
The recorded requirements are checked
to ensure that they are consistent with what the clients and
users actually want and need.
Bina Nusantara University
7
Requirements elicitation:
interviews
Interview Plan
System: Wheels
Participants:
Date:
10 February 2004
Project reference: Wheels/04
Annie Price (Shop manager for Wheels)
Simon Davis (Developer)
Time:
14.30
Duration:
45 minutes
Place:
Manager’s office
Purpose of interview:
Preliminary meeting to discuss procedures and problems with the current system
Agenda:
 current procedures for hiring bikes
 problems with the current system
 initial ideas on how these could be addressed
 follow-up actions
Documents to be brought to interview:
 bike card
 any other documents relating to current procedures
It is useful to have an interview plan
Bina Nusantara University
8
Requirements elicitation:
interviews
Bike Number: 1591
Type: mountain
Make: Scott Model: Atlantic Trail
Colour:
black
Daily Rate: £8
Deposit: £50
Size: woman's
Customer
Start Date
Return
Date
Paid
Mrs V. Patel
31/08/03
2/09/03
£74
9/09/03
12/09/03
£82
4/10/03
4/10/03
£58
19/01/04
19/01/04
£58
Extras
16 St John’s Road
Ms C. Wilson
£8
112 Regent Street
Dr F. Green
67 Grange Road
Ms C. Wilson
112 Regent Street
Bike card: example of source document
Bina Nusantara University
9
Wheels Customer survey
Our aim is always to give you the best service possible. We are investigating our
current hiring procedures to identify any problems and improve the present system.
It would be very helpful if you could give us your opinion on what you like or dislike
about how we do things now and how we could improve.
Please spare a few minutes to answer the questions below and return the form to Annie
in reception.
Please answer questions 1 and 2 by ticking one of the boxes:

Roughly how many times have you hired a bike from us in the past year?
no hire [ ] once only [ ] 2 - 5 times [ ] 6 - 10 times [ ] more than 10 times [ ]

Roughly how many times have you hired a specialist bike from us in the past year?
no hire [ ] once only [ ] 2 - 5 times [ ] 6 - 10 times [ ] more than 10 times [ ]

For each of the statements (a) - (e) below, circle the number that is closest to your
own view. 1 means that you strongly agree with the statement, and 5 means that you
strongly disagree.
strongly
agree
The hire service is easy to understand
1
The hire service is fast and efficient
1
I always get a bike that suits me
1
It is easy to work out how much it’s going to cost 1
The bike checking is quick and fair
1





2
2
2
2
2
3
3
3
3
3
4
4
4
4
4
Requirements
elicitation:
questionnaires
strongly
disagree
5
5
5
5
5
4.
Overall are you happy with our
current bike hire system?
Please give
concerns:
details
of
any
comments
or
YES / NO
Do you have any suggestions for
improving the bike hire system?
Any further
observations:
If you would like more information about our bikes please give your details.
Bina
Nusantara
University
Your
name: _________________________________
Your address: ______________________________
Thank you for completing this questionnaire.
10
Requirements elicitation: scenarios







Bina Nusantara University
A customer, Steve Chen, arrives at the shop with a bike to return
Annie contacts the mechanics to ask for someone to come and check the bike
Annie gets the bike number, looks out the relevant bike card and checks Steve's name and address
Annie makes sure that the bike being returned is the one on the card
She confirms that the bike is being returned on time by checking the return date against the current
date
One of the mechanics checks the bike and confirms that it has been returned in good condition
Annie returns Steve's deposit
11
Requirements elicitation: scenarios










Two customers, Paul and Debbie White, arrive at the shop with bikes to return
Annie contacts the mechanics to ask for someone to come and check the bikes
Annie gets the bike numbers, looks out the relevant bike cards and checks Paul and Debbie's names
and addresses
Annie makes sure that the bikes being returned are the ones on the cards
She checks to see if the bikes are being returned on time by verifying the return date against the current
date
Annie finds that the bikes are one day overdue
She tells the customers that there is a charge for the extra day's hire
One of the mechanics checks the bikes and confirms that they have been returned in good condition
Annie returns the customers' deposit, minus the extra day's hire charge
Annie writes out a receipt for the extra charge
Bina Nusantara University
12
Requirements specification
• Purpose is to collate, order and record information
gathered during the elicitation stage
• Examples: the Problem Definition, the Problems and
Requirements List
Bina Nusantara University
13
Problem Definition
Client
Wheels
Problems with current system





It is difficult to answer queries
The hire and return processes are slow
Having one card for each bike means that Annie has to look out a number of cards and write the same
name and address on each one if a customer hires more than one bike
Producing one receipt for a hire of more than one bike is very complicated and can lead to
miscalculations
Staff have a feeling that customers are not particularly happy with the current hire system
Objectives of new system




To provide an efficient and speedy hire process
To simplify the situation where a customer hires more than one bike
To record details of customers and previous hires for marketing purposes, and to simplify
dealing with requests for the same bike as hired previously
To improve overall customer satisfaction
Scope of new system
The project will encompass the following areas of the business:
 Hire procedures
 Return procedures
 Recording bike details
 Some marketing to regular customers
The project will not cover payroll, personnel or general accounting
Preliminary ideas



Carry out a customer survey about current procedures
Design a user-friendly, computerised bike card
Provide facilities for the system to handle hiring of multiple bikes more efficiently
Recommended action


Design and agree questionnaire for customer survey
Investigate information to be stored about customers
Bina Nusantara University
 Review design of the bike card using the computer
14
Requirements specification:
Problems and Requirements List
No.
Source
Date
Description
Priority
Related
Reqs.
Related
Docs.
5.1
Meeting
with
10 Feb.
2004
Keep track of
how many
Essential
1.3
2.3
Bike
cards
Annie
bikes a
Price at
Wheels
customer is
hiring, so that
Change
Details
6.1
he gets one
unified
receipt
Bina Nusantara University
15
Requirements validation
Interview Summary
System: Wheels
Participants:
Date:
10 Feb 2004
Project reference: Wheels/04
Annie Price (Shop manager for Wheels)
Simon Davis (Developer)
Time:
14.30
Duration:
45 minutes
Place:
Manager's Office
Purpose of interview:
Preliminary meeting to discuss procedures and problems with the current system
No. Item
Action
1
Difficult to deal with queries.
Bike details and availability should be easily
accessible.
2
No records of customer details or hires, so there is
A record of previous bikes hired could be stored with
a problem when a customer wants the same bike
customer details.
as previously.
3
A customer hiring more than one bike is very
Investigate ways of simplifying hire procedures for
complicated and makes a lot of extra work.
more than one bike.
4
Receipts written out by hand.
New system must produce a computerised receipt.
5
Need to write extra details about specialist bikes
Redesign card to cater for specialist as well as
on card.
standard bikes.
Feeling that customers may not be happy with the
Produce questionnaire about current procedures and
current system.
ask customers to complete.
6
Arrange interviews with Mike, Naresh and other staff.
Bina Nusantara University
16
Requirements for the Wheels
system
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
Bina Nusantara University
keep a complete list of all bikes and their details including bike number, type,
size, make, model, daily charge rate, deposit; (this is already on the Wheels
system);
keep a record of all customers and their past hire transactions;
work out automatically how much it will cost to hire a given bike for a given
number of days;
record the details of a hire transaction including the start date, estimated duration,
customer and bike, in such a way that it is easy to find the relevant transaction
details when a bike is returned;
keep track of how many bikes a customer is hiring so that the customer gets one
unified receipt not a separate one for each bike;
cope with a customer who hires more than one bike, each for different amounts of
time;
work out automatically, on the return of a bike, how long it was hired for, how
many days were originally paid for, how much extra is due;
record the total amount due and how much has been paid;
print a receipt for each customer;
keep track of the state of each bike, e.g. whether it is in stock, hired out or being
repaired;
provide the means to record extra details about specialist bikes.
17
Download