0% found this document useful (0 votes)
180 views

Online Ticket Reservation System Aim

ONLINE TICKET RESERVATION SYSTEM AIM: To develop a software for Online Ticket Reservation system with various functionalities namely, y Problem analysis and requirement analysis y Use case documentation y UML , Sequence, Class and Interaction diagrams. The Online Ticket Reservation System allows the passenger to login, check availability, reserve and cancel Train tickets online. Reservation manager is used to update the new details in the database . USECASE DIAGRAM: USECASE DESCRIPTION: Usecas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
180 views

Online Ticket Reservation System Aim

ONLINE TICKET RESERVATION SYSTEM AIM: To develop a software for Online Ticket Reservation system with various functionalities namely, y Problem analysis and requirement analysis y Use case documentation y UML , Sequence, Class and Interaction diagrams. The Online Ticket Reservation System allows the passenger to login, check availability, reserve and cancel Train tickets online. Reservation manager is used to update the new details in the database . USECASE DIAGRAM: USECASE DESCRIPTION: Usecas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

ONLINE TICKET RESERVATION SYSTEM

AIM:
To develop a software for Online Ticket Reservation system with various functionalities
namely,
 Problem analysis and requirement analysis
 Use case documentation
 UML , Sequence, Class and Interaction diagrams.
The Online Ticket Reservation System allows the passenger to login, check availability, reserve
and cancel Train tickets online. Reservation manager is used to update the new details in the
database .

USECASE DIAGRAM:

Online Railway Ticket Reservation

Login

Viewing train
details

Passenger

Reservation

Cancellation

New user Railway database

Ticket generation

Upate train details

Admin

Viwing passenger
list
USECASE DESCRIPTION:

Usecase name: Login


Primary actor: Reservartion manager,Passenger,New user
Pre-condition: To enter the user name and password
Post-condition: Login is permitted if authenticated and the actor can perform their corresponding
operations.
Description: The username, password are being entered and the login is allowed.
Alternate Scenario: Login is not allowed to the actor if the user name and password doesn’t
match or if the user is not registered.

Usecase name: View train details


Primary actor: Passenger
Pre-condition: The passenger can request for the train details and the list can be viewed.
Post-condition: The details can be viewed.
Description: The list can be viewed and the passenger can view the train details like train no,
timing,name source and destination.
Alternate Scenario: The list has some error while displaying.

Usecase name: Reservation


Primary actor: Passenger
Pre-condition: The passenger can book the tickets by specifying the train details.
Post-condition: The ticket is reserved.
Description: The tickets are being reserved by specifying the corresponding tickets details.
Alternate Scenario: No ticket availability.

Usecase name:Cancellation
Primary actor: Passenger
Pre-condition: The tickets number is specified and the ticket is being cancelled.
Post-condition: The ticket is cancelled successfully.
Description: The ticket number and the no of tickets to be cancelled is being specified and the
ticket is cancelled. The details are updated in the database.
Alternate Scenario: The ticket cannot be cancelled if ticket number is wrong or after the
departure of the train.

Usecase name:Ticket generation.


Primary actor: Passenger
Pre-condition: The tickets to be generated consists of the passenger name, age, no of tickets,
source and destination are being specified.
Post-condition: The ticket is being specified with specified details.
Description: The ticket to be generated consists of the passenger name,amt of ticket, train no,
train name, age and ticket is being generated.
Alternate Scenario: The system gets corrupted.
Usecase name: Update train details
Primary actor: Admin
Pre-condition: The details are being viewed.
Post-condition: The details of the train are updated.
Description: The admin has the authority to update the train details which includes train no,
name, source,destination,timings etc.
Alternate Scenario: The train details remain the same. No updation takes place.

Usecase name: View passenger list


Primary actor: Passenger
Pre-condition: The list is displayed.
Post-condition:The list is out to the passengers to view.
Description: The list of passengers along with their seat no,name,age,gender and profession.
Alternate Scenario: The details are wrongly displayed.

SEQUENCE DIAGRAMS:

i).LOGIN:
:PASSENGER :LOGIN :RESERVATIO
N CLERK
1:enter name and password

2:sending name and pwd

3:verify

4:shows home page

The username, password are being entered by the passenger. The password and
user name are both sent to the database and checked. Once authenticated the user is allowed
access to the next page.
ii)VIEWING DETAILS:

:passenger :login :reservation


clerk
1:enter name and pwd

2:sending name & pwd

3:verify

4:show home page

5:ask for reservation status

6:show reservation status

7:ask for train schedule

8:show train schedule

9:process completed

The authentication process is followed and access is allowed.The details of the


reservation status is viewed and the passenger can view the train details like train no,
timing,name source and destination.
iii)TICKET RESERVATION:

:passenger :login :reservation :bank admin


clerk

:1.enter name and pwd

2:sending nmae and pwd

3:verfy

4:shows home page

5:book tickets(reserve)

6:verify for tic...

7:ask for account no.

8:enter acc. no.

9:send acc. no9

10:verify

11.successfully verified

12.successfully reserved

13.issue ticket

The tickets are being reserved if the seats are available. Its done by specifying the
corresponding details required to book tickets. After the ticket is reserved the ticket is issued.
The details are updated in the database.
iv)TICKET CANCELLATION:

:passenger :login :reservation 10:verify


clerk
1:enter name & pwd

2:sending name & pwd

3:verify

4:shows home page

5:cancellation

6:ask for details and acc.no

7:enter details and acc.no

8:verify

9:send acc.no

11.successfully verif...

12.successfully cancelled

The tickets to be cancelled are specified with corresponding details. After the
confirmation is got the ticket is cancelled and the changes are updated in the database.
CLASS DIAGRAM:

; AUTHENTICATE
user name : char name : char
user password : char password : char
user age : int
address : char login()

check availability]()
book ticket()
cancel ticket()
CANCEL RESERVATION

delete name : char


delete information : char

cancel()

RESERVATION BANK
CLERK
account no : int
issue ticket() balance : int
update details() customer name : char
validate()
add reservation() verify()
ADD RESERVATION cancel reservation() update()

add name : char


record info : char

add reservation()

CHECK PASSWORD INFO


name : char
passenger id : char DETAILS

train name : char


check passenger info() train no : int
schedule : num

view()
INTERACTION DIAGRAMS:

(i).LOGIN:

1: 1:enter name and password


:PASSE :LOGIN
NGER

4: 4:shows home page


3: 3:verify

2: 2:sending name and pwd

:RESERVATION
CLERK

(ii).TICKET RESERVATION:
1: :1.enter name and pwd
:passen :login
ger

5: 5:book tickets(reserve)
8: 8:enter acc. no.
4: 4:shows home page
7: 7:ask for account no.
12: 12.successfully reserved
13: 13.issue ticket

2: 2:sending nmae and pwd


3: 3:verfy
6: 6:verify for ticket

10: 10:verify

9: 9:send acc. no9


:reservation :bank
clerk admin
11: 11.successfully verified
(iii).TICKET CANCELLATION:

1: 1:enter name & pwd


:passen :login
ger

5: 5:cancellation
7: 7:enter details and acc.no
4: 4:shows home page
6: 6:ask for details and acc.no
12: 12.successfully cancelled
2: 2:sending name & pwd

3: 3:verify
8: 8:verify 10:

9: 9:send acc.no
:reservation 10:verify
clerk
11: 11.successfully verified

(iv).VIEWING DETAILS
1: 1:enter name and pwd
:passen :login
ger

5: 5:ask for reservation status


7: 7:ask for train schedule

4: 4:show home page 3: 3:verify 2: 2:sending name & pwd


6: 6:show reservation status
8: 8:show train schedule
9: 9:process completed

:reservation
clerk

You might also like