Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 1 Railway ticket reservation system using UML and Java People prefer trains for their journeys since they feel comfortable in train journeys. But the

Assignment 1
Railway ticket reservation system using UML and Java
People prefer trains for their journeys since they feel comfortable in train journeys. But the ticket reservation in trains is a tedious process. Indian Railways has taken various steps to make ticket reservation easier. It has digitized ticket reservation so that people can use their laptops and mobile phones to book ticket. Imagine you are part of the team that is working on Automated railway ticket booking. As part of your work, you are to develop software for automation of ticket reservation. In this context, identify the classes, objects, processes and actors in your system and develop a model to explain your system to the Indian Railways for acceptance and your Team developers for creating the model in Java. You are required to do the following tasks:
a. Identify the classes involved in the train ticket reservation process and represent your system structure as a class diagram that shows the relationships between the identified classes like generalization, association and multiplicity. [2 marks]
b. Draw the Object diagram and represent one instance of the Object for all the identified classes in the system. [1 marks]
c. Draw Use case diagram for each module representing the interaction of different actors with the system. [2 marks]
d. Draw the sequence diagram that shows the sequence of interaction of different entities in the system. [2 marks]
e. Write sample implementation of the Railway ticket reservation system in Java with simple messages. For example, "Your ticket has been booked", "Tickets not available in First class Two Tier AC", by creating appropriate methods in different classes. Get the information regarding starting point and destination and the number of persons and the ticket class and number of seats from the user through interactive code. [3 marks]
Note: sUse Switch case and looping structures for displaying a menu driven and interactive program. Use the concept of overloading and static components to carry out the different processes and keep
count of the tickets booked.Kindly make all the diagrams dont write in text format.
image text in transcribed

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 Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions