Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( b ) Consider a software system which will be embedded in ticketing machines used to issue train tickets. Travellers wishing to buy a ticket

(b) Consider a software system which will be embedded in ticketing machines
used to issue train tickets. Travellers wishing to buy a ticket can buy a oneway ticket, a weekly commuter ticket, or a monthly commuter ticket. A ticket
can be paid for by cash or credit card and card is most typical. If a person
does not enter the full cash required or a card within 30 seconds of starting
to purchase a ticket, the machine automatically times out the transaction. If a
person wishes to cancel a transaction, they simply press the cancel button.
Changes in ticket fares are communicated to all ticket machines from the
train companys management system. If the machine is out of paper, no
tickets can be issued and so no transactions should be allowed to start. If the
machine is out of change, no cash transactions should be allowed to
complete unless exact fare is given.
(i) Write the detailed form of the main scenario of the Buy Ticket use
case.
(ii) Identify four extension scenarios for the use case in part (i) and
document each one in the brief style (indicating the condition in which
the extension occurs and the basic action that results)

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

Students also viewed these Databases questions