Wednesday, January 15, 2020

Assignment of Case Study


Case study
1.  Create a sequence diagram for the following collaboration. Use the classes and methods on the diagram.

A customer wants to draw money from his bank account. He enters his card into an ATM (Automated Teller machine).The ATM prompts Enter PIN. The customer enters his PIN .The ATM (internally) retrieves the bank account number from the card. The ATM encrypts the PIN and the account number and sends it over to the bank. The bank verifies the encrypted Account and PIN number. If the PIN number is correct, the ATM displays “Enter amount”, draws money from the bank account and pays out the amount.  








2.  For the case study given below Identify all the actors, use cases and relationship also draw use case diagram.

A coffee Vending Machine dispenses coffee to customers. Customers order coffee by selecting a recipe from a set of recipes. Customers pay for the coffee using coins. Change is given back if any to the customers. The Service Staff loads ingredients (coffee powder, milk, sugar, and water, chocolate) into the coffee machine. The service staff can also add a recipe by indicating name of the coffee, the units of coffee power, milk , sugar , water and chocolate) into the coffee machine. The Service Staff can also add a recipe by indicating name of the coffee, the units of coffee power, milk, sugar, water and chocolate to be added as well as the cost of the coffee.








3.  Define Use Case and Actor in Use Case Diagram. For the case study given below identify all the actors, use cases and relationship. Also, draw use case diagram.

XYZ Hotel Information System.

 There are two types of customer: Tour-group customers and Individual customers. Both can book, cancel, check-in and check-out of a room by phone or via the Internet. There are booking process clerk and reception staff who manages it. A customer can pay his bill by Credit card or pay utility bill.











4.  Activity diagrams may be used for different purposes during system development process. List such purposes.

A soft drink vending machine accepts coins for a variety of products. When the amount of money deposited into the machine is equal to or greater than the price of any of its available products, the respective product selection buttons will be enabled for the user to make the selection .After the user has made a valid selection, the machine wil dispense the soft drink, together with the change (if applicable). Draw the Activity Diagram for this vending machine. State clearly about assumptions and limitations you have considered during your design. 

No comments:

Post a Comment