1) Joe removes the \"Loop\" interaction frame from the scenario, saying it only
ID: 3812107 • Letter: 1
Question
1) Joe removes the "Loop" interaction frame from the scenario, saying it only makes the SSD confusing.
2) Joe expands the SSD to include the cases when makePayment happens via cash and when makePayment happens using credit or debit card.
3) Joe renames the endSale operation to be more specific. It is now called "pressEndSaleButton". He claims it's more clear and therefore better.
4) Joe changes enterItem to scanItem, saying that we know it's a scanner so using the vague word "enter" is not a good idea.
5) Joe writes Operation Contracts for each incoming Operation, with a pre- and post-condition for each. His Operation Contracts are each more than a page long. They are detailed narratives describing the state of the system before and after the operation.
6) Joe states that once his new version of the SSD and Operation Contracts are complete, the Use Cases themselves are no longer important and can be thrown away.
Write a draft email to Joe in MS Word explaining the potential issues and risks involved with each of his changes. Write your thoughts in complete, thorough sentences, and number each response to match the six numbered changes he made. APA format is not required, and references are not required., but feel free to reference Larman in your Word document email message.
Process Sale Scenario System Cashier make New Sale Simple cash-only Process Sale scenario loop more items l 1. Customer arrives at a POS checkout enterltem itemID, quantity) with goods and/or services to purchase 2. Cashier starts a new sale. 3. Cashier enters item identifier. description, total 4. System records sale line item and presents item description, price, and running total. Cashier repeats steps 3-4 until indicates end Sale done. 5. System presents total with taxes calculated total with taxes 6. Cashier tells Customer the total, and asks for payment. 7. Customer pays and System handles make Payment amount payment. change due, receipt Figure 10.3 SSDs are derived from use cases; they show one scenario.Explanation / Answer
Dear Mr. Joe,
I have noticed your changes in the SSD of NexGen POS project, I would like to give you some information regarding the same. The following points are explained below:
1) The loop in the process is for the complete order of products untill the customer says its done. It accepts products one by one and add it with its code and quantity.
Once the item code and quantity is scanned, the total is done and asked for next product.
So, removiing the iteration will only select single product and asked for the payment, which is not the right process.
2) To expand SSD for including Payment option is a great suggestion. As earlier POS was just asking for payment without giving the mode of payment. This will help the customer choose how to pay.
As, mentioned 2 options 'CASH' or 'CARD', Then a sub option will be provide under the CARD. i.e CREDIT/DEBIT.
3) Renaming the operation from "endSale" to "pressEndSaleButton". It will not effect any operational process. Though it can help the developers while testing and debugging the code. Though the following comments are mentioned while writing the code. So it can also be accepted without any issues.
4) As mentioned above, it is also similar to the above request for making the change from "enterItem" to "scanItem". And you are right with description, as the items/products are scanned rather than entered.
Though we can also look from another angle i.e the product description is entered by the machine. Anyways it can also be done without any trouble.
5) Regarding the Operation Contracts, need to look at the pre- and post-condition for each. Then only we can comment or give suggestion for the same.
6) Use case is for the testing and getting to know the system prior to the actual system. We can do numerous changes and test different scenarios. It should be kept for future.
Thank you and will look forward to making the progress.
Regards
xxx
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.