Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following scenario for a passenger booking a train ticket: The applicant would check the available trains on a specific date using the user

Consider the following scenario for a passenger booking a train ticket:

The applicant would check the available trains on a specific date using the user interface.

The system would search for the available trains on that date and present them.

The applicant would select one of the trains routes and time of departure.

The applicant would provide payment using a credit card.

The system would update the number of passengers of that train.

The system would associate the passenger details with the ticket number.

a- Draw a sequence diagram for the above scenario with a minimum of 4 objects and 6 message calls

b- Draw another (conditional) sequence diagram for implementing the below exception:

If the passenger has a loyalty membership, he should benefit from a discount.

This is from TM345

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

Database Internals A Deep Dive Into How Distributed Data Systems Work

Authors: Alex Petrov

1st Edition

1492040347, 978-1492040347

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago