Ads

Pages

Saturday, April 16, 2011

CS504 Assignment No. 1 solution


Q1 [Marks 10]

"During the construction of a motorway link road, for shifting an Interchange 5 Km ahead of its current location after it has already been built, it is going to be very costly. It could be easily fixed if realized earlier."

1) Create an analogy of the software development phases with above scenario.

2) Also mention the most suitable and worst phase (justify your answer with solid reasons in each case) for a "needed change" in case of software development regarding cost and efforts.


Q2 [10 Marks]

Draw the use case diagram of the following scenario

As System Analyst at Pakistan Railways, you need to model a Ticket Selling System for Terminal computers (TSSTC). Reading the Functional Specification of the system, you draw the following conclusions:

The main purpose of TSSTC is to use it for searching the "Train Timings" and purchasing the train tickets.

> TSSTC consists of touch screen as an interface between passenger and system, credit-card reader and a printer to print tickets.

> Each passenger uses available interface to search the available routs and train times from which he selects one train.

> After he selects the train, the terminal screen displays the available seats in that train.

> The passenger selects the seat and the system prompts the total fare.

> The payment is then made by credit card (using credit-card reader).

> The system confirms the payment. If the payment is not confirmed, system displays an error message and transaction is terminated.

> If the payment is confirmed, the ticket is issued and printed by the printer, from where the passenger collects his ticket.


SOLUTION:


No comments:

Post a Comment