Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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 Cashln

Explanation / 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. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote