Question
Question 1:- Scenario: Consider a website related to the grocery store, where customers can shop grocery items using a shopping cart. The customers can view
Question 1:-
Scenario: Consider a website related to the grocery store, where customers can shop grocery items using a shopping cart. The customers can view a grocery list, select items of desire, fill their cart, and checkout. A website shopping cart starts out as empty. When grocery items are selected by customer for purchase, they are added to the shopping cart. If customer want to remove the items from shopping cart, items can also be removed. When the order of customer is completed and he decides to check out, a summary of the items in the shopping cart and the total bill is shown to the customer to confirm whether this is OK or not. If the items and bill are confirmed OK by the customer, then system will display the summary and take the customer to the payment system. Otherwise, customer will go back to the shopping list (so he/she can remove).
a) Produce a state diagram showing the different states and transitions.
b) Produce a state transition table.
c) Give an example test for an invalid transition.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started