In: Computer Science
A computer manufacturer offers the possibility of purchasing computers via the Internet. The customer can select a computer on the manufacture’s web page. The computers are classified into servers, desktops and portables. The customer can select a standard configuration or can build a desired configuration online. The configurable components are presented as pick lists of available options. For each new configuration, the system can calculate price. To place an order, the customer must fill out the shipment and payment information. Acceptable payment methods are credit cards and checks. Once the order has been entered, the system sends a confirmation e-mail message to the customer with details of the order. While waiting for the arrival of the computer, the customer can check the order status online at any time. The back end order processing consists of the steps needed to verify the customer’s credentials and payment method, to request the ordered configuration from the warehouse, to print an invoice, and to request the warehouse to ship the computer to the customer. Consider the following extended requirements: The customer uses the manufacturer’s online shopping web page to view the standard configuration of the chosen server, desktop or portable computer. The customer chooses to view the details of the configuration, perhaps with the intention of buying it as it or to build a more suitable configuration. The price for each configuration can be computed at the customer’s request. The customer may choose to order the computer online or may request that the salesperson contact him/her to explain order details, negotiate the price, etc. before the order is actually place. To place the order, the customer must fill out an online form with shipment and invoice address, and with payment details (credit card or cheque). After the customer’s order has been entered into the system, the salesperson sends and electronic request to the warehouse with details of the ordered configuration. The details of the transaction, including an order number and customer account number, are e-mailed to the customer, so that the customer can check the status of the order online. The warehouse obtains the invoice from the salesperson and ships the computer to the customer.
For the above Scenario draw the UML diagrams
Q1: Draw Activity diagram make possible assumptions and also draw Sequence diagrams of the major 3 functions?
Activity diagram represents the sequence of activity and flow of control in the system . activity model shows that how the system working step by step actions of system and process flow. it is similar to data flow and flow chart diagrams(representation of actions and control flow).
Sequence Diagram :- Sequence diagram represents the interaction between the objects in sequence to process all steps in the system every object needs to perform because all have own functionality. which plays an important role in the system . The sequence diagram explain how and in which sequence the object needs to perform an action.
It includes :- Customers and service providers such as users, administrators sales person and other employees.