I am making a ride-sharing app for "CHOLOJAI". You are now modeling various states of the app from requesting the ride to completing trip. Initially, when you request a ride the app searches nearby rides within 100om. If no ride is found then it keeps on searching. If there is a ride available then the rider gets a request.If the rider accepts then the customer a notification that a rider is found and the customer now waits for pickup. In the meantime, if the trip is canceled by the rider the app starts searching for the rider again but if it is canceled by the customer then it checks if the customer has canceled the ride within 10minutes. If so, then the customer does not need to pay any fine, and the ride searching is terminated. If not, the customer will be fined a certain amount and notified. If the trip is started that means the customer is on board and moving towards the destination. After the destination is reached, the fare is calculated prompted to choose a payment method either online or cash. If the customer selects online payment then the payment needs to be authenticated and the user needs to enter the payment credentials. If the payment is authenticated the customer is taken the payment completion screen. Otherwise, the customer is redirected back to the payment screen. If the customer selects cash payment he/she is directly taken to the payment completion screen. After that, the trip is considered complete.   Please design a state machine diagram showing each of the states and transitions involved.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
I am making a ride-sharing app for "CHOLOJAI". You are now modeling various states of the app from requesting the ride to completing trip. Initially, when you request a ride the app searches nearby rides within 100om. If no ride is found then it keeps on searching. If there is a ride available then the rider gets a request.If the rider accepts then the customer a notification that a rider is found and the customer now waits for pickup. In the meantime, if the trip is canceled by the rider the app starts searching for the rider again but if it is canceled by the customer then it checks if the customer has canceled the ride within 10minutes. If so, then the customer does not need to pay any fine, and the ride searching is terminated. If not, the customer will be fined a certain amount and notified. If the trip is started that means the customer is on board and moving towards the destination. After the destination is reached, the fare is calculated prompted to choose a payment method either online or cash. If the customer selects online payment then the payment needs to be authenticated and the user needs to enter the payment credentials. If the payment is authenticated the customer is taken the payment completion screen. Otherwise, the customer is redirected back to the payment screen. If the customer selects cash payment he/she is directly taken to the payment completion screen. After that, the trip is considered complete.
 
Please design a state machine diagram showing each of the states and transitions involved.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY