In: Computer Science
Write all application functional specification for the following application, just the functional specification thanks.
Develop a shopping cart application (think of a simplified
version of amazon.com). When the application begins, it shows a
login window.
Depending who logs in, a customer or the seller, the application
performs different functions.
Minimal Functional Specification:
Here is a draft version of a minimal functional specification. Students have to adapt it, extend it, and make it their own:
A customer logs in with a user name and password and a window
(frame) opens where he can browse
through a list of available products that includes the product
name, price, and available quantity.
From this window the customer can select products and add them to
the shopping cart or they can click on a product and get the
full
product description, pricing and availability (quantity available)
in a pop-up window. The
customer can add the product to the shopping cart (quantity),
depending on availability.
The shopping cart total amount is kept current on the main product
browse window.
The customer can proceed to checkout at any time. On the
checkout window, the shopping
cart can be updated by changing the item count for each product in
the cart. At checkout
the customer verifies the shopping cart content and pays for the
goods by
supplying the credit card. The application does not arrange for
shipping.
When the seller logs in, a window opens where the current state
of the inventory is shown.
The seller can update the inventory by adding products - specifying
product name, invoice price,
sell price and by updating the available quantity.
The internal product representation includes ID, type, quantity,
invoice price, and
selling price. The application must keep track of all costs,
revenues and profits.
The seller can access this information from the application UI.
FYI:
Profit = Revenues - Costs,
Revenues = Sum of sell price for all sold items
Costs = Sum of invoice price for all items brought in the inventory
(bought)
Questions
Write all application functional specification.
just write the functional specifications. no code please.
In the above use case diagram there are 2 actors named customer and seller. Customer can browse the product customer can login or customer can update the profile. Since growing up product and updating profile needs login soc product browse and update profile have included login feature. checkout can happen after adding product to cart so check out his extended towards add to cart. Add to cart can happen only after browsing the product so it is extended towards browse product. After checkout the total price is calculated before payment show payment is extended towards calculate total price which in turn is extended towards check out. after checkout the product catalogue is updated since the quantity has been changed so updating product catalogue is extended towards check out. seller can update inventory or update product details or can access sales analysis data. The system calculate the sales profit and revenue which is provided to the seller and hence it is extended towards accessing sales analysis data.