ISOM221+Lecture+11+-+Object-Oriented+Modeling+I+_Initial+Use+Case+Model_+Solutions

ISOM221+Lecture+11+-+Object-Oriented+Modeling+I+_Initial+Use+Case+Model_+Solutions

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Exercise ISOM221 Information Systems Analysis and Design Lecture 11: Object-Oriented Modeling I (Initial Use Case Model) (Solutions of In-Class Exercises) 1 2 • Create an initial use case description for the “transfer funds” use case What are the Major Steps? 1. 2. 3. 4. Insert a card in the ATM Log in with a pass code Make a selection to transfer funds Enter the account number of the account to which which funds will be transferred 5. Enter the amount to transfer 6. The system checks the account number and the availability of funds 7. Perform the transfer and debit the customer’s account 3 Use Case Form: Initial Use Case Use Case ID Use Case Actors Description UC-200 Transfer Funds (P) Customer (S) Customer Accounts System The customer inserts card in the ATM, logs in with a pass code, and makes a selection from the available choices to transfer funds. Once in the funds transfer screen, the customer is prompted to enter the account number of the account to which funds will be transferred and the amount to transfer. After the account number and the amount are entered, the system will check for the validity of the account number and the availability of funds for that customer. Provided that the account number is valid and funds are available, the system will transfer the amount requested to the account and then debit that amount in the customer’s bank account records. / / / Bank funds transfer process outlined in the bank’s Operational Procedures Manual 4 Priority Non-Functional Requirements Assumptions Source Exercise #1 • Create a use case diagram for the Tune Source Digital Music Download System • Three key requirements of the system are – Search and Browse Tunes – Purchase Tunes – Promote Tunes Level 0 DFD (Lecture 7) 5 6 Actors and Use Cases • Actors – – – – Customer Credit card clearing house Marketing managers Marketing staff (who extract data from the sales database to prepare sales report for marketing managers) Customer Use Case Diagram UC-100 Search and Browse Tunes UC-200 Purchase Tunes Tunes UC-300 Promote Tunes Credit Card Clearinghouse • Use cases – UC-100 - Search and Browse Tunes – UC-200 - Purchase Tunes – UC-300 - Promote Tunes 7 Marketing Managers Marketing Staff 8 UC-100 – Search and Browse Tunes UC-100 Search and Browse Tunes UC-200 – Purchase Tunes UC-200 Purchase Tunes Credit Card Clearinghouse Actor Type: Secondary Personality: External Server Customer Customer Actor Type: Primary Personality: Initiator, Receiver Personality: Initiator, Receiver Actor Type: Primary 9 10 UC-300 – Promote Tunes UC-300 Promote Tunes Exercise #2 • Based on the scenario of campus housing system, create – a use case diagram – use case descriptions for the “Search for apartments” and “Add apartments” use case Customer Actor Type: Primary Personality: Receiver Marketing Managers Actor Type: Primary Personality: Initiator, Receiver Marketing Staff Actor Type: Secondary Personality: Facilitator • Scenario: The Campus Housing Office is designing a housing system to to help students find apartments. Owners of apartments fill in information forms about the rental units they have available (e.g., location, number of bedrooms, monthly rent), which are entered into a database by the service staff. Students can search through this database via the Web to find apartments that meet their needs (e.g., a two-bedroom apartment for $800 or less per month within ½ mile of campus). They then contact the apartment owners directly via telephone to arrange a time to see the apartment and possibly rent it. Apartment owners call the service staff to delete their listing when they have rented their apartments. 12 11 Context Diagram (Lecture 10) Add Apartments, Delete Apartments Campus Campus Housing System Actor Specification Card (Student) Actor Specification Actor Name: Student Type: Primary Personality: Initiator/Receiver Abstract: No Search for Apartments Role Description: A student is a person who wants to rent an apartment. The student interacts with the campus housing system to search for apartments and obtains apartment information and contact information of the owner. Student Add Apartments, Delete Apartments Service Staff Owner Actor Goals: • Search for apartments Use Cases Involved with: • UC100 - Search for apartments 13 14 Actor Specification Card (Owner) Actor Specification Actor Name: Owner Type: Primary Personality: Initiator Abstract: No Actor Specification Card (Service Staff) Actor Specification Actor Name: Service Staff Type: Secondary Personality: Facilitator Abstract: No Role Description: An owner is a person who wants to list his/her apartment for renting. The owner contacts the service staff to provide the information about the rental units. When the apartment is rented, the owner calls the service staff to delete the listing. Role Description: A service staff is a person who maintains the listing of rental units. The service staff collects information forms about the rental units from owners and enters the information into the database. When an owner informs the service staff that an apartment is rented, rented, the service staff deletes the listing of that apartment. Actor Goals: • Post available rental units to the listing • Remove rented units from the listing Actor Goals: • Maintain the listing of rental units Use Cases Involved with: • UC200 - Add apartments • UC300 - Delete apartments 15 Use Cases Involved with: • UC200 - Add apartments • UC300 - Delete apartments 16 Use Case Diagram UC-100 Search Apartments UC-200 Add Apartments UC-300 Delete Apartments Service Staff What are the Major Steps for Searching Apartments? 1. Log in with username and password 2. Make a selection to search for apartments 3. Enter the desired location, number of bedrooms, bedrooms, and price range 4. The system checks the availability of apartments that match the criteria 5. The system provides a listing of all matched apartments and the contact information of the apartment owner 17 18 Student Owner Initial Use Case for “Search for Apartments” Use Case ID Use Case Actors Description UC-100 Search for Apartments (P) Student The student logs into the campus housing system with username and password. The student makes a selection from the available choices to search for apartment. Once in the search screen, the student is prompted to enter the desired location, number of bedrooms, and price range. The system will check for availability of apartments that match the student’s criteria. Provided that matched apartments are found, the system provides a listing of matched apartments in the indicated location and price range and the contact information of the apartment owner. What are the Major Steps for Adding Apartments? 1. The apartment owner requests a form to list a new rental unit 2. The service staff provides the form to the owner owner 3. The owner fills in the form, providing information about the location, number of bedrooms, and monthly rent of the unit 4. The service staff adds the rental unit to the database 19 20 Priority Non-Functional Requirements Assumptions Source / / / / Initial Use Case for “Add Apartments” Use Case ID Use Case Actors Description UC-200 Add Apartments (P) Owner (S) Service Staff The apartment owner requests a form to list a new rental unit. The service staff provides the form to the owner. The owner fills in the form, providing information about the location, number of bedrooms, and monthly rent of the unit. The service staff adds the the rental unit to the database. Priority Non-Functional Requirements Assumptions Source / / / / 21 ...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online