SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
teaching:lectures:oosc:2011:assignment_3 [2011/04/18 10:55]
jan.nonnen
teaching:lectures:oosc:2011:assignment_3 [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Assignment 3: Requirements Elicitation ======
 +<​html><​font color=darkred></​html>​**Release date: Tuesday, 26.04.11 - Due date: Sunday, 01.05.11, 23:​59**<​html></​font></​html>​
 +===== Task 1: Relationships between Use Cases =====
 +^3 points^
 +Explain in your own words, in one or two sentences:
 +  - what does <<​include>>,​ <<​extends>>,​ and generalization between use cases mean.
 +  - what is the difference between <<​include>>​ and <<​extend>>​.
 +  - what is the difference between <<​extend>>​ and generalization.
 +
 +
 +===== Task 2: Abstract a Use Case from Scenarios ​ =====
 +^**3 points**^
 +
 +Your colleague collected three scenarios about reserving hotel rooms. She already rearranged them a bit, so that they are already very similar. Abstract (the flow of events of) a Use Case from these scenarios:
 +
 +
 +++++Mr. Smith (Click to expand)|
 +  - Mr. Smith selects on his mobile phone hotel booking client to reserve a room.
 +  - The system displays the types of rooms the hotel has and their rates.
 +  - Mr. Smith selects the standard room type and indicates that he plans to stay the whole month April.
 +  - The system computes the cost as 29 x $120 = $3.480.
 +  - Mr. Smith makes the reservation for the standard room.
 +  - The system deducts from the database the number of standard rooms available for reservation.
 +  - The system creates a new reservation for the standard room
 +  - The system displays the reservation confirmation number 4710 and check-in instructions.
 +++++
 +
 +++++Ms. Marple (Click to expand)|
 +  - Ms. Marple selects to reserve a room on the public terminal at her local post office.
 +  - The system displays the types of rooms the hotel has and their rates.
 +  - Ms. Marple selects the ladies suite and indicates that she wants to stay from the 31st October till the 1st November.
 +  - The system computes the cost as 1 x $275 = $275.
 +  - Ms. Marple makes the reservation for the ladies suite.
 +  - The system marks in the database the ladies suite as unavailable for reservation.
 +  - The system creates a new reservation for the ladies suite from 31st October till the 1st November.
 +  - The system displays the reservation confirmation number 4711 and check-in instructions.
 +++++
 +
 +++++ Johnny (Click to expand)|
 +  - Johnny selects to reserve a room, sitting at the desktop computer at his university.
 +  - The system displays the types of rooms the hotel has and their rates.
 +  - Johnny selects the budget room and indicates that he wants to stay for the first week in July.
 +  - The system computes the cost as 6 x $40 = $240.
 +  - Johnny makes the reservation for the budget room.
 +  - The system deducts from the database the number of budget rooms available for reservation.
 +  - The system creates a new reservation for a budget room for the first week in July.
 +  - The system displays the reservation confirmation number 4712 and check-in instructions.
 +++++
 +
 +\\
 +Use Case: Reserve Room
 +  - The customer selects to reserve a room.
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 +  - The system displays the reservation confirmation number and check-in instructions.
 +  - The use case terminates.
 +
 +===== Task 3: Represent the Flow of Events in a Sequence Diagram =====
 +^3 points^
 +
 +a) Represent the use case of the previous task in form of a sequence diagram. This sequence diagram should show only two objects: The customer and the system.
 +
 +b) Now we assume that the database is not part of the system that we are specifying but an external system. Change the Sequence diagram accordingly. What would you change in the corresponding use case diagram?
 +
 +
 +===== Task 4: Improving Use Case Diagrams =====
 +^4 points^
 +
 +For this task, download and open this [[https://​svn.iai.uni-bonn.de/​repos/​IAI_Software/​se/​oosc2011/​group00/​Assignment3/​ATMUseCaseDiagram.asta|astah* file]] from the SVN.  ​
 +
 +Study the use case diagram. Afterwards, make sure that it covers the following scenario as well:
 +
 +++++ Inattentive Heinz charges his card with e-money (Click to expand)|
 +  - Heinz inserts card
 +  - SYSTEM asks for PIN
 +  - Heinz enters his PIN 0815 via keypad
 +  - SYSTEM displays available actions
 +  - Heinz  selects to charge his card with e-money
 +  - SYSTEM asks for the desired amount
 +  - Heinz enters the amount 21$ via keypad
 +  - SYSTEM ejects card
 +  - Heinz walks away without taking his card back
 +  - SYSTEM beeps after 5 seconds
 +  - Heinz comes back
 +  - Heinz  takes card from the slot
 +++++
 +
 +Tip: There are reasons to use each of the possible relationships between use cases.
 +
  
teaching/lectures/oosc/2011/assignment_3.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019