In: Computer Science
Railway Reservation System is a system used for booking railway
tickets over the Internet. Any Customer can book tickets for
different trains. The Customer can book a ticket only if it is
available. Thus, he first checks the availability of tickets, and
then if the tickets are available he books the tickets after
filling details in a form. The Customer can print the form when
booking a ticket. Note that to book a ticket the customer has to
checkout by paying fare amount.
Booking tickets can be in two ways: by i-ticket or by e-ticket
booking. In case of i-ticket booking, the Customer can book the
ticket online and a Clerk prints the ticket then the ticket is
couriered to the Customer at his address. But in case of e-ticket
booking, tickets are booked online, sitting at the home, and the
Customer himself has to print the ticket.
For cancellation of ticket, the Customer has to go to a reservation
office to fill a cancellation form and ask the Clerk to cancel the
ticket. Ticket cancellation includes refunding money to customer
account.
: Write a set of non-functional requirements
: Draw the uses case diagram
: Draw the class diagram
Ans: Non-functional requirements :
A non-functional requirement is a specification that describes the system’s operation capabilities and constraints that enhance its functionality. These may be speed, security, reliability, etc.
A set of non-functional requirements for Railway Reservation System are as follows:
Now, USE CASE DIAGRAM OF RAILWAY RESERVATION SYSTEM according to details provided in problem we have,
Now, Class Diagram of Railway Reservation System is as:
In the above class diagram of Railway Reservation system, the topmost box in each block represent entity name, 2nd box indicates attributes of each entity and bottom box represent action performed by each entity.
Here, '+' sign indicates public domain and '-' sign private domain.