Question
Diagram 1: CashIn Diagram 2: Process Sale CashIn 1) During CashIn, what steps must occur in order for the first instance of the LoggedInScreen message
Diagram 1: CashIn
Diagram 2: Process Sale
CashIn
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
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?
Alt Cashier Login(ID, Password) Authorization true Logged InSaeen else 1 Retry prompt Insert amount amountVerificationStatus true Open Drawer else Re-count prompt place insert, close drawer Acceptance Message LoggedlnSaeen Register UserDatabase. Authorize UserID, Password) AuthorizationStatus verify Count amount) amountVerificationStatus Cashin Accounting DatabaseStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started