Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

Diagram 1: CashIn

image text in transcribed

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 Database

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

=+ Are there additional forms of employee representation?

Answered: 1 week ago