Professional Documents
Culture Documents
Degree of
SUBMITTED TO
DIKSHA SINHA
ENROLMENT NO: 176865330
PROGRAMME- BCA
STUDY CENTER CODE- 0592(P)
GUIDE NAME- MRS. KALPANA KUMARI MCA FROM IGNOU
FRONT END- JAVA & BACK END- ORACLE 10G
TABLE OF CONTENTS
1
A. Documentation enclosures
1. APPROVAL LETTER
2. CERTIFICATE OF ORIGINALITY
3. GUIDE’S CERTIFICATE
4. DECLARATION
5. COMPANY’S CERTIFICATE
6. ACKNOWLEDGMENT
7. GUIDE’S BIO-DATA
8. QUALIFICATION DOCUMENT/CERTIFICATES OF THE PROJECT GUIDE
B. SYNOPSIS[PROJECT PROPOSAL] 07-35
C. Project documentation
TOPICS PAGE
1. TITLE OF THE PROJECT 36
2. INTRODUCTION TO THE CLIENT 37
6. ORGANISATION REPRTS 44
7. SURVEY OF TECNOLOGIES 46
8. SYSTEM ANALYSIS 49
2
CERTIFICATE OF ORIGINALITY
This is to certify that the project report entitled “MAP2 TOUR & TRAVEL “ With Special
Reference To MAP2 TOUR & TRAVEL AGENCY PVT. LTD. DANAPUR,PATNA, [BIHAR]”
Submitted to IGNOU in partial fulfillment of the requirement for the award of the degree of
BACHELOR IN COMPUTER APPLICATIONS (BCA), is an original work carried out by
DIKSHA SINHA, Enrolment No. 176865330 under the guidance of KALPANA KUMARI.
The matter embodied in this project is a genuine work done by the student and has not been
submitted whether to this University or to any other University/ Institute for the fulfillment of the
requirement of any course of study.
DIKSHA SINHA,
Enrolment No. 176865330
3
GUIDE’S CERTIFICATE
Certified that DIKSHA SINHA, Enrolment No. 176865330, Program Code BCA, of IGNOU
has worked on this project under my supervision and guidance. It is outcome of his extensive
study on the subject.
I hereby recommend that project may kindly be accepted for evaluation for examination. I
wish him success in life.
Signature
(KALPANA KUMARI)
Project Guide
4
DECLARATION
I do hereby declare that the software Titled “MAP2 TOUR & TRAVEL “ With Special
original work and has not been submitted earlier to this university or any other institution to the
best of my Knowledge.
Student’s Signature
(DIKSHA SINHA )
ACKNOWLEDGMENT
5
I dedicate my project report to the “MAP2 TOUR & TRAVEL for getting automates
through my project work. When we do anything, we always want to thank all those people
who have left an impression on our lives and inspired us to greatness. Before we get into
things I would like to add a few heartfelt words for the people who were part of this report
unending support and wide vision, bold suggestions under whose noble guidance this project
work was completed. I, hereby, take an opportunity to thank Mr. Amit Kumar(System
Analyst) of NiceSoftech.
I would like to say a heartfelt thanks to Manager of MAP2 TOUR & TRAVEL AGENCY
PVT. LTD. DANAPUR,PATNA, [BIHAR]”. I wish to thank At the moment I want to say
thanks to Our Program In charge and faculty members for guidance and support at our Study
Center.
And finally heartfelt appreciation to my Mother, Father, and friends and others who have in
one way or other provided assistance in course of my project work.
DIKSHA SINHA,
Enrolment No. 176865330
6
SYNOPSIS
8
ABOUT MAP2 TOUR & TRAVEL AGENCY
.
9
BACKGROUND OF PROJECT
getting information is the base of each and everything . Success of any business depends
upon its popularity and goodwill .Today, market has been expanded and we have to be a
global player. Customers want to access most of information from his/her residence.
Organization , “MAP2 TOUR & TRAVEL AGENCY” which helps us to solve all of these
problems. It
provides the services of Reservation and Cancellation of tickets for different means of
10
OBJECTIVE OF PROJECT
better facility related to “AIRLINES”. The Travel Agency maintains all the records about
To provide the activities with a system for setting up and management for each
program.
11
Purpose of the project
These are the main purposes which are to be concerned for doing this project:-
To provide the activities with a system for setting up and management for each program.
It provides the better ticketing system issuing tickets & provides the activities offices
status on demand for each and everyone and
13
This S/W is being developed in oops (object
recommended .
is working and providing services to public to reduce the business of life by tackling their
small works, so any agency which wants to be computerized , may use this S/w by little
changes in original one & get better efficiency in their internal information management
activities .
Survey of technologies
14
First of all ,the most important technology , used
Objects contain their own data and behaviour . objects in oops are called or
about objects .
some of the oops characteristics which make it differ from other technologies …
variable that stores data and can perform operation on the stored data itself .These
Each object has its own memory that may be made up of other objects . Thus oops
All objects of a class can receive the same messages but may behave differently .
Front End
for end user who uses our application . Basically in front end, our input-output forms
reside which takes the I/P from the client and gives O/P back to client .
15
Java is a high level, third-generation programming
language like ‘C’, ’Fortran’ and many others. It is a platform for distributed computing a
development and runtime environment that contents built in support for the world wide
web .
1991, the same year the World Wide Web was conceived. Java’s creator, James Gosling
did not design Java for the Internet. His main objective was to create a common
development environment for customer electronic devices which was easily portable
Java Features
Simplicity
Platform Independence
Security
Multi Threading
Dynamic Linking
Garbage collection.
Back End
16
Back end remains on server side and has two
Components i.e ,
1. DBMS
2. RDBMS
Centralization of database.
Security.
Normalization of databases.
Relationship, and
Transaction processor.
17
Requirements and Analysis
Problem Definition:
A Travel Agency works as an indirect server for the customers. The Travel Agent takes
the information details of the customer’s journey. If the schedule of customer matches
from the available flights, the Travel Agent informs the customer. The customer pays the
taxes and the booking charge. A fact is noticed that the Travel Agency selects the
confirmation. This information should be stored somewhere. The debit report of the
customer should also be stored. After any sort of cancellation, the fine should be reduced
from the total booking charge. The employee details should also be maintained, and
above searching and retrieval of all these information should fast and efficient.
Requirements Specification:
at the conclusion of the analysis task. The function and performance allocated to S/W as
Work as for the requirements of the members & staffs of Travel Agency.
1. Customer number
3. Saving messages
4. Warning messages
19
It is fully user friendly
1. Reservation Module
2. Cancellation Module
5. Administration Module.
Gantt chart
20
This chart represents all the activities and the
amount of time taken during the product development period. A tabular form is
maintained where rows indicate the task with milestones and columns indicate duration
(weeks).
Requirement
Gathering
Design
Test Cases
Coding
Quality
Assurance
Testing
Build
21
** Hardware Requirements:-
Monitor : Color
Motherboard : 810E
** Software Requirements:-
These are the suitable H/W & S/W requirements to develop this
project.
22
These are some of the requirements and objectives of
To provide the activities with a system for setting up and management for each
program.
1. Reservation Module
2. Cancellation Module
5. Administration Module.
DATABASE DESIGN
23
Column Heading Type Size Constraints
24
Emp_id Number 3 Primary Key
25
** Reservation
/* START*/
STEP 2: Travel Agent checks for the availability of the requested journey.
STEP 4: For all records of the schedule database is checked for the cheapest
booking charge.
STEP 7: Halt.
/* END */
** Cancellation
26
/* START */
Step 2: Travel Agency deletes all the information regarding the customer.
Else
/* END */
** Search
/* START */
Else
/* END */
Conceptual Models
27
Travel Management
Service System Service
CUSTOME request confirmation CUSTOMER
** Reservation
28
1.0
D Schedule
non-availability B database
3
Available
1.1
Reservation
Confirmation
Module for
Travel Agency Application Flight
1.1.1
Report Generation
Travel Agency
Enters details
Prints Reports
& Pays
Tickets Customer
** Cancellation
29
Request to
Cancel/Extend Journey
Customer Travel Agent
Updates
D
B Database
4
Updates
Cancellation Module
1.2
Cancels
Scrap
30
** System Flow Chart
Start
Repeatation
User Choice
Choice A Choice B
Reservation Cancellation
Menu Menu
Stop
31
** E-R Diagram
C-name
C-age
C-no Reg-no
Source
P-date
Destination Name
C-add
Has
E-name E-no
Employee E-add
E-type
Is a E-no
E-no
32
Introduction to NICESOFTECH
Address:
NiceSofTech
2nd floor, Rishi Bazar Complex
Kadam Kuan , patna-3
+91-9199789525 / 9852309693
33
Limitations of the system:
System works in all platforms and its compatible environments.
It can work either on desktop environment or client/server architecture.
User cannot do any changes without the permission of Admin.
Future Enhancements:
It is not possible to develop a system that makes all the requirements of the user. User
requirements keep changing as the system is being used. Some of the future enhancements
that can be done to this system are:
Since a new item has been launched time to time, so it can be easily
included in the existing application without affecting the entire module.
The proposed system database is an RDBMS and any changes could be
easily incorporated into the information system in future when
management decides to computerize its other process of new requirement.
New fields can be added without affecting the system performance.
The system is built on RDBMS technology, therefore all especial ties of an
RDBMS system and future scope can also be defined from here.
Any shop that has similar requirements can adopt this application after
doing slight modifications
34
3.TITLE OF THE PROJECT
35
INTRODUCTION TO THE CLIENT
36
This project is a ‘Business to customer’. As the Project title
It maintains all the records related to reservation & cancellation of tickets for Buses/Airlines. It
provides a better facility related to booking of any journey for any passenger. This organization
plays vital role as a mediator to perform these jobs in an easy manner. A customer can ask all of
his/her problems and requirements about reservation and cancellation and the organization
The main purpose of this project is to enhance our knowledge in the field of project development
Background of Project
37
This is an era of ‘Information Technology’ where getting information is the base of each and
everything. Success of any business depends upon its popularity and goodwill .Today, market has
been expanded and we have to be a global player. Customers want to access most of information
from his/her residence. In this way, there is no need to say that there is the Organization, “MAP2
TOUR & TOURISM TRAVEL AGENCY” which helps us to solve all of these problems. It
provides the services of Reservation and Cancellation of tickets for different means of Travel like
Objectives of Project
38
The main objective of the project is to provide better facility
related to “BUSES & AIRLINES”. The Travel Agency maintains all the records about
To provide the activities with a system for setting up and management for each
program.
39
Purpose of the project
These are the main purposes which are to be concerned for doing this project:-
To provide the activities with a system for setting up and management for each program.
It provides the better ticketing system issuing tickets & provides the activities offices
status on demand for each and everyone and
40
This S/W is being developed in oops (object oriented technology), by which in future any type of
‘MAP2 Tour & Tourism Travel Agency ’ is just like a ‘HELP LINE’ which is working and
providing services to public to reduce the business of life by tackling their small works, so any
agency which wants to be computerized , may use this S/W by little changes in original one & get
41
As the organization ‘Travel Agency’ is just like a help line like Customer Care, it is required to
have a very careful analysis to develop the system to meet their need mentioned in the proposal,
they (Agency Members) wanted a clear CBIS (Computer Based Information System), which cope
up with their practical problems, they were facing in earlier system. The proposed system is to
providing more timely, relevant and accurate information to the concerned authorizes.
Close File
Our Achievements . . .
42
Achievement keeps its own importance after the completion of any work. The Project would help
in effective systematic record keeping , that is storing and retrieving of useful data. This project
will be able to give the report so that management can make decisions on the basis of those
reports.
2. It is able to handle the efficient and controlled ticket & reservation system.
4. It is able to provide the activities with a system for setting up and management for each
program.
So, these are some of the goals, we have fully achieved during the project period.
Organization Report
The Project “MAP2 Tour & Tourism Travel Agency” is developed in a systematic way
43
The Project is divided chapter wise into seven parts.
** Analysis:
Chapter 1 & 2 contains analysis part of the Project.
Our Achievements.
** SRS:
Chapter 3 contains SRS (System Requirement Specification) i.e.
Problem Definition.
Requirement Specification.
Conceptual Models.
System Design:
These are…
Basic Modules.
44
Data Design.
Procedural Design.
Security Issues.
** Coding:
Chapter 5 contains Coding detail of the Project.
Also it includes…
Code Efficiency.
Testing Approaches.
** Support:
At last chapter 6 & 7 contains other issues.
These are…
Implementations.
SURVEY OF TECHNOLOGIES
First of all, the most important technology, used to develop this project is, oops technology.
45
Oops is a way of developing S/W using objects . Objects contain their own data and behavior. objects
in oops are called or referenced by way of messages object oriented programming and design is all
about objects .
Some of the OOPS characteristics which make it differ from other technologies
…
The basic programming entity is the object . As object can be considered to be a variable
that stores data and can perform operation on the stored data itself .These objects send
Each object has its own memory that may be made up of other objects . Thus oops are
All objects of a class can receive the same messages but may behave differently .
Front End
Front end remains on client side. Front end is made for end user who uses our application
Basically in front end, our input-output forms reside which takes the I/P from the client and gives
46
Why we are using Java as a front end language ?
Java is a high level, third-generation programming language like ‘C’, ’Fortran’ and many others.
It is a platform for distributed computing a development and runtime environment that contents
same year the World Wide Web was conceived. Java’s creator, James Gosling did not design
Java for the Internet. His main objective was to create a common development environment for
customer electronic devices which was easily portable from one device to another.
Simplicity
Platform Independence
Security
Multi Threading
Dynamic Linking
Garbage collection.
Back End
Back end remains on server side and has two Components i.e. ,
47
2. Data base
1. DBMS
2. RDBMS
Centralization of database.
Security.
Normalization of databases.
Relationship, and
Transaction processor.
Hence because of these features, we are using Oracle as a Back end technology.
System analysis
Analysis describes the “What” of a system. It is the process of gathering and interpreting facts.
Analysis specifies what the system should do. The objectives that are to be achieved in S/W
48
process development, the requirements. In the requirements analysis phase, the requirements are
The O/P of this Phase is SRS.The main activities in the analysis phase are cost estimation, project
planning and scheduling, feasibility report preparation, and the development of SRS document of
the project.
Preliminary investigation
With respect to this proposed system preliminary investigation activity is divided into three
parts:-
Request Clarification
Previously the request of the member of “Travel Agency” was not clearly
defined. Further we refined the problems by clarifying the facts needed for our project by heading
Questionnaires
of “Travel Agency”. The question set, which was prepared to gather data from the set of
members & staffs. All the questions were Objective/Subjective types. All objective questions
The question was made to acquire more and more system. Some questions, which were present in
** Are you satisfied with the present system or more refinement is needed?
49
** What type of refinement you need in the new system?
** Do you need extra training, so that you can become part of new system?
As this phase is very critical, we have tried to make all the questions were
gathered all the information and proceeded for the further development of the
new system.
Observing the existing system has given the clear view about working of the organization. By
observing the system, many new things came in the light, which were not known previously.
chosen based on the nature of the project and application, methods to be used, and the controls
distinct stages are encountered: status quo, problem definition, technical development, and
solution integration. Status quo “represents the current state of affairs”; problem definition
50
identifies the specific problem to be solved; technical development solves the problem through the
application of some technology, and solution integration delivers the results to those who
engineering paradigms, which are used in software development. Out of these software
engineering paradigms we have selected “The Linear Sequential Model” for the development of
this project. It is also sometimes called “Classic Life Cycle” or the “Waterfall Model” suggests a
systematic, sequential approach to software development that begins at the system level and
System/information
engineering
51
THE LINEAR SEQUENTIAL MODEL
Analysis
Design
Coding
Testing
Maintenance
Feasibility Study
1. Economic Feasibility
2. Technical Feasibility
3. Operational Feasibility
Economic Feasibility
52
The first step in conducting economic feasibility is to analyze the status
of the organization. The expense that the top level management has sanctioned
for computerization. Once the initial investment is made, soon it would nullify
the initial cost at later stage when the system developed would give profit in
operations.The system would be very user friendly and there will be no need to
invest on recruitmentof experts. Basic training can be given to all the existing
personals. This would help inmaintaining control over the operation staffs and
Technical Feasibility
** Hardware Platform
2. 128 MB RAM
3. 60 GB Hard Disk
4. LG color monitor
5. Intex Mouse
53
7. LG CD Drive
2. 64 MB RAM
3. 40 GB Hard Disk
4. LG Color Monitor
5. Intex Mouse
7. LG CD Drive
Operational Feasibility
The data entry can be done by any body, since it handles any error occurred
with a readable message which guides even a raw hand to sort out the error.
3. Efficient Tractability
54
What ever be the number of access of information tracing of information
is easy.
Cost Estimation
In the early days of computing S/W cost comprised a small percentage of overall computer-based
estimates of software cost had relatively little impact. Today, software is the most expensive
element in the most computer-based system. A large cost estimation error can make the difference
between profit & loss. Cost overrun can be disastrous for the developer.
S/W cost & effort estimation will never be an exact science. Too many variables – human,
55
ultimate cost of software and effort applied to develop it .However software project estimation
can be transformed from a mysterious art to a series of systematic steps that provide estimates
1. Delay estimation until late in the project (obviously, we can achieve 100% accurate
effort estimates.
4. Use one or more empirical models for software cost and effort estimation.
conclusion of the analysis task. The function and performance allocated to software as part of
requirements and design constraints, appropriate validation criteria, and other information
relevant to requirements.
56
The P reface of the software requirements specification states
the goals and objectives of the software , describing it in the context of the computer-based
system.
of the problem that the software must solve. A description of each function required to solve the
the software as a consequence of external events and internally generated control characteristics.
Work as for the requirements of the members & staffs of Travel Agency.
Problem Definition:
A Travel Agency works as an indirect server for the customers. The Travel Agent takes
the information details of the customer’s journey. If the schedule of customer matches
from the available flights, the Travel Agent informs the customer. The customer pays the
taxes and the booking charge. A fact is noticed that the Travel Agency selects the
confirmation. This information should be stored somewhere. The debit report of the
57
customer should also be stored. After any sort of cancellation, the fine should be reduced
from the total booking charge. The employee details should also be maintained, and
above searching and retrieval of all these information should fast and efficient.
Requirements Specification:
at the conclusion of the analysis task. The function and performance allocated to S/W as
Work as for the requirements of the members & staffs of Travel Agency.
58
Input to the project
1. Customer number
3. Saving messages
4. Warning messages
59
It is fully user friendly
different phases.
1. Reservation Module
2. Cancellation Module
60
5. Administration Module.
Team Plan
Software Project
Analysis
Desi C Testing
Maintenance
61
Fig3: WBS
Flow Graph
Various modules are represented as nodes with
edges connecting nodes. Dependencies between nodes is shown by flow of data between
nodes.
Gantt chart
amount of time taken during the product development period. A tabular form is
maintained where rows indicate the task with milestones and columns indicate duration
(weeks).
62
TASKS WEEK1 WEEK2 WEEK3 WEEK4
Requirement
Gathering
Design
Test Cases
Coding
Quality
Assurance
Testing
Build
** Hardware Requirements:-
Monitor : Color
Motherboard : 810E
63
Hard Disk : 40GB
** Software Requirements:-
These are the suitable H/W & S/W requirements to develop this
project.
64
To keep track of databases for queries.
To provide the activities with a system for setting up and management for each program.
1. Reservation Module
2. Cancellation Module
5. Administration Module.
Basic Modules
This project consists of five basic modules:-
i) Reservation module:- This module is the most primitive module of this project.As the
name suggests it deals with the reservation of the customers.This module takes the customer
details as the input through a reservation requisition form and passes it to the concerned
databse for its approval or rejection.
ii) Cancellation module:-This module is responsible for the abortion of the reserved
seat.This module takes the necessary information for the identification of the customer
from the database, and cancels the requisition.
65
iii) Search module:- The purpose of this module is to provide the searching of any
information related with the customers or the employees. This module also searches the
time schedule for a specific journey. The search can consists anything such as :- which
customers have made requisitions on any particular day.
iv) Debit Report module:- This module is dedicated to the customers for the generation of
their debit amount which has been given prior to the requisition.The customers may be
related with a firm or organization which sends the customers frequently for visits.So, it
can give some money as an advance to the travel agency.The amount should be stored in
the database on behalf of the customer’s account.
v) Administration module:- The purpose of this module is to implement proper control and
monitoring on the transactions and other activities for the super user or the administration.
The module is also responsible for the implementation of the rules and regulations for the
organization.The rules may require an updation or a new rule may be introduced.
DATABASE DESIGN
I) Relational Schema Design:- The relational schema for this project is as follows-
66
Customer_source Text 30 Not Null
67
Customer_id Number 8 References Customer
Master file
Travel Management
Service System Service
CUSTOME request confirmation CUSTOMER
68
Flight code, Source,
Destination info.
New Flight Status of Each
Flight
Details Travel Agency
** Reservation
1.0
69
D Schedule
non-availability B database
3
Available
1.1
Reservation
Confirmation
Module for
Travel Agency Application Flight
1.1.1
Report Generation
Travel Agency
Enters details
Prints Reports
& Pays
Tickets Customer
Request to
Cancel/Extend Journey
Customer Travel Agent
Updates
D
B Database
4
70
Updates
Cancellation Module
1.2
Cancels
Scrap
E-R Diagram
C-name
C-age
C-no Reg-no
Source
P-date
Destination Name
C-add
Ph-no
Has
E-name E-no
Employee E-add
E-type
Is a E-no
E-no
ALGORITHM DESIGN
Login Page
72
End If
STEP9. Display “Login failed”
End If
Reservation Module
Cancellation Module
73
Debit Report
Start
Repeatation
User Choice
Choice A Choice B
74
Reservation Cancellation
Menu Menu
Stop
start
yes
STOP
start
76 Is valid?
yes
STOP
start
No
Id is
digit?
yes
yes Cur.
Rec. id
matches
Delete the record from the
database.
No
STOP yes
End of
database
CODING
/*
* @(#)Agency.java 1.0 06/10/13
**/
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.text.*;
import java.util.*;
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
dispose();
System.exit(0);
}
});
setTitle("Login Form");
//set up container pane and layout
pane=getContentPane();
pane.setLayout(new BorderLayout()) ;
79
JLabel date=new JLabel(" Date ->
"+df.format(today),JLabel.CENTER);date.setFont(f2);date.setForeground(Color.pin
k);
//Initialize panels for Gui
buttonPanel=new JPanel();
inputPanel=new JPanel();
//Initialize Buttons for gui
login=new
JButton("Login");login.setFont(f2);login.setForeground(Color.yellow);
//Initialise labels for Login form
passwd=new JLabel("Enter Your
Password:");passwd.setFont(f1);passwd.setForeground(Color.red);
username=new JLabel("Enter Your
UserName:");username.setFont(f1);username.setForeground(Color.red);
//Initialise TextFields for Loginform
name=new
JTextField(12);name.setFont(f2);name.setForeground(Color.blue);
pass=new JPasswordField(12);pass.setForeground(Color.blue);
//Setup Layouts for Panels
buttonPanel.setLayout(new FlowLayout());
inputPanel.setLayout(new GridLayout(2,2));
//Add Components to Button Panel
buttonPanel.add(login,BorderLayout.CENTER);
buttonPanel.setBackground(Color.darkGray);
//Add Components to Input Panel
inputPanel.add(username);inputPanel.setBackground(Color.cyan);
inputPanel.add(name);
inputPanel.add(passwd);
inputPanel.add(pass);
80
//Action Listener events performed
public void actionPerformed(ActionEvent e)
{
String uname;
uname=name.getText();
if(e.getSource() == login)
{
mainform=new MainForm();
Dimension
screenSize=Toolkit.getDefaultToolkit().getScreenSize();
final int HEIGHT = 600;
final int WIDTH = 600;
mainform.setBounds(((screenSize.width / 2) -
(WIDTH / 2)),
((screenSize.height / 2) - (HEIGHT / 2)),
WIDTH, HEIGHT);
mainform.setVisible(true);
mainform.setLocation(270,200);
mainform.setTitle("Travel ManageMent System");
setVisible(false);//HIDE MAIN LOGIN MENU
}
}
else
{
JOptionPane.showMessageDialog(pane,"Login Denied...\
n Plz, try again");
name.setText("");
pass.setText("");
name.requestFocus(true);
81
}
}//Class ends
/*
* @(#)Tabbed.java 1.0 06/10/21
*/
82
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.text.*;
class Tabbed extends Frame //implements ActionListener
{
JPanel inputPanel,footerPanel;
JPanel buttonPanel,headerPanel;
JButton insert,find,delete,clear;
JLabel Pid,Pname,Padd,Page,Psrc,Pdest,Pfare,Pnop,Pdoj,Pmed,Pticket;
JTextField id,name,address,age,src,dest,fare,nop,doj,ticket;
JComboBox jc=new JComboBox();
public Tabbed()
{
setBackground(Color.orange);
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
dispose();
System.exit(0);
}
});
try {
SwingUtilities.invokeAndWait(
new Runnable()
{
public void run()
{
makeGUI();
}
}
);
}catch(Exception e)
{System.out.println("Can't create due to "+e);}
}
private void makeGUI()
{
83
JTabbedPane jtp=new JTabbedPane();
jtp.addTab("Reservation",new ReservationPanel());
jtp.addTab("Cancellation",new CancellationPanel());
add(jtp);
}
class ReservationPanel extends JPanel{
ReservationPanel()
{
JLabel title,title1,dt;
Date today=new Date();
DateFormat
df=DateFormat.getDateInstance(DateFormat.LONG,Locale.UK);
setBackground(Color.cyan);
//-----------------------------------------------------------------
//INITIALISE PANELS FOR GUI
buttonPanel = new JPanel();
inputPanel = new JPanel();
headerPanel = new JPanel();
footerPanel = new JPanel();
final Font f=new Font("Tahoma",Font.BOLD|Font.ITALIC,18);
final Font f1=new Font("System",Font.BOLD|Font.ITALIC,21);
headerPanel.setForeground(Color.red);headerPanel.setFont(f1);
footerPanel.setForeground(Color.orange);footerPanel.setFont(f);
84
Pmed=new JLabel("Select Medium(BUS/TRAIN)");
//INITIALISE TEXT FIELDS FOR GUI
id = new JTextField(15);
name = new JTextField(15);
age = new JTextField(15);
address = new JTextField(15);
src = new JTextField(15);
dest = new JTextField(15);
fare = new JTextField(15);
nop = new JTextField(15);
doj=new JTextField(15);
jc.addItem("BUS");jc.addItem("TRAIN");
//add(jc);
//jc.addItemListener(this);
//SET UP LAYOUTS FOR PANELS
buttonPanel.setLayout(new GridLayout(2,2));
buttonPanel.setBackground(Color.yellow);
inputPanel.setLayout(new GridLayout(10,2));
inputPanel.setBackground(Color.green);
//ADD COMPONENTS TO BUTTON PANEL
buttonPanel.add(insert);
buttonPanel.add(find);
buttonPanel.add(delete);
buttonPanel.add(clear);
//ADD COMPONENENTS TO INPUT PANEL
inputPanel.add(Pid);inputPanel.add(id);
inputPanel.add(Pname);inputPanel.add(name);
inputPanel.add(Padd);inputPanel.add(address);
inputPanel.add(Page); inputPanel.add(age);
inputPanel.add(Psrc);inputPanel.add(src);
inputPanel.add(Pdest);inputPanel.add(dest);
inputPanel.add(Pfare);inputPanel.add(fare);
inputPanel.add(Pnop); inputPanel.add(nop);
inputPanel.add(Pdoj); inputPanel.add(doj);
inputPanel.add(Pmed);inputPanel.add(jc);
//Add components to header panel
headerPanel.setLayout(new GridLayout(2,2));
title=new JLabel("Reservation Slip",JLabel.CENTER);
dt=new JLabel("Date->"+df.format(today),JLabel.CENTER);
headerPanel.add(title);
85
headerPanel.add(dt);
//Add component to footerPanel
footerPanel.setLayout(new GridLayout(1,1));
title1=new JLabel("Travel Management System Developed by
Prateep,Abhijeet.Deepti and Preeti");
footerPanel.add(title1);
//ADD PANELS TO CONTAINER PANE
add(headerPanel, BorderLayout.NORTH);
add(inputPanel, BorderLayout.CENTER);
add(buttonPanel, BorderLayout.SOUTH);
add(footerPanel, BorderLayout.SOUTH);
//ADD ACTION LISTENER FOR LOGIN BUTTON
/*insert.addActionListener(this);
find.addActionListener(this);
delete.addActionListener(this);
clear.addActionListener(this);*/
//-----------------------------------------------------------------*/
}
}
86
insert = new JButton("Insert");
find = new JButton("Find");
delete = new JButton("Delete");
clear = new JButton("Clear");
//INITIALISE LABELS FOR GUI
Pid = new JLabel("Passenger Id");
Pname = new JLabel("Passenger Name");
Padd = new JLabel("Passenger Addres");
Page= new JLabel("Passenger Age");
Psrc = new JLabel("Source");
Pdest = new JLabel("Destination");
Pfare = new JLabel("Total Fare");
Pnop = new JLabel("No.Of People");
Pdoj=new JLabel("Date Of Journey");
Pmed=new JLabel("Select Medium(BUS/TRAIN)");
Pticket=new JLabel("Ticket Number");
//INITIALISE TEXT FIELDS FOR GUI
id = new JTextField(15);
name = new JTextField(15);
age = new JTextField(15);
address = new JTextField(15);
src = new JTextField(15);
dest = new JTextField(15);
fare = new JTextField(15);
nop = new JTextField(15);
doj=new JTextField(15);
ticket=new JTextField(15);
JComboBox jc=new JComboBox();
jc.addItem("BUS");jc.addItem("TRAIN");
//jc.addItemListener(this);
//SET UP LAYOUTS FOR PANELS
buttonPanel.setLayout(new GridLayout(2,2));
inputPanel.setLayout(new GridLayout(11,2));
//ADD COMPONENTS TO BUTTON PANEL
buttonPanel.add(insert);
buttonPanel.add(find);
buttonPanel.add(delete);
buttonPanel.add(clear);
//ADD COMPONENENTS TO INPUT PANEL
inputPanel.add(Pid);inputPanel.add(id);
87
inputPanel.add(Pname);inputPanel.add(name);
inputPanel.add(Padd);inputPanel.add(address);
inputPanel.add(Page);inputPanel.add(age);
inputPanel.add(Psrc);inputPanel.add(src);
inputPanel.add(Pdest);inputPanel.add(dest);
inputPanel.add(Pfare);inputPanel.add(fare);
inputPanel.add(Pnop);inputPanel.add(nop);
inputPanel.add(Pdoj);inputPanel.add(doj);
inputPanel.add(Pticket);inputPanel.add(ticket);
inputPanel.add(Pmed);inputPanel.add(jc);
//Add components to header panel
headerPanel.setLayout(new GridLayout(2,2));
title=new JLabel("Cancellation Slip",JLabel.CENTER);
dt=new JLabel("Date->"+df.format(today),JLabel.CENTER);
headerPanel.add(title);
headerPanel.add(dt);
//Add component to footerPanel
footerPanel.setLayout(new GridLayout(1,1));
title1=new JLabel("Travel Management System Developed by
Prateep,Abhijeet,Deepti and Preeti");
footerPanel.add(title1);footerPanel.setFont(f);
//ADD PANELS TO CONTAINER PANE
add(headerPanel, BorderLayout.NORTH);
add(inputPanel, BorderLayout.CENTER);
add(buttonPanel, BorderLayout.SOUTH);
add(footerPanel, BorderLayout.SOUTH);
//ADD ACTION LISTENER FOR LOGIN BUTTON
/*insert.addActionListener(this);
find.addActionListener(this);
delete.addActionListener(this);
clear.addActionListener(this);*/
//-----------------------------------------------------------------*/
}
}
/* public void itemStateChanged(ItemEvent ie)
{
String s=(String)ie.getItem();
}*/
public static void main(String args[])
{
88
System.out.println("Starting Tabbed...");
Tabbed me = new Tabbed();
me.setSize(400, 475);
me.setLocation(270,200);
me.setTitle("Tabbed");
me.setVisible(true);
}
}
89
import javax.sql.*;
import java.sql.*;
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
class Interface extends JFrame
{
String driver="sun.jdbc.odbc.JdbcOdbcDriver";
String url="jdbc:odbc:tms";
String userid="";
String password="";
ResultSet r;
String query12;
Statement st;
String sql,sql1,sql2;
TextField query;
public Interface(String title,int l,int b)
{
super(title);
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
dispose();
System.exit(0);
}
});
setSize(l,b);
//getContentPane().setLayout(new FlowLayout());
setVisible(true);
makeGUI();
}
private void makeGUI()
{
90
JTabbedPane mast=new JTabbedPane();
mast.addTab("Rservation",new ReservationPanel());
mast.addTab("Cancilation",new CancilationPanel());
mast.addTab("Administration",new AdministrationPanel());
mast.addTab("Reports",new ReportsPanel());
mast.addTab("Query",new QueryPanel());
Container c=getContentPane();
c.setVisible(true);
c.add(mast);
}
class ReservationPanel extends JPanel implements ActionListener
{
Label
cidp,namep,addp,modep,tdtp,classp,srcp,destp,farep;
TextField
cid,name,add,mode,tdt,rclass,src,dest,fare;
Button addnew,find,next,update;
JPanel main,west,center,south;
String tmp;
public ReservationPanel()
{
west=new JPanel();
west.setLayout(new
GridLayout(10,1));
cidp=new Label("CustomerID");
namep=new Label("Name");
addp=new Label("Address");
modep=new Label("MODE OF
TRAVEL");
tdtp=new Label("TravelDate");
classp=new Label("Class");
srcp=new Label("Source");
destp=new Label("Destination");
farep=new Label("Fare");
west.add(cidp);
91
west.add(namep);
west.add(addp);
west.add(modep);
west.add(tdtp);
west.add(classp);
west.add(srcp);
west.add(destp);
west.add(farep);
west.add(new Label(" "));
south=new JPanel();
south.setLayout(new FlowLayout());
addnew=new Button("Clear");
find=new Button("Find");
next=new Button("Next->");
update=new Button("Update");
addnew.addActionListener(this);
find.addActionListener(this);
next.addActionListener(this);
update.addActionListener(this);
south.add(addnew);
south.add(find);
south.add(next);
south.add(update);
center=new JPanel();
center.setLayout(new
GridLayout(10,1));
cid=new TextField(5);
name=new TextField(10);
add=new TextField(20);
mode=new TextField(5);
tdt=new TextField(10);
rclass=new TextField(10);
src=new TextField(15);
dest=new TextField(15);
fare=new TextField(5);
JPanel arr[]=new JPanel[10];
for(int i=0;i<arr.length;i++)
{
arr[i]=new JPanel();
92
arr[i].setLayout(new
FlowLayout(FlowLayout.LEFT));
}
arr[0].add(cid);
arr[1].add(name);
arr[2].add(add);
arr[3].add(mode);
arr[4].add(tdt);
arr[5].add(rclass);
arr[6].add(src);
arr[7].add(dest);
arr[8].add(fare);
arr[9].add(new
Label("TravelManagementSystem Developed By:-Saurav,Aman,Manoranjan "));
for(int i=0;i<arr.length;i++)
center.add(arr[i]);
main=new JPanel();
main.setLayout(new BorderLayout());
main.add(west,BorderLayout.WEST);
main.add(south,BorderLayout.SOUTH);
main.add(center,BorderLayout.CENTER);
add(main);
try
{
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
query12= "SELECT * FROM
res";
ResultSet r =
st.executeQuery(query12);
ResultSetMetaData rmeta =
r.getMetaData();
int nCols=rmeta.getColumnCount();
93
int frecord = 0;
/*String txt1="";
String txt2="";
String txt3="";
String txt4="";
String txt5="";
String txt6="";
String txt7="";
String txt8="";
String int9=""; */
while(r.next())
{
cid.setText(r.getString(1));
name.setText(r.getString(2));
add.setText(r.getString(3));
mode.setText(r.getString(4));
tdt.setText(r.getString(5));
rclass.setText(r.getString(6));
src.setText(r.getString(7));
dest.setText(r.getString(8));
fare.setText(r.getString(9));
//con.close();
}
}
catch(SQLException ex)
{
System.out.println("Unable to
access the database");
}
catch(ClassNotFoundException ex)
94
{
System.out.println("Class not
found");
}
catch(Exception ex)
{
System.out.println("Exception raised
is:"+ex);
}
}
public void actionPerformed(ActionEvent ae)
{
String
s=ae.getActionCommand();
if (s.equals("Clear"))
{
cid.setText("");
name.setText("");
add.setText("");
mode.setText("");
tdt.setText("");
rclass.setText("");
src.setText("");
dest.setText("");
fare.setText("");
}
if (s.equals("Find"))
95
{
tmp=cid.getText();
try
{
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
while(r.next())
{
cid.setText(r.getString(1));
name.setText(r.getString(2));
add.setText(r.getString(3));
96
mode.setText(r.getString(4));
tdt.setText(r.getString(5));
rclass.setText(r.getString(6));
src.setText(r.getString(7));
dest.setText(r.getString(8));
fare.setText(r.getString(9));
}
catch(SQLException ex)
{
System.out.println("Unable to
access the database");
}
catch(Exception ex)
{
System.out.println("Exception raised
is:"+ex);
}
}
if (s.equals("Next->"))
{
}
if (s.equals("Update"))
{
}
}
}
97
class CancilationPanel extends JPanel implements
ActionListener
{
String tmp1;
Label
cidp,namep,addp,modep,tdtp,classp,srcp,destp,farep,ticketnop;
TextField
cid,name,add,mode,tdt,rclass,src,dest,fare,ticketno;
Button cancel,find,clr;
JPanel main,west,center,south;
public CancilationPanel()
{
west=new JPanel();
west.setLayout(new
GridLayout(11,1));
cidp=new Label("CustomerID");
namep=new Label("Name");
addp=new Label("Address");
modep=new Label("MODE OF
TRAVEL");
tdtp=new Label("TravelDate");
classp=new Label("Class");
srcp=new Label("Source");
destp=new Label("Destination");
farep=new Label("Fare");
ticketnop=new Label("Ticket
Number");
west.add(cidp);
west.add(namep);
west.add(addp);
west.add(modep);
west.add(tdtp);
west.add(classp);
west.add(srcp);
west.add(destp);
west.add(farep);
west.add(ticketnop);
west.add(new Label(" "));
98
south=new JPanel();
south.setLayout(new FlowLayout());
cancel=new Button("Cancel
Transaction");
find=new Button("Find Record");
clr=new Button("Clear");
cancel.addActionListener(this);
clr.addActionListener(this);
find.addActionListener(this);
south.add(cancel);
south.add(find);
south.add(clr);
center=new JPanel();
center.setLayout(new
GridLayout(11,1));
cid=new TextField(5);
name=new TextField(10);
add=new TextField(20);
mode=new TextField(5);
tdt=new TextField(10);
rclass=new TextField(10);
src=new TextField(15);
dest=new TextField(15);
fare=new TextField(5);
ticketno=new TextField(10);
JPanel arr[]=new JPanel[11];
for(int i=0;i<arr.length;i++)
{
arr[i]=new JPanel();
arr[i].setLayout(new
FlowLayout(FlowLayout.LEFT));
}
arr[0].add(cid);
arr[1].add(name);
arr[2].add(add);
arr[3].add(mode);
arr[4].add(tdt);
arr[5].add(rclass);
arr[6].add(src);
99
arr[7].add(dest);
arr[8].add(fare);
arr[9].add(ticketno);
arr[10].add(new
Label("TravelManagementSystem Developed By:-Saurav,Aman,Manoranjan "));
for(int i=0;i<arr.length;i++)
center.add(arr[i]);
main=new JPanel();
main.setLayout(new BorderLayout());
main.add(west,BorderLayout.WEST);
main.add(south,BorderLayout.SOUTH);
main.add(center,BorderLayout.CENTER);
add(main);
try
{
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
query12= "SELECT * FROM
res";
ResultSet r =
st.executeQuery(query12);
ResultSetMetaData rmeta =
r.getMetaData();
int nCols=rmeta.getColumnCount();
int frecord = 0;
/*String txt1="";
String txt2="";
String txt3="";
String txt4="";
String txt5="";
String txt6="";
String txt7="";
100
String txt8="";
String int9=""; */
while(r.next())
{
cid.setText(r.getString(1));
name.setText(r.getString(2));
add.setText(r.getString(3));
mode.setText(r.getString(4));
tdt.setText(r.getString(5));
rclass.setText(r.getString(6));
src.setText(r.getString(7));
dest.setText(r.getString(8));
fare.setText(r.getString(9));
//ticketno.setText(r.getString(10));
//con.close();
}
}
catch(SQLException ex)
{
System.out.println("Unable to
access the database");
}
catch(ClassNotFoundException ex)
{
System.out.println("Class not
found");
}
catch(Exception ex)
{
101
System.out.println("Exception raised
is:"+ex);
}
}
public void
actionPerformed(ActionEvent ae)
{
String
s=ae.getActionCommand();
if (s.equals("Clear"))
{
cid.setText("");
name.setText("");
add.setText("");
mode.setText("");
tdt.setText("");
rclass.setText("");
src.setText("");
dest.setText("");
fare.setText("");
}
if (s.equals("Find
Record"))
{
tmp1=cid.getText();
try
{
102
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
while(r.next())
{
cid.setText(r.getString(1));
name.setText(r.getString(2));
add.setText(r.getString(3));
mode.setText(r.getString(4));
tdt.setText(r.getString(5));
rclass.setText(r.getString(6));
src.setText(r.getString(7));
103
dest.setText(r.getString(8));
fare.setText(r.getString(9));
}
catch(SQLException ex)
{
System.out.println("Unable to
access the database");
}
catch(Exception ex)
{
System.out.println("Exception raised
is:"+ex);
}
}
if (s.equals("Cancel
Transaction"))
{
tmp1=cid.getText();
try
{
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
104
ResultSet r =
st.executeQuery(sql2);
ResultSetMetaData rmeta =
r.getMetaData();
int nCols=rmeta.getColumnCount();
int frecord = 0;
/*String txt1="";
String txt2="";
String txt3="";
String txt4="";
String txt5="";
String txt6="";
String txt7="";
String txt8="";
String int9=""; */
while(r.next())
{
cid.setText(r.getString(1));
name.setText(r.getString(2));
add.setText(r.getString(3));
mode.setText(r.getString(4));
tdt.setText(r.getString(5));
rclass.setText(r.getString(6));
src.setText(r.getString(7));
dest.setText(r.getString(8));
fare.setText(r.getString(9));
}
105
catch(SQLException ex)
{
System.out.println("Unable to
access the database");
}
catch(Exception ex)
{
System.out.println("Exception raised
is:"+ex);
}
}
class AdministrationPanel extends JPanel
implements ActionListener
{
public AdministrationPanel()
{
JButton logon;
JPanel main,center;
center=new JPanel();
center.setLayout(new
GridLayout(2,1));
logon=new JButton("Login
Administrator");
logon.addActionListener(this);
JPanel arr[]=new JPanel[2];
for(int i=0;i<arr.length;i++)
{
arr[i]=new JPanel();
arr[i].setLayout(new
FlowLayout(FlowLayout.CENTER));
}
arr[0].add(logon);
106
arr[1].add(new
Label("TravelManagementSystem Developed By:-Saurav,Aman,Manoranjan "));
for(int i=0;i<arr.length;i++)
center.add(arr[i]);
main=new JPanel();
main.add(center,BorderLayout.CENTER);
add(main);
}
public void
actionPerformed(ActionEvent ae)
{
String
s=ae.getActionCommand();
if (s.equals("Login
Administrator"))
{
System.exit(0);
}
}
}
107
west.add(new Label(" "));
south=new JPanel();
south.setLayout(new FlowLayout());
show=new Button("SHOW");
south.add(show);
center=new JPanel();
center.setLayout(new
GridLayout(2,1));
reptyp=new TextField(15);
JPanel arr[]=new JPanel[2];
for(int i=0;i<arr.length;i++)
{
arr[i]=new JPanel();
arr[i].setLayout(new
FlowLayout(FlowLayout.LEFT));
}
arr[0].add(reptyp);
arr[1].add(new
Label("TravelManagementSystem Developed By:-Saurav,Aman,Manoranjan "));
for(int i=0;i<arr.length;i++)
center.add(arr[i]);
main=new JPanel();
north=new JPanel();
north.setLayout(new FlowLayout());
detail=new TextArea(22,110);
north.add(detail);
main.setLayout(new BorderLayout());
main.add(west,BorderLayout.WEST);
main.add(south,BorderLayout.SOUTH);
main.add(center,BorderLayout.CENTER);
main.add(north,BorderLayout.NORTH);
add(main);
}
}
108
class QueryPanel extends JPanel implements
ActionListener
{
String output;
Label queryp;
TextField query;
Button show;
TextArea detail;
JPanel main,west,center,south,north;
public QueryPanel()
{
west=new JPanel();
west.setLayout(new GridLayout(2,1));
queryp=new Label("Enter Query
Here");
west.add(queryp);
west.add(new Label(" "));
center=new JPanel();
center.setLayout(new
GridLayout(2,1));
query=new TextField(50);
JPanel arr[]=new JPanel[2];
for(int i=0;i<arr.length;i++)
{
arr[i]=new JPanel();
arr[i].setLayout(new
FlowLayout(FlowLayout.LEFT));
}
arr[0].add(query);
arr[1].add(new
Label("TravelManagementSystem Developed By:-Saurav,Aman,Manoranjan "));
for(int i=0;i<arr.length;i++)
center.add(arr[i]);
main=new JPanel();
north=new JPanel();
north.setLayout(new FlowLayout());
detail=new TextArea(22,110);
north.add(detail);
109
south=new JPanel();
south.setLayout(new FlowLayout());
show=new Button("Submit Query");
show.addActionListener(this);
south.add(show);
main.setLayout(new
BorderLayout());
main.add(west,BorderLayout.WEST);
main.add(south,BorderLayout.SOUTH);
main.add(center,BorderLayout.CENTER);
main.add(north,BorderLayout.NORTH);
add(main);
}
public void
actionPerformed(ActionEvent ae)
{
String
s=ae.getActionCommand();
if (s.equals("Submit
Query"))
{
try
{
Class.forName(driver);
Connection
con=DriverManager.getConnection(url,userid,password);
st = con.createStatement();
sql=query.getText();
110
ResultSet r = st.executeQuery(sql);
ResultSetMetaData rmeta =
r.getMetaData();
int nCols=rmeta.getColumnCount();
int frecord = 0;
String txt1="";
String txt2="";
String txt3="";
String txt4="";
String txt5="";
String txt6="";
String txt7="";
String txt8="";
String txt9="";
while(r.next())
{
output+=r.getString(1) +" "+
r.getString(2)+" "+r.getString(3)+" "+r.getString(4)+" "+r.getString(5)+"
"+r.getString(6)+" "+r.getString(7)+" "+r.getString(8)+" "+r.getString(9)+"\n";
}
detail.setText(output);
}
catch(SQLException ex)
{
System.out.println("Unable to access the
database");
}
catch(ClassNotFoundException ex)
{
System.out.println("Class not found");
}
catch(Exception ex)
{
System.out.println("Exception raised is:"+ex);
}
}
}
111
}
}
PURPOSE
development of test plans.This test plan should accomplish the task of testing the code after
the coding.Ideally it should include two strategies :-I) Code test plan and II) Specification
test plan.
I) Code test plan:- The code testing strategy examines the logic of the systemIn this,the instructions of the
program are tested. The path testing of the coding should also be planned.
112
The testing based on these test plans does not guarantee against software
not.
II) Specification test plan:- This test plan includes of the specific cases of the program.The test cases are
processing.
This test plan doesn’t include the testing of third party software and
utilities.
TEST CASES
Login Screen
113
1. TC1 Enter the username Successful login
and password. if the username and
password are found
User id must not be in the concerned
more than 40 charact- database.
ers and it should not
contain any special
characters and no
spaces including the
start.
Reservation Requisition
Form
114
in accordance with
the relational schema
(References System
Design Document.)
Cancellation Module
Id should be a number
And in accordance
With the relational
115
Schema.(Reference-
System Design
Document)
TESTING
Testing is the process of running the software on manually created inputs with the intention to
detect errors.In the process of testing , an attempt is made to detect errors,to correct the errors in
116
User’s requirements in mind and before the software is actually launched on a real system, it is
tested.
some testing.This is known as debugging.This unearths the defects that must be removed from the
program.Testing and debugging are different processes.Testing is meant for finding the existence
of defects while debugging stands for locating the place of errors and correcting the errors.during
v) The data should be entered in the test files first,which will satisfy the conditions and
The following are the objectives to be kept in mind while performing testing:-
ii) Good test cases should be designed with a probability of detecting undiscovered
errors.
117
ii) Planning of the tests should be done long before testing.
iii) Starting with a small test , it should proceed towards large tests.
i) White box testing:- This method , also known as glass box testing,is performed early in the
testing process.Using this , the software engineer can derive tests that guarantees exercises of all
independent paths within the modules at least once.It has the following features:-
b) Executes all loops at their boundaries and within the operational bounds.
ii) Black box testing:- This is applied during the later stage
TEST LOG
118
Of username
and password.
Reservation The verification TC2 4 100%
Of the details
Entered by the
User.
OUTPUT
120
121
122
123
124
Limitation of the project
These are the main purposes which are to be concerned for doing this project:-
125
Efficient and controlled ticket & Reservation handling.
To provide the activities with a system for setting up and management for each program.
It provides the better ticketing system issuing tickets & provides the activities offices
status on demand for each and everyone and
FUTURE APPLICATION
This S/W is being developed in oops (object oriented technology), by which in future any type of
126
‘MAP2 Tour & Tourism Travel Agency ’ is just like a ‘HELP LINE’ which is working and
providing services to public to reduce the business of life by tackling their small works, so any
agency which wants to be computerized , may use this S/W by little changes in original one & get
127
Bibliography
************************************
THE END
************************************
128