Panimalar Engineering College Department of Cse E-Ticketing System Date
Panimalar Engineering College Department of Cse E-Ticketing System Date
211417104
Date:
AIM:
To Design ,Implement and Test the E-ticketing system described in the given
problem statement .
PROBLEM STATEMENT
E-ticketing system gives an idea about how tickets are maintained in the particular websites.
The tickets that are to be booked, the tickets that are to be sold are maintained here. Further some
additional details of the current journey details that is available in the website are also given. E-
ticketing system in this project is done in an authorized way. The website has to be maintained
properly since the whole e-ticketing process can be improved. E-ticketing system in this project
gives the idea about how tickets are maintained in a particular concern. The ticket details which
includes the number of seats available and price.E-ticketing system in this project is understood
by going through the modules that is being involved
The main objective of this project is to overcome the work load and time consumption
which makes the maintenance of the tickets in an organization as a tedious process. This project
provides complete information about the details of the tickets to the customers. This project
identifies the amount of tickets available. Separate modules have been created for purchasing,
viewing ticket details, and payment details.
Reg. No. 211417104
USECASE DIAGRAM:
Reg. No. 211417104
CLASS DIAGRAM:
Reg. No. 211417104
SEQUENCE DIAGRAM:
Reg. No. 211417104
ACTIVITY DIAGRAM:
Reg. No. 211417104
COMPONENT DIAGRAM:
Reg. No. 211417104
DEPLOYMENT DIAGRAM:
Reg. No. 211417104
}
Reg. No. 211417104
Availability.java
import java.util.*;
public class Availability {
public int flight_no[]={2102,1521,4531,4654,8465};
public String flight_name[]={"SpiceJet","IndiGo ","KingFisher","Air Asia","Jet
Airways"};
public int avail[]={50,100,45,88,55};
Booking.java
import java.util.*;
public class Booking {
public static Scanner s=new Scanner(System.in);
public int f_no;
public String f_name;
public String p_name;
public String destination;
public int seats;
public Random r=new Random();
public int ticket_no;
public boolean found;
public int flight_index;
public void start_booking(Availability a)
{
int i;
found=false;
System.out.println("*************Welcome To Booking Wizard*************");
Reg. No. 211417104
}
}
Cancellation.java
import java.util.*;
public class Cancellation{
public static Scanner s=new Scanner(System.in);
public int t_no;
Reg. No. 211417104
OUTPUT:
4.Exit
2
*************Welcome To Booking Wizard*************
Enter the Flight No
1521
Enter the passenger name
Rakesh
Enter the Destination
Chennai
Enter the No.of seats required
7
We are processing your request....
Please wait a while....
***************DETAILS**************
Passenger Name: Rakesh
Flight Name: IndiGo
Flight No: 1521
Destination: Chennai
No.of Seats booked: 7
Your Ticket No:1964
****************Welcome to Airline E-Ticket Booking System*************
Select your service
1.Check Availability
2.Book Ticket
3.Cancel Ticket
4.Exit
1
The list of available Flights
Flight No Flight NameAvailable
2102 SpiceJet 50
1521 IndiGo 93
4531 KingFisher 45
4654 Air Asia 88
8465 Jet Airways 55
****************Welcome to Airline E-Ticket Booking System*************
Select your service
1.Check Availability
2.Book Ticket
3.Cancel Ticket
4.Exit
3
**********Welcome to Cancellation Wizard*************
Reg. No. 211417104
TEST REPORT 1
TEST REPORT 2
TEST REPORT 3