Presentation is loading. Please wait.

Presentation is loading. Please wait.

Software acquisition and requirements SR3_Functions - except tasks

Similar presentations


Presentation on theme: "Software acquisition and requirements SR3_Functions - except tasks"— Presentation transcript:

1 Software acquisition and requirements SR3_Functions - except tasks

2

3

4 SR3: Functions - except tasks
Kilder SR: Soren Lauesen: Software requirements - Styles and techniques. Addison-Wesley, 2002. UID: Soren Lauesen: User interface design - A software engineering perspective. Addison-Wesley, Fra kapitel 5. © 2002, 2005, Pearson Education retains the copyright to the slides from the books, but allows restricted copying for teaching purposes only. It is a condition that the source and copyright notice is preserved on all the material.

5 5. SR3.2 Context diagram Hotel Account R1: system system
The product shall have the following interfaces: Account system booking, checkout, service note, . . . Recep- tionist confirmation, invoice Telephone system Guest Hotel system Guest Account Accountant Waiter R2 ??: The reception domain communicates with the surroundings in this way: Reception Recep- tionist From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

6 6. SR3.3 Event list & function list
Domain events (business events) Product events R2: The product shall handle the following events / The product shall provide the following functions: User interface: R2.1 Find free room R2.2 Record guest R2.3 Find guest R2.4 Record booking R2.5 Print confirmation R2.6 Record checkin R2.7 Checkout R2.8 Record service Accounting interface: R2.9 Periodic transfer of account data . . . R1: The product shall support the following business events / user activities / tasks: R1.1 Guest books R1.2 Guest checks in R1.3 Guest checks out R1.4 Change room R1.5 Service note arrives . . . Domain-product: many-to-many From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

7 7. SR3.4 Feature requirements (product level)
R1: The product shall be able to record that a room is occupied for repair in a specified period. R2: The product shall be able to show and print a suggestion for staffing during the next two weeks based on historical room occupation. The supplier shall specify the calculation details. R3: The product shall be able to run in a mode where rooms are not booked by room number, but only by room type. Actual room allocation is not done until checkin. R4: The product shall be able to print out a sheet with room allocation for each room booked under one stay. Ambiguous - what to do? In order to handle group tours with several guests, it is convenient to prepare for arrival by printing out a sheet per guest for the guest to fill in. From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

8 8. SR3.5B Screens & prototypes (design level)
Appendix xx. Required screens Appendix yy. Required functions Stay window Book: . . . Checkin: If stay is booked, record the booked rooms as occupied. If stay is not recorded, Check selected rooms free and guest information complete. Record guest and stay. Record selected rooms as occupied. If stay is checked in, . . . From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

9 9. SR3.5A Screens & prototypes
R1: The product shall use the screen pictures shown in App. xx. R2: The menu points and buttons shall work according to the process description in App. yy. Error messages shall have texts as in . . . Certificate: The requirements engineer has usability tested this design according to the procedures in App. zz. Makes sense? R3: Novice users shall be able to perform task tt on their own in mm minutes. From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

10 10. SR3.5A Alternative R1: The product shall use the screen pictures shown in App. xx. R2: The menu points and buttons shall work according to the process description in App. yy. Error messages shall have texts as in . . . R3: Novice users shall be able to perform task tt on their own in mm minutes. The customer imagines screens like those in App. xx. From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

11 11. SR3.12C Detailed product activities
May be useful if it reflects the program code. Here it doesn't. Select checkin Read booking number Retrieve booking Display error message [not found] UML activity diagram for first part of checkin. Also called BPMN and Flowchart. [found] Display guest and booking details What happened to our present problems? Read and store modifications From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

12 12. SR3.14A Dataflow - domain model
R1: The product shall support these activities? Booking request Checkin request, booked Checkin, Checkin request, non-booked Checkin, Constantine/Yourdon/DeMarco (1970) Booking guest data Data expression: Booking request = guest data + period + room type guest data = guest name + address + pay method Guests period+room# Transfer Account system Rooms Confirmation From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

13 13. SR3.14B Domain model, second level
Booking request Checkin request, booked Find Guest Record Checkin request, non-booked FindFree Room Record Guest FindFree Room Booking request + room# Record Guest Guests room list Send Confirm Record Booking Rooms Data description: Booking request = guest data + period + room type From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

14 14. SR3.14C Dividing the work FindFreeRoom Booking request
period+room type User Product free rooms choice Rooms Booking request room# Record Guest Current User Prod. Guest data + chosen room Guests Record Booking User Prod. From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

15 15. SR3.14D Dataflow - product level
The product shall handle the events as follows: *) Find room = period + room type Find room *) Find guest Record guest FindFree Room Find Guest Record Guest Record booking or checkin room# Rooms Guests Record Booking OrCheckin Print Confirm Current Print confirm From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

16 16. SR3.15 Standards as requirements
R1: Data transfer to the account package shall be done through a file with the format described in WonderAccount Interface Guide xx.yy. The account numbers shall be . . . R2: The user interface shall follow MS Windows Style Guide, xx.yy. The MS Word user interface should be used as a model where appropriate. R3: Shall run under MS-Windows release xx.yy. Supplier shall port product to new releases within ______ months. R4: Shall follow good accounting practice. The supplier shall obtain the necessary certification. R5: The supplier shall update the payroll computations in accordance with new union agreements within one month after release of the agreement. From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002

17 17. SR3.16 Development process as requirement
R1: System development shall use iterative development based on prototypes as described in App. xx. R2: Supplier shall deliver additional screens with a complexity like screen S3 at a price of $____ per screen. R3: All developers shall spend at least two days working with the users on their daily tasks. R4: A special review shall be conducted at the end of each development activity to verify that all requirements and system goals are duly considered. The customer’s representative shall participate in the review. R5: Customer and supplier shall meet at least two hours bi-weekly to review requests for change and decide what to do, based on cost/benefit estimates of the changes. Generates new requirements? From: Soren Lauesen: Software Requirements © Pearson / Addison-Wesley 2002


Download ppt "Software acquisition and requirements SR3_Functions - except tasks"

Similar presentations


Ads by Google