A/ Supermarket checkout Statement: The normal workflow of a supermarket checkout is as follows: - A customer arrives at the checkout with items to pay for - The cashier records the identification number of each item, as well as the quantity if it is greater than 1 - The cashier displays the price of each item and its label - When all the purchases are recorded, the cashier signals the end of the sale - The cashier displays the total of the purchases - The cashier tells the customer the total amount to be paid - The customer chooses the method of payment cash: the cashier collects the money, the cashier indicates the amount to be returned to the customer check: the cashier notes the customer's ID number credit card: the authorization request is sent before the entry - The cash register records the sale and prints it out. - Cashier gives customer the receipt Questions: Model this situation using a use case diagram 2. Give the sequence diagram for the use case Pay cash
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
A/ Supermarket checkout
Statement:
The normal workflow of a supermarket checkout is as follows:
- A customer arrives at the checkout with items to pay for
- The cashier records the identification number of each item, as well as the quantity if it is greater than 1
- The cashier displays the price of each item and its label
- When all the purchases are recorded, the cashier signals the end of the sale
- The cashier displays the total of the purchases
- The cashier tells the customer the total amount to be paid
- The customer chooses the method of payment
- cash: the cashier collects the money, the cashier indicates the amount to be returned to the customer
- check: the cashier notes the customer's ID number
- credit card: the authorization request is sent before the entry
- The cash register records the sale and prints it out.
- Cashier gives customer the receipt
Questions:
- Model this situation using a use case diagram
2. Give the sequence diagram for the use case Pay cash
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images