CashIn (Diagram) 1) During \"CashIn\", what steps must occur in order for the fi
ID: 3707397 • Letter: C
Question
CashIn (Diagram)
1) During "CashIn", what steps must occur in order for the first instance of the "LoggedInScreen" message to be generated by "Register".
2) During "CashIn", what happens if an "AuthorizationStatus" of not true is returned from "UserDatabase". According to the diagram, how many times can this happen?
3) What parameters must the class "Register" be able to process?
ProcessSale (Diagram)
4) How many times does the system go through the "EnterItem - Description, subtotal" loop?
5) How many objects are explicitly destroyed during the ProcessSale interaction?
6) List a pair of messages that could have been represented as an exclusive conditional pair? What would the condition be?
7) According to Common UML Interaction Diagram notation as described by Larman, what is wrong with the representation of each "Create" message in the diagram?
Register Cashier Login(ID, Password) UserDatabase AuthorizeUser(ID Password) AuthorizationStatus Authorization=true LoggedinScreen Ielse 1 Alt Retry prompt Insert(amount) AccountingDatabase verifyCount(amount) amountVerificationStatus Alt amountVerificationStatus=true Open Drawer I else ] Re-count prompt place insert, close drawer Acceptanoe Message LoggedinScreen CashlnExplanation / Answer
Solution:
Note: The first question is done as per Chegg guidelines, please repost others.
The CashIn figure is explained:
1)
The steps which must occur are:
2)
3)
The parameters are:
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.