Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4: [11 points: 6,5] es date 1) Describe a scenario associated with reservation of a seat, and construct a sequence diagram Sequence for

image text in transcribed

Question 4: [11 points: 6,5] es date 1) Describe a scenario associated with reservation of a seat, and construct a sequence diagram Sequence for this scenario.. Seats can be reserved by passengers on the web site of the bus company. Passenger lists all scheduled busses from city - to city on "date". The system displays all the seats with their status. Passenger chooses seat number, which happens to be free. He completes the reservation by entering his contact information. We assume passenger had already logged on to the system prior to this scenario and each operation show up in the reservation side.. 2) Draw a state diagram for describing the details of the Seat object of the above system The Passenger has the option to directly pay for the seat through the website. In that case, the seat cannot be cancelled (neither by the Passenger nor by the bus company). If the Passenger has not paid for the seat, the bus company can cancel the seat if the Passenger does not show up one hour before the trip. When the reservation is cancelled, the seat will become free and can be sold to another Passenger. Both the Passenger and the company staff must authenticate themselves for performing operations with the system Good Luck

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

3. Give a method for simulating a hypergeometric random variable.

Answered: 1 week ago