Академический Документы
Профессиональный Документы
Культура Документы
CERTIFICATE
CERTIFICATE
ACKNOWLEGDEMENT
1 CERTIFICATE 2
3 ACKNOWLEDGEMENT 4
4 INTRODUCTION 7
5 INTRODUCTION OF C++ 8
6 PROJECT OBJECTIVE 9
8 DESIGN 10
9 IMPLEMENTATION 11
11 TESTING 41
12 OUTPUT 42
13 CONCLUSION 53
16 FUTURE SCOPE 55
17 BIBLIOGRAPHY 56
6
INTRODUCTION
Problem Description:
1) Objective
2) Assumptions
OBJECTIVE
ASSUMPTION
Requirement analysis
1. Problem reorganization
3. Modeling
4. Specification
5. Review
11
an elicitation process.
for software.
Normal Requirements:
1) Graphical displays:
interactive screen.
c) User Configurable.
Expected Requirements:
1. Indexing
element
of data
14
7. Extensive query facility to provide
of file.
features.
ABOUT C++
OOP Concept:
Object
Data
Member Function
Member Function
Data Data
Object Object
Data Abstraction
Data Encapsulation
Modularity
Inheritance
Polymorphism
18
SYSTEM ANALYSIS
should do.
them.
19
Fight Info
New User
Delete User Airline
Login Attempt Manager
Airport Info
Passenger List
Search Criteria
Flight information
Travel Passenger information
Reservation
Agent User id, password
20
SYSTEM DESIGN
Logical Design:
particular environment.
Airport Info
Airline
Airport error Flight Info Manager
4.0 Airport Info
Airport Code
Manage 2.0 Passerger
Airport Airport File
List
Manage
Flights
Flight
Info
Flight File
Airport Code Flight Reservation Login Attempt
Info Information New User
Reservation File Delete User
1.0
Manage 3.0
Flight List Reservation Reservation
Information Manage
Users
Search Criteria
Flight Information
Travel Passerger Information
Agent Login Attempt
22
Article I. Level 1: Data Flow Diagram:
Level 1 DFD for 1.0 Managing Reservation
Travel
Agent Search Criteria
Flight List
Passen- 1.1
ger Search
Infor- Flight Airport Code
mation
Flight
Information Airport File
Flight
1.2 Information
Select
Flight
Flight File
Flight
Passenger Information
Information/
Flight
Information 1.3
Make Reservation
Reservation Information
Reservation File
1.4 Reservation
Cancel Information
Reservation
23
Level 2 : Data Flow Diagram:
Travel 1.2
Flight
Agent Select
Information
Flight
1.3.1
Verify
Travel
Time
Flight
Passenger Information Reservation File
Information
1.3.2
Passenger
Verify
Count
Seating
Flight
Information Reservation
Information
1.3.3
Add
Reservation
24
Level 3 : Data Flow Diagram:
Flight
Verify Information 1.3.3.1
Seating Reduce
Seating Passenger Count
Reservation File
Passenger
Travel Information
Agent 1.3.3.2
Add Passenger Information
Passenger
to List
Last Name,
Flight Number, 1.4.3.1
Date of Travel Increase
Travel
Agent Seating Passenger Count
Last Name,
Flight Number,
Date of Travel
Reservation File
1.4.3.2
Remove
Passenger Last Name
from List
25
PROCESS SPECIFICATIONS
DOCUMENTATION
carries out.
verified.
26
Process specifications must be expressed in a
ESTIMATION
INPUTS
PROJECT COMPLEXITY
FP= FC*PCA
FP= 378*1.01
FP= 378
No of works nos:-
31/03 20/04
Coding
31/03 31/04
Unit testing
--- 31/03 05/04
System test
plan
--- 05/04-
User 20/04
Acceptance
plan
---- 25/03 31/04
Documentation
RELATIONAL MODEL:
system.
Normalization:
Rule 1:
Rule 2:
Rule 3:
33
All non-identified attributes must represent
each other.
listed above.
34
Article II. PERFORMANCE
ANALYSIS/OPTIMIZATION
DESIGN PROCEDURES
Coupling:
The main criteria for deciding the modules
from technical angle is to reduce the
interdependencies between different modules i.e.
to reduce the degree of coupling
Between modules If there is lot of dependence
across modules, then the degree of coupling is
high while if the dependencies between modules
are far and few, the degree of coupling is low.
Data Coupling
Stamp Coupling
Control Coupling
(i) Data Coupling:
In Data Coupling data is passed across
modules through parameters. These parameters
are basically elementary form of data.
In the present project Data Coupling is used.
(ii) COHESION
Cohesion is the measure of functional
relatedness of elements within single module.
When dividing a system into modules, it must be
ensured that the activities within the module are
37
tightly bound to one another. Cohesion can be
viewed as opposite of coupling.
1. Need Analysis:
considered.
organization
Technical feasibility:
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <conio.h>
#include <dos.h>
class DRAW
public :
void BOX(float,float,float,float,char) ;
41
};
TICKETS //****
class TICKET
public :
void ADDITION(void) ;
void ENQUIRY(void) ;
char *FLIGHTNO(float) ;
private :
float, float) ;
protected :
};
42
//***THIS CLASS CONTROL ALL THE FUNCTIONS RELATED TO
PASSENGERS //****
class PASSANGER
public :
void DELETE_TICKET(float) ;
float DELETE_FLIGHT(float) ;
void LIST(void) ;
float LAST_TICKETNO(void) ;
float SEATS(float) ;
float FOUND(float) ;
char *NAME(float) ;
protected :
};
43
//***** THIS IS DERIVED CLASS WHICH CONTROL ALL THE
//*****
public :
void RESERVATION(void) ;
void CANCELLATION(void) ;
void DISPLAY_TICKET(void) ;
void DELETE_ALL(void) ;
};
char c)
gotoxy(column1,row) ;
cout <<c ;
44
}
char c)
gotoxy(column,row1) ;
cout <<c ;
char ch=218 ;
if (c == ch)
c1=218 ;
c2=191 ;
c3=192 ;
c4=217 ;
l1 = 196 ;
l2 = 179 ;
else
c1=c ;
c2=c ;
c3=c ;
c4=c ;
l1 = c ;
l2 = c ;
gotoxy(column1,row1) ;
46
cout <<c1 ;
gotoxy(column2,row1) ;
cout <<c2 ;
gotoxy(column1,row2) ;
cout <<c3 ;
gotoxy(column2,row2) ;
cout <<c4 ;
column1++ ;
column2-- ;
LINE_HOR(column1,column2,row1,l1) ;
LINE_HOR(column1,column2,row2,l1) ;
column1-- ;
column2++ ;
row1++ ;
row2-- ;
LINE_VER(row1,row2,column1,l2) ;
LINE_VER(row1,row2,column2,l2) ;
}
47
FILE(TICKET.DAT) //****
fstream file ;
file.open("TICKET.DAT", ios::app) ;
strcpy(fltno,t_fltno) ;
strcpy(from,t_from) ;
strcpy(to,t_to) ;
ecofair = t_ecofair ;
exefair = t_exefair ;
file.close() ;
}
48
S.NO //****
fstream file ;
file.open("TICKET.DAT", ios::in) ;
float count=1 ;
if (sno == count)
break ;
count++ ;
file.close() ;
return fltno ;
}
49
TICEKT FILE
//**
fstream file ;
file.open("TICKET.DAT", ios::in) ;
if (!file.fail())
return ;
file.close() ;
1700) ;
2300) ;
2300) ;
2100) ;
2100) ;
2000) ;
2000) ;
1800) ;
1800) ;
clrscr(); textcolor(15);
fstream file ;
file.open("TICKET.DAT", ios::in) ;
DRAW d ;
d.BOX(1,2,80,24,218) ;
d.LINE_HOR(2,79,4,196) ;
d.LINE_HOR(2,79,6,196) ;
d.LINE_HOR(2,79,22,196) ;
textcolor(LIGHTGRAY+BLINK) ;
gotoxy(30,3) ;
textcolor(LIGHTGRAY) ;
textcolor(BLACK) ; textbackground(WHITE) ;
gotoxy(i,5) ;
cprintf(" ") ;
}
52
gotoxy(3,5) ;
textcolor(LIGHTGRAY) ; textbackground(BLACK) ;
gotoxy(6,row) ;
cout <<sno ;
gotoxy(10,row) ;
cout <<fltno ;
gotoxy(24,row) ;
cout <<from ;
gotoxy(38,row) ;
cout <<to ;
gotoxy(57,row) ;
cout <<ecofair ;
gotoxy(72,row) ;
cout <<exefair ;
row++ ;
53
sno++ ;
file.close() ;
//****
clrscr(); textcolor(15);
ENQUIRY() ;
pfltno[10] ;
PASSANGER p ;
tno = p.LAST_TICKETNO() + 1 ;
do
54
{
valid = 1 ;
gotoxy(3,23) ;
gotoxy(3,23) ;
gotoxy(3,20) ;
gotoxy(3,20) ;
gets(t1) ;
t2 = atoi(t1) ;
sno = t2 ;
if (strlen(t1) == 0)
return ;
valid = 0 ;
gotoxy(3,23) ;
getch() ;
} while (!valid) ;
float i=1 ;
fstream file ;
file.open("TICKET.DAT", ios::in) ;
if (sno == i)
break ;
i++ ;
file.close() ;
strcpy(pfltno,fltno) ;
gotoxy(5,21) ;
return ;
gotoxy(3,23) ;
gotoxy(3,23) ;
EXIT" ;
do
gotoxy(3,21) ;
gotoxy(3,21) ;
pclass = getche() ;
pclass = toupper(pclass) ;
if (pclass == 13)
return ;
clrscr(); textcolor(15);
57
gotoxy(72,3) ;
cout <<"<0>=EXIT" ;
gotoxy(34,2) ;
cout <<"RESERVATION" ;
gotoxy(5,5) ;
gotoxy(5,6) ;
gotoxy(5,7) ;
gotoxy(5,8) ;
do
valid = 1 ;
gotoxy(5,25) ; clreol() ;
gotoxy(15,5) ; clreol() ;
gets(pname) ;
if (pname[0] == '0')
58
return ;
valid = 0 ;
gotoxy(5,25) ; clreol() ;
getch() ;
} while (!valid) ;
do
valid = 1 ;
gotoxy(5,25) ; clreol() ;
gotoxy(15,6) ; clreol() ;
gets(paddress) ;
if (paddress[0] == '0')
return ;
{
59
valid = 0 ;
gotoxy(5,25) ; clreol() ;
getch() ;
} while (!valid) ;
do
gotoxy(5,25) ; clreol() ;
gotoxy(15,7) ; clreol() ;
psex = getche() ;
psex = toupper(psex) ;
if (psex == '0')
return ;
do
valid = 1 ;
gotoxy(5,25) ; clreol() ;
60
cout <<"ENTER AGE OF THE PASSANGER" ;
gotoxy(15,8) ; clreol() ;
gets(t1) ;
t2 = atoi(t1) ;
page = t2 ;
if (t1[0] == '0')
return ;
valid = 0 ;
gotoxy(5,25) ; clreol() ;
getch() ;
} while (!valid) ;
clrscr(); textcolor(15);
DRAW d ;
d.BOX(15,5,66,21,'*') ;
d.LINE_HOR(16,65,7,'*') ;
gotoxy(33,6) ;
61
cout <<"Ticket no. " <<tno ;
gotoxy(17,9) ;
gotoxy(45,9) ;
gotoxy(20,11) ;
gotoxy(20,13) ;
gotoxy(20,15) ;
gotoxy(20,17) ;
gotoxy(45,19) ;
if (pclass == 'E')
else
p.ADD_RECORD(tno,sno,pname,paddress,page,psex,pclas
s) ;
62
getch() ;
pclass)
fstream file ;
file.open("PASS.DAT", ios::app) ;
ticketno = tno ;
slno = sno ;
strcpy(name,pname) ;
strcpy(address,paddress) ;
age = page ;
sex = psex ;
Class = pclass ;
fstream file ;
file.open("PASS.DAT", ios::in) ;
float count=0 ;
count = ticketno ;
file.close() ;
return count ;
}
64
//***// THIS FUNCTION RETURN TOTAL NO. OF SEATS IN
fstream file ;
file.open("PASS.DAT", ios::in) ;
float count=0 ;
if (sno == slno)
count++ ;
file.close() ;
return count ;
}
65
//***// THIS FUNCTION RETURN 0 IF THE TICKET NO.
fstream file ;
file.open("PASS.DAT", ios::in) ;
float found=0 ;
if (tno == ticketno)
found = 1 ;
break ;
file.close() ;
return found ;
}
66
//****// THIS FUNCTION RETURNS PASSANGER'S NAME
fstream file ;
file.open("PASS.DAT", ios::in) ;
if (tno == ticketno)
break ;
file.close() ;
return name ;
PASSANGERS //***
{
67
clrscr(); textcolor(15);
char t1[10] ;
TICKET ticket ;
ticket.ENQUIRY() ;
do
valid = 1 ;
gotoxy(3,23) ;
gotoxy(3,23) ;
gotoxy(3,20) ;
cout <<"
";
gotoxy(3,20) ;
gets(t1) ;
t2 = atoi(t1) ;
68
sno = t2 ;
if (strlen(t1) == 0)
return ;
valid = 0 ;
gotoxy(3,23) ;
gotoxy(3,23) ;
getch() ;
} while (!valid) ;
clrscr(); textcolor(15);
char ch ;
DRAW d ;
d.BOX(1,2,80,24,218) ;
d.LINE_HOR(2,79,4,196) ;
d.LINE_HOR(2,79,6,196) ;
69
d.LINE_HOR(2,79,22,196) ;
gotoxy(3,3) ;
gotoxy(32,3) ;
textcolor(BLACK) ; textbackground(WHITE) ;
gotoxy(2,5) ;
textcolor(LIGHTGRAY) ; textbackground(BLACK) ;
fstream file ;
file.open("PASS.DAT", ios::in) ;
file.seekg(0,ios::beg) ;
if (sno == slno)
flag = 0 ;
//delay(20) ;
found = 1 ;
gotoxy(5,row) ;
70
cout <<ticketno ;
gotoxy(17,row) ;
cout <<name ;
gotoxy(49,row) ;
if (Class == 'X')
cout <<"Executive" ;
else
cout <<"Economic" ;
if ( row == 21 )
flag = 1 ;
row = 7 ;
gotoxy(5,23) ;
to exit" ;
ch = getch() ;
if (ch == 27)
break ;
clrscr(); textcolor(15);
d.BOX(1,2,80,24,218) ;
71
d.LINE_HOR(2,79,4,196) ;
d.LINE_HOR(2,79,6,196) ;
d.LINE_HOR(2,79,22,196) ;
gotoxy(32,3) ;
//textcolor(BLACK) ; textbackground(WHITE) ;
gotoxy(2,5) ;
//textcolor(LIGHTGRAY) ;
textbackground(BLACK) ;
else
row++ ;
if (!found)
gotoxy(5,10) ;
}
72
if (!flag)
gotoxy(5,23) ;
getch() ;
file.close() ;
fstream file ;
file.open("PASS.DAT", ios::in) ;
fstream temp ;
temp.open("temp.dat", ios::out) ;
file.seekg(0,ios::beg) ;
while (!file.eof())
73
{
if (file.eof())
break ;
if (tno != ticketno)
file.close() ;
temp.close() ;
file.open("PASS.DAT", ios::out) ;
temp.open("temp.dat", ios::in) ;
temp.seekg(0,ios::beg) ;
while ( !temp.eof() )
if ( temp.eof() )
break ;
file.close() ;
74
temp.close() ;
fstream file ;
file.open("PASS.DAT", ios::in) ;
fstream temp ;
temp.open("temp.dat", ios::out) ;
file.seekg(0,ios::beg) ;
float found = 0 ;
while (!file.eof())
if (file.eof())
break ;
if (sno != slno)
75
temp.write((char *) this, sizeof(PASSANGER)) ;
else
found = 1 ;
file.close() ;
temp.close() ;
file.open("PASS.DAT", ios::out) ;
temp.open("temp.dat", ios::in) ;
temp.seekg(0,ios::beg) ;
while ( !temp.eof() )
if ( temp.eof() )
break ;
file.close() ;
temp.close() ;
return found ;
}
76
clrscr(); textcolor(15);
char t1[10], ch ;
do
valid = 1 ;
gotoxy(3,23) ; clreol() ;
gotoxy(3,20) ; clreol() ;
Ticket " ;
gets(t1) ;
t2 = atoi(t1) ;
77
tno = t2 ;
if (t1[0] == '0')
return ;
if (strlen(t1) == 0)
valid = 0 ;
LIST() ;
clrscr(); textcolor(15);
valid = 0 ;
gotoxy(3,23) ; clreol() ;
getch() ;
} while (!valid) ;
clrscr(); textcolor(15);
fstream file ;
file.open("PASS.DAT", ios::in) ;
78
while (file.read((char *) this, sizeof(PASSANGER)))
if (ticketno == tno)
break ;
file.close() ;
float i=1 ;
file.open("TICKET.DAT", ios::in) ;
if (slno == i)
break ;
i++ ;
file.close() ;
PASSANGER p ;
DRAW d ;
d.BOX(15,5,66,21,'*') ;
d.LINE_HOR(16,65,7,'*') ;
gotoxy(33,6) ;
gotoxy(17,9) ;
79
cout <<from <<" to " <<to ;
gotoxy(45,9) ;
gotoxy(20,11) ;
gotoxy(20,13) ;
gotoxy(20,15) ;
gotoxy(20,17) ;
gotoxy(45,19) ;
if (Class == 'E')
else
do
gotoxy(10,23) ; clreol() ;
ch = toupper(ch) ;
if (ch == 'N')
return ;
DELETE_TICKET(tno) ;
gotoxy(10,25) ;
getch() ;
//****
clrscr(); textcolor(15);
char t1[10], ch ;
do
81
{
valid = 1 ;
gotoxy(3,23) ; clreol() ;
gotoxy(3,20) ; clreol() ;
gets(t1) ;
t2 = atoi(t1) ;
tno = t2 ;
if (t1[0] == '0')
return ;
if (strlen(t1) == 0)
valid = 0 ;
LIST() ;
clrscr(); textcolor(15);
valid = 0 ;
82
gotoxy(3,23) ; clreol() ;
getch() ;
} while (!valid) ;
clrscr(); textcolor(15);
fstream file ;
file.open("PASS.DAT", ios::in) ;
if (ticketno == tno)
break ;
file.close() ;
float i=1 ;
file.open("TICKET.DAT", ios::in) ;
if (slno == i)
break ;
i++ ;
}
83
file.close() ;
PASSANGER p ;
DRAW d ;
d.BOX(15,5,66,21,'*') ;
d.LINE_HOR(16,65,7,'*') ;
gotoxy(33,6) ;
gotoxy(17,9) ;
gotoxy(45,9) ;
gotoxy(20,11) ;
gotoxy(20,13) ;
gotoxy(20,15) ;
gotoxy(20,17) ;
gotoxy(45,19) ;
84
if (Class == 'E')
else
gotoxy(10,25) ;
getch() ;
PASSANGER RECORDS//****
clrscr(); textcolor(15);
ENQUIRY() ;
char t1[5] ;
do
{
85
valid = 1 ;
gotoxy(3,23) ;
gotoxy(3,23) ;
gotoxy(3,20) ;
cout <<"
";
gotoxy(3,20) ;
gets(t1) ;
t2 = atoi(t1) ;
sno = t2 ;
if (strlen(t1) == 0)
return ;
valid = 0 ;
gotoxy(3,23) ;
86
cout <<" ";
gotoxy(3,23) ;
getch() ;
} while (!valid) ;
gotoxy(3,23) ;
if (!DELETE_FLIGHT(sno))
else
continue..." ;
getch() ;
void main(void)
87
{
DRAW d ;
PASSANGER p ;
TICKET ticket ;
RESERVE r ;
ticket.ADDITION() ;
char ch ;
while (1)
clrscr(); textcolor(15);
d.BOX(19,6,62,20,218) ;
textcolor(BLACK) ;
textbackground(WHITE) ;
gotoxy(j,i) ;
cprintf(" ") ;
gotoxy(29,9) ;
88
cprintf("AIR TICKET RESERVATION") ;
gotoxy(29,10) ;
cprintf("~~~~~~~~~~~~~~~~~~~~~~") ;
gotoxy(30,11) ;
cprintf("1: RESERVATION") ;
gotoxy(30,12) ;
cprintf("2: CANCELLATION") ;
gotoxy(30,13) ;
gotoxy(30,14) ;
cprintf("4: ENQUIRY") ;
gotoxy(30,15) ;
gotoxy(30,16) ;
cprintf("6: QUIT") ;
gotoxy(30,18) ;
ch = getche() ;
textcolor(LIGHTGRAY) ;
textbackground(BLACK) ;
89
clrscr(); textcolor(15);
if (ch == 27 || ch == '6')
break ;
else
if (ch == '1')
r.RESERVATION() ;
if (ch == '2')
r.CANCELLATION() ;
if (ch == '4')
ticket.ENQUIRY() ;
gotoxy(2,23) ;
getch() ;
else
if (ch == '5')
p.LIST() ;
else
if (ch == '3')
90
{
while (1)
clrscr(); textcolor(15);
d.BOX(19,6,62,20,218) ;
textcolor(BLACK) ;
textbackground(WHITE) ;
gotoxy(j,i) ;
cprintf(" ") ;
gotoxy(29,10) ;
gotoxy(29,11) ;
cprintf("~~~~~~~~~~~~~~~~~~~~~~") ;
gotoxy(33,12) ;
gotoxy(33,13) ;
91
cprintf("2: DELETE") ;
gotoxy(33,14) ;
cprintf("0: EXIT") ;
gotoxy(31,16) ;
ch = getche() ;
textcolor(LIGHTGRAY) ;
textbackground(BLACK) ;
clrscr(); textcolor(15);
if (ch == 27 || ch == '0')
break ;
else
if (ch == '1')
r.DISPLAY_TICKET() ;
else
if (ch == '2')
r.DELETE_ALL() ;
}
92
}
93
TESTING
Testing Objectives:
The following are the testing objectives:
Testing is a process of executing a program with the intent
of finding an error.
A good test case is one that has a high probability of
finding an as-yet-undiscovered error
A successful test is one that uncovers an as yet
undiscovered error.
94
Testing Principles
The basic principles that guide software testing are as
follows:
All tests should be traceable to customer requirements.
Tests should be planned long before testing begins.
The pirate principle applies to software testing.
Testability
Software Testability is simply how easily (a computer
program can be tested). The following characteristics are
considered that lead to testable software.
Operability: “The better it works, the more efficiently it can
be tested.”
Observability: “What you see is what you test.”
95
Test Case Design:
Validation Testing:
System testing:
System testing fall outside the scope of the software
process and are not conducted solely by software engineers.
It includes the following:
Recovery testing
Security testing
Stress testing
Performance testing
OUT PUT
Main menu
┌────────────────────────────────────────
──┐
│ │
│ │
│ AIR TICKET RESERVATION │
│ ~~~~~~~~~~~~~~~~~~~~~~ │
98
│ 1: RESERVATION │
│ 2: CANCELLATION │
│ 3: PASSENGER RECORDS -> │
│ 4: ENQUIRY │
│ 5: LIST OF PASSENGERS │
│ 6: QUIT │
│ │
│ ENTER YOUR CHOICE │
│ │
└───────────────────────────────────────
───┘
When we press 1
┌──────────────────────────────────────────────
────────────────────────────────┐
│ LIST OF THE FLIGHTS │
│──────────────────────────────────────────────
────────────────────────────────│
│ Sno. FLIGHT NO. FROM TO ECONOMIC FAIR
EXECUTIVE FAIR │
│──────────────────────────────────────────────
────────────────────────────────│
│ 1 KL146 DELHI MUMBI 1500 1700 │
│ 2 KL146 MUMBI DELHI 1500 1700 │
│ 3 KL156 DELHI CALCUTTA 1700 1900 │
99
│ 4 KL156 CALCUTTA DELHI 1700 1900 │
│ 5 KL166 DELHI MADRAS 2100 2300 │
│ 6 KL166 MADRAS DELHI 2100 2300 │
│ 7 KL176 MUMBI CALCUTTA 1900 2100 │
│ 8 KL176 CALCUTTA MUMBI 1900 2100 │
│ 9 KL186 MUMBI MADRAS 1800 2000 │
│ 10 KL186 MADRAS MUMBI 1800 2000 │
│ 11 KL196 CALCUTTA MADRAS 1600 1800 │
│ 12 KL196 MADRAS CALCUTTA 1600 1800 │
│ │
│ Enter Sno. of the FLIGHT : │
│ │
│──────────────────────────────────────────────
────────────────────────────────│
│ PRESS <ENTER> TO EXIT │
└──────────────────────────────────────────────
────────────────────────────────┘
After entering s no of the flight, enter type of flight is it economic fair or
executive fair
Enter NAME, ADDRESS, SEX M/F, AGE
RESERVATION
<0>=EXIT
NAME : Jon
ADDRESS: Delhi
SEX M/F: m
AGE : 45
ENTER AGE OF THE PASSANGER
****************************************************
* Ticket no. 18 *
****************************************************
* *
* DELHI to MADRAS Flight no. KL166 *
* *
100
* Passenger Name: Jon *
* *
* Address: delhi *
* *
* Sex : M *
* *
* Age : 5 *
* *
* Total Fair: 2100 *
* *
****************************************************
└───────────────────────────────────────
───┘
Press 1 for passenger records
After pressing 1 enter ticket no, and then press enter
****************************************************
* Ticket no. 18 *
****************************************************
* *
* DELHI to MADRAS Flight no. KL166 *
* *
* Passanger Name : jon *
* *
* Address : @elhi *
* *
* Sex : M *
* *
* Age : 45 *
* *
* Total Fair: 2300 *
* *
****************************************************
┌──────────────────────────────────────────────
────────────────────────────────┐
│ LIST OF THE FLIGHTS │
│──────────────────────────────────────────────
────────────────────────────────│
│ Sno. FLIGHT NO. FROM TO ECONOMIC FAIR
EXECUTIVE FAIR │
│──────────────────────────────────────────────
────────────────────────────────│
│ 1 KL146 DELHI MUMBI 1500 1700 │
│ 2 KL146 MUMBI DELHI 1500 1700 │
│ 3 KL156 DELHI CALCUTTA 1700 1900 │
│ 4 KL156 CALCUTTA DELHI 1700 1900 │
│ 5 KL166 DELHI MADRAS 2100 2300 │
│ 6 KL166 MADRAS DELHI 2100 2300 │
│ 7 KL176 MUMBI CALCUTTA 1900 2100 │
│ 8 KL176 CALCUTTA MUMBI 1900 2100 │
│ 9 KL186 MUMBI MADRAS 1800 2000 │
│ 10 KL186 MADRAS MUMBI 1800 2000 │
│ 11 KL196 CALCUTTA MADRAS 1600 1800 │
│ 12 KL196 MADRAS CALCUTTA 1600 1800 │
│ │
│ Enter Sno. of the FLIGHT for which all passanger records to be deleted :
│
│ │
│───────────────────────────────────────────
103
───────────────────────────────────│
│ PRESS <ENTER> TO EXIT │
└──────────────────────────────────────────────
────────────────────────────────┘
After entering Sno. of the FLIGHT for which all passanger records to be
deleted
The record was deleted
┌──────────────────────────────────────────────
────────────────────────────────┐
│ LIST OF THE FLIGHTS │
│──────────────────────────────────────────────
────────────────────────────────│
│ Sno. FLIGHT NO. FROM TO ECONOMIC FAIR
EXECUTIVE FAIR │
│──────────────────────────────────────────────
────────────────────────────────│
│ 1 KL146 DELHI MUMBI 1500 1700 │
│ 2 KL146 MUMBI DELHI 1500 1700 │
│ 3 KL156 DELHI CALCUTTA 1700 1900 │
│ 4 KL156 CALCUTTA DELHI 1700 1900 │
│ 5 KL166 DELHI MADRAS 2100 2300 │
│ 6 KL166 MADRAS DELHI 2100 2300 │
│ 7 KL176 MUMBI CALCUTTA 1900 2100 │
│ 8 KL176 CALCUTTA MUMBI 1900 2100 │
│ 9 KL186 MUMBI MADRAS 1800 2000 │
│ 10 KL186 MADRAS MUMBI 1800 2000 │
│ 11 KL196 CALCUTTA MADRAS 1600 1800 │
│ 12 KL196 MADRAS CALCUTTA 1600 1800 │
│──────────────────────────────────────────────
────────────────────────────────│
│Press any key to continue... │
└──────────────────────────────────────────────
────────────────────────────────┘
Press 5 for: LIST OF PASSENGERS
After pressing 5 we get
┌──────────────────────────────────────────────
────────────────────────────────┐
104
│ LIST OF THE FLIGHTS │
│──────────────────────────────────────────────
────────────────────────────────│
│ Sno. FLIGHT NO. FROM TO ECONOMIC FAIR
EXECUTIVE FAIR │
│──────────────────────────────────────────────
────────────────────────────────│
│ 1 KL146 DELHI MUMBI 1500 1700 │
│ 2 KL146 MUMBI DELHI 1500 1700 │
│ 3 KL156 DELHI CALCUTTA 1700 1900 │
│ 4 KL156 CALCUTTA DELHI 1700 1900 │
│ 5 KL166 DELHI MADRAS 2100 2300 │
│ 6 KL166 MADRAS DELHI 2100 2300 │
│ 7 KL176 MUMBI CALCUTTA 1900 2100 │
│ 8 KL176 CALCUTTA MUMBI 1900 2100 │
│ 9 KL186 MUMBI MADRAS 1800 2000 │
│ 10 KL186 MADRAS MUMBI 1800 2000 │
│ 11 KL196 CALCUTTA MADRAS 1600 1800 │
│ 12 KL196 MADRAS CALCUTTA 1600 1800 │
│ │
│ Enter Sno. of the FLIGHT for which you want to see list of passanger
│
│ │
│──────────────────────────────────────────────
────────────────────────────────│
│ PRESS <ENTER> TO EXIT │
└──────────────────────────────────────────────
────────────────────────────────┘
┌──────────────────────────────────────────────
────────────────────────────────┐
│ Flight no. KL146 LIST OF PASSANGER │
│──────────────────────────────────────────────
────────────────────────────────│
│ TICKET NO. NAME CLASS │
│──────────────────────────────────────────────
────────────────────────────────│
│ 4 parmila Economic │
│ │
│ │
│ │
│──────────────────────────────────────────────
────────────────────────────────│
105
│ Press any key to continue... │
IMPLEMENTATION
Implementation of the present project can be simply done
by installing the intranet pages on the server which provide these
pages to the clients who connect and request the server for
information
Before installing at client side it is better to implement the
software as a parallel run in order to test the software function.
This time period can be between 15 days to 2 months.
Later if the system shows a efficient functionality then the
software can be used in complete and then the old system can be
discarded if present.
DISADVANTAGE OF THE
SOFTWARE DEVELOPED
CONCLUSION
107
Finally I succeeded in making Airlines Ticket Management
System in C++ With artificial Intelligence i.e. (The Computer
thinks for the best possible move and then makes the move.
It took a lot of hard work to make this project without the help
of my faculties I would not have been in a position to make this
project. So thanks to MR. TINKESH GOYAL
THANK YOU
108
Article III. FUTURE SCOPE OF THE
PROJECT
The software application will be built on Turbo C++ and
DAT files will be used for the backend. Thus, the software can
effectively run on any DOS operating system.