Reference no: EM131945049
Assignment
"Choco Shop", a shop that sells chocolates, is in the process of expanding its business. In order to achieve this plan, the "Choco Shop" management would like to start developing a WebApp with the following scenario:
The "Choco Shop" management wishes to have a WebApp that handles up to 100 users simultaneously,and uses lots of animation. Users should be able to view the available chocolate items and if they would like to be customers they have to register in the system. When a customer creates an account, the customer login credentials (username and password) must be chosen. After logging to the system, customers can search for available items, order items, pay online after providing the credit card information, and they are able to write their feedback. The WebApp should verify the login credentials such as the user name and password. The system verifies the credit card information and, if approved, the order is finalized, and the system sends a confirmation message to the customer.
The "Choco Shop" employee is responsible for managing the customer orders, adding items, deleting items, and updating the customer information. The employees will be able to do the activities only after logged into the system. The "Choco Shop" administrator can check the status of the online orders, check inventory, send a request to a supplier, update the inventory, and update suppliers' information in the database. The administrator will be able to do the activities only after logged into the system. The supplier can add new chocolate items and add details of special discount offers. The supplier will be able to do the activities only after logged into the system. The "Choco Shop" management would like to have a system that allows the customers to pay in different currencies.
Deliverables
The parts of this project yields many outputs. These outputs will be the means of evaluation of each part of the project. The group leader (selected by the students' group) must upload only one Word-format document to the Blackboard.
Q1:
1.1 List two functional requirements (FRs).
1.2 List two non-functional requirements (NFRs).
1.3 List the actors of the WebApp.
1.4 Draw a use case diagram for the given scenario.
Q2:
The following paragraph depicts the activity of adding a new chocolate item initiated by the supplier and mentioned in the "Choco Shop" scenario. Draw a Swimlane Diagram for the given activity.
The process starts when the supplier logins to the system. The system verifies the supplier credentials, and if correct, the suppler can proceed otherwise the process ends. The supplier fills a new-item form by providing the item details. The supplier can then submit the form. The system validates the information submitted, and if correct, it sends an alert to the "Choco Shop" Administrator, otherwise the process ends. The Administrator updates the inventory database and sends a confirmation message to the supplier. The supplier receives the message and the process ends.
Q3:
The "Choco Shop" management would desire to have a database system to keep track of its chocolate items, customers, and employees. Read the following paragraph to answer the given questions.
The "Choco Shop" has registered with a registration number, title, address and phone number. The shop has one or many employees working with it. For each employee, the system keeps an employee ID, first name, last name, address, telephone number, and salary. For each customer, the system needs to keep a customer ID, first name, middle name, last name, title, telephone number, and address. A customer can make zero or more orders. For each order, the system maintains a unique order ID, date, time, and any special discounts offered on the order. Only one employee takes each order. One employee may deal with one or more customers. A single order associated with one or more items. The item details to be stored are item ID, quantity, description, and unit price. The shop inventory stores one or many items.
3.1 Identify the classes and their attributes from the given paragraph.
3.2 Draw a Class diagram for the given database. The diagram must show all classes, relationships between classes, and multiplicities.
Q4:
4.1 The "Choco Shop" management would desire to develop an online payment system for customers once they have confirmed the item order process that mentioned in the "Choco Shop" scenario. Draw a Sequence diagram for the below flow of events. You are required to identify relevant objects and methods according to the given steps.
Flow of Events in the online payment activity:
• The customer confirms the order and goes to online payment option.
• The system asks the customer to enter Visa/Master card number.
• The customer enters his/her card number.
• The system verifies the account number with the card provider.
• The system Administrator verifies the submitted details.
• A message to add amount to inventory will be sent.
• The system accounts will be updated.
• The system receives a successful receipt of transaction from system accounts.
• The customer receives a confirmation message from the System.
• The customer exits from the online payment option.