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

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question
100%

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

    1. cash: the cashier collects the money, the cashier indicates the amount to be returned to the customer
    2. check: the cashier notes the customer's ID number
    3. 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:

  1.  Model this situation using a use case diagram

2. Give the sequence diagram for the use case Pay cash

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,