Professional Documents
Culture Documents
PROJECT ON
Airline Reservation
A dissertation submitted at Vishweshwariah
Technological University for fulfilling the
requirement for the examination of DBMS LAB
By
RUPINDER SINGH
RASANDEEP SINGH
(3GN00CS048)
(3GN00CS046)
GURUNANAKDEVENGINEERINGCOLLEGE
MailoorRoad,Bidar585403.
DepartmentofComputerScienceandEngineering
CERTIFICATE
Certifiedthattheprojectworkentitled AIRLINERESERVATION
isabonafied
workcarriedoutby
1. RUPINDER SINGH
(3GN00CS048)
2. RASANDEEP SINGH
(3GN00CS046)
Technological
year
University,
2002-2003.
corrections/suggestions
It
is
indicated
Belgaum
certified
for
during
that
Internal
all
the
the
Assessment
Signature of
2.
PREFACE
We take pleasure and pride in presenting before you much
worked out project featuring the computers governing the latest
technique in fields.
We summit our thanks to our teacher Mr. Arvind, for giving us
the opportunity to emerge as professionals in the field of
COMPUTER SCIENCE AND ENGINEERING. We extend our
gratitude to our lecturer Mr. Rajshekhar for supporting us in due
course. The major part of appreciation goes to our respected
LECTURERS who have always been imparting all the knowledge
required. We would further like to thank our Lab assistants Mr.
Manik Rao Mulge for their cooperation on this project.
We summit part of our efforts to our colleagues who really
assisted in conducting the final points of this project.
With due pleasure, we submit our piece our labor in front of you.
We are sure, it will be esteemed in very deserving manner.
PROJECT MADE BY:
RASANDEEP SINGH
&
RUPINDER SINGH
CONTENTS
Introduction to PC/AT
Existing System
Proposed System
Entity Relationship
Diagrams
ER-Schema/Relational
Normalization
Tables
Form Screens
INTRODUCTION TO PC/AT
PT/AT, PC/AT DX486 system is a 32bit microprocessor based
system with 8 MB of main memory. Its operating speed is
100MHZ. It is a single user system is MS WINDOWS 9x or Later.
This operating system of the PC/AT DX486 makes it perfectly PC
compatible, so all the software run on it.
MAIN COMPONENTS:
The main components of the system are:
1.
2.
3.
4.
5.
Printer
Console unit:
Hard disk:
The system have Winchester type hard disk with 640 MB of
the storage capacity it is divided into 1001 cylinder, 34 sectors
and 15 Heads.
Floppy Drive:
It as got one floppy drive 1.44 MB FDD uses 31/2 inches
floppy.
Memory:
PC/AT DX486 consists of a microprocessor 80486 Intel
with 8 MB of RAM. The system software & the user share this
memory.
The system area comprises of MSDOS/MS Windows 9x or later
operating system and any software that is called into it. The area
is made of program & data area. The system also process ROM
(Read Only Memory).
Central Processing Unit:
PC/AT DX486 uses a processor of 80486 Intel with. CPU
speed of 100 MHz. CPU is the nerve center of any digital
Memory
II
Arithmetic Unit
III And control section
Learning Edition
The Visual Basic Learning edition allows programmers to
easily create powerful applications for Windows. It includes all
intrinsic controls, plus grid, tab, and data-bound controls, which
you need to build mainstream Windows Applications..
3.
Professional Edition
The Professional edition provides computer professionals
with a full-featured set of tools for developing solutions for
others. It includes all the features of the Learning edition, plus
additional ActiveX controls, the Internet Information Server
Application Designer, Integrated Visual Database Tools and
3. Enterprise Edition
The Enterprise edition is the most advanced edition that
allows professionals to create robust distributed applications. It
includes all the features of the Professional edition, plus Back
Office tools such as SQL Server, Microsoft Transaction Server,
Internet Information Server, Visual SourceSafe, SNA Server,
and more.
EVENT DRIVEN MODEL
In traditional or "procedural" applications, the application
itself controls which portions of code to execute and in what
sequence. Execution starts with the first line of code and
follows a predefined path through the application, calling
procedures as needed.
In an event-driven application, the code doesn't follow a
predetermined path - it executes different code sections in
response to events. Events can be triggered by the user's
actions, by messages from the system or other applications, or
even from the application itself. The sequence of these events
determines the sequence in which the code executes, thus the
path through the application's code differs each time the
program runs.
Because you can't predict the sequence of events, your
code must make certain assumptions about the "state of the
world" when it executes. When you make assumptions, you
should structure your application in such a way as to make sure
that the assumption will always be valid.
INTERACTIVE DEVELOPMENT
The traditional application development process can be
broken into three distinct steps: writing, compiling, and testing
3.
ActiveX EXE/ActiveX DLL: These types of projects are
available with Professional Edition. These projects contain a
class module by default. Use this project templates to develop
COM Components that expose functionality to other
application.
4.
ActiveX Control:
This type of project is also a
feature of the Professional Edition. It contains a User Control
object by default. Use this project template to create a
component designed to be a user interface element in a form or
dialog box.
5.
Existing system
Before beginning the new system the existing system need to
be understand. In order to gain working or airlines system this will
follow the entire process of booking a flight, registering and logging
on to the ticketing system, reserving a flight, and receiving
confirmation that the flight was reserved.
While studying the existing system many problems were found
like the present system of maintaining airlines records were purely
manual. All the information and records regarding dealings were
stored in registers. Thus piles of registers and paper work were to be
maintained. Also there was redundancy of data. This makes all the
operations very complicated and more prone to errors. Moreover in
such a system retrieving information was very time-consuming
process. So there was a dire need of computer system for efficient
functioning of the system.
Proposed system
Menu Driven:The proposed system consists of various menus through
which we can choose required option, the menu are self-explanatory.
Online validations:All fields values, which have reference table, are across
refrained and validations online. Therefore the possibility of entering
the wrong code is completely eliminated.
User Friendly:It would take less time to get familiar with package, as it is
very much according to users requirements.
Command buttons:All the operations in the screen are accomplished by using
command buttons, which are peculiar environment. These buttons
have the appearance of VCR buttons with relevant command
inscribed in the buttons eg. ADD, MODIFY, VIEW, DELETE, EXIT etc.
these buttons accomplish the task, which their name suggests.
The proposed database system consists of seven database
files,in which complete data is stored. The screens are developed in
such a way that data is stored in correct form.the validations are
provided at each stage, so that wrong data is not fed into the
computer. The reports and queries are built in such a manner so that
it does not take time to generate and print them on a paper or screen
i.e. reports and queries are very fast to retrieve the results.
In proposed system space is efficiently used because of
efficient use storage media.
The system gives online help e.g. if we leave field blank the
cursor will not move ahead.if name is not entered a message
Name should not be blank is flashed on the screen.
Informative reports.
Backup procedure.
Totalnoofse
ats
Plan
e
Flig
htid
Econom
y
Busines
s
Departure
_time
Distan
ce
Availables
eates
Executi
ve
FLIGHT
DETAILS
Arrival_tim
e
TIME
FLIGHTS
Reserva
tion_id
VARIOU
S
ROUTE
S
ROUTES
Ticket
no
RESERVATION
LOCATIONS
CUSTOMERNAME
ROUTESINFO
CUSTOMERADDRES
USERLOG
USERDATA
1
N
DATA DICTIONARY
In data dictionary we describe all tables used in this
application and all fields used in this tables, their types and
descriptions of fields.
CUSTOMER ADDRESS
Field list
Data-type
Size
Reservation-ID
Address1
Address2
City
State
Pin
Phone
E-mail
Number
Varchar2
Varchar2
Varchar2
Varchar2
Number
Varchar2
Varchar2
Long Integer
50
50
50
50
50
50
50
Description
Reservation ID of Tickets
Address of Customer
Address of Customer
City of Customer
State of Customer
Pin Code of Customer
Contact No. of Customer
E-mail ID of Customer
Customer Names
Field list
Data type
Size
Description
Reservation-ID
First-name
Last-name
Sex
Age
SeatNo
Number
Char
Char
Char
Number
Number
Long Integer
50
50
07
Long Integer
Long Integer
Reservation ID of Tickets
First Name of Customer
Last Name of Customer
Gender of Customer
Age of Customer
Seat No in Flight
FLIGHTS
Field List
Data Type
Size
Description
Flight ID
Route No
Economy
Business
Varchar2
Varchar2
Varchar2
Varchar2
50
20
08
08
First
Departure_Time
Arrival_Time
Plane
Total_no_of_seat
s
AvailableSeates
Varchar2
Varchar2
Varchar2
Text
Number
Distance
Number
Number
08
08
08
50
Long
Integer
Long
Integer
Long
Integer
LOCATIONS
Field List
Data Type
Size
Description
Locationid
Location_Name
Number
Varchar2
Long Integer
50
Location ID
Name of the Location
RESERVATIONS
Field List
Data Type
Size
Description
Reservation_ID
Number
Reservation ID
Ticket No
Number
Flight_Id
Varchar2
Long
Integer
Long
Integer
50
Origin
Destination
NoOfPassengers
Char
Char
Number
Class
Total_Cost
Char
Number
DateofJourney
Varchar2
50
50
Long
Integer
50
Long
Integer
08
Validation Checks:
ROUTES
Field List
Data Type
Size
Description
Route No
Origin
Destination
Varchar2
Char
Char
20
50
50
Route No
Starting Point of Flight
Destination of Flight
Validation Check:
ROUTESINFO
Field List
Data Type
Size
Description
RouteNo
LocationId
Varchar2
Number
20
Long Integer
Route of Flights
Location of Route Specified
USERDATA
Field List
Data Type
Size
Description
UserName
FullName
Designation
Password
Userlevel
Status
Char
Char
Char
Char
Char
Char
50
50
50
30
15
Validation Checks:
User Name is Primary key. It should not be blank and should not be
empty in the table.
USERLEVEL
Field List
Data Type
Size
Description
UserLevel
Varchar2
50
USERLOG
Field List
Data Type
Size
Description
LoginDate
LoginTime
Fullname
LogoutDate
LogoutTime
UserName
Pid
Status
Varchar2
Varchar2
Char
Varchar2
Varchar2
Char
Number
Char
08
08
50
08
08
30
Long Integer
30