Вы находитесь на странице: 1из 23

Software Design Document

(SDD)
For
AIR TICKET RESERVATION SYSTEM

Version 1.0 08-April-2015

Department of Computer Science Engineering

Jodhpur Institute of Engineering and Technology


Session 2014-2015

Air ticket Reservation System

Role
Lab Faculty/ Incharge

APPROVAL and Compulsory Review LIST


Name
Date
MR. BHARAT SINGH
08/04/2015

Version Tracking
Date
08/04/2015

Version

Comments

1.0.0

Author
ANKIT YADAV

Table of Contents
1.0

Introduction........................................................................................................1

2.0

Functional Description......................................................................................2

3.0

Functional Partitions.........................................................................................3

3.1

Module Name: [Write Module name here]...........................................................................3

AA

AIR TICKET RESERVATION

4.0

Data Description.................................................................................................5

4.1

Data Flow Diagram...............................................................................................................5

4.2

Data structures used..............................................................................................................5

4.3

Constant Definition...............................................................................................................5

4.4

Flow Charts...........................................................................................................................5

5.0
5.1

Module Description............................................................................................6
Module Name: [Write name of module here].......................................................................6

6.0

Definitions and Acronyms.................................................................................7

7.0

References...........................................................................................................8

Introduction
The main purpose of this software is to reduce the manual errors involved in
the airline reservation process and make it convenient for the customers to book the
flights as when they require such that they can utilize this software to make
reservations, modify reservations or cancel a particular reservation.

2
Software Design Document

AA

AIR TICKET RESERVATION

High Level Functional Description

1.
2.
3.
4.

Following tasks can be performed using this program :New Registration


Edit personal details
Shows passenger infomation
Shows passenger list
3
Software Design Document

AA

AIR TICKET RESERVATION

5.

Cancellation of Reservations

Main block fo program are:Input block:- in this block the user enters the choice according to requirement that what function he
wants the software to perform and then it moves for process block.
Process block:- in this block the passengers details are processed and other features of program like
updation are performed.
Output block:- in this block passengers details.and their info and other details are displayed.

Functional block diagramAdministratorAdministrator will control all the feature of system.


4
Software Design Document

AA

AIR TICKET RESERVATION

UserA user can check balance and deposit /withdraw amount from account.

PROCESS
New reservation
INPUT

Passenger
Exit

Passenger info.

OUTPUT

Modify record
Display info of a
passenger

Display required
output

Cancellation
Exit

5
Software Design Document

AA

AIR TICKET RESERVATION

Flow chart: -

START

New reservation

Passenger info.

Modify record
6
Software Design Document

AA

AIR TICKET RESERVATION

Display info of a
passenger

Cancellation of record

Exit

STOP

High Level Functional Partitions

Module Name: AIR

2.
3.
4.
5.

This module has following functions :1.


New Registration
Edit personal details
Shows passenger infomation
Shows passenger list
Cancellation of Reservations
7
Software Design Document

AA

AIR TICKET RESERVATION

1.1 Functional Block Diagram

New reservation
Passenger info.
Passenger
Exit

Modify record
Display info of a
passenger

Display required
output

Cancellation
Exit

1.2 Flow Chart


START
8
Software Design Document

AA

AIR TICKET RESERVATION

Enter choice:
New Registration
Passenger info.
3. Modify record
Shows passenger list
5. Cancellation
6. Exit

If c=1

New
reservation

If c=2

Passenger
info.

If c=4

If c=3

Modify
record

Shows
passenger list

If c=5

If c=6

Cancellation

Update database

STOP

9
Software Design Document

AA

AIR TICKET RESERVATION

Data Description
1.3 Data Flow Diagram
0 level DFD :
Airline Reservation System
Passenger

Write
Database
Read

1 level DFD of RSERVATION:


USER
RESERVATION REQUEST

New
reservation

Passengers details

TICKET CONFIRMATION & STATUS

REQUEST FOR INFORMATION

INFORMATION

Info. request

Display
passenger
info.

Response

New details
REQUEST FOR UPDATION

Modify
record

Database

UPDATE CONFIRMATION

REQUEST FOR INFORMATION

INFORMATION

Shows passenger
list

Info. request
Response

10
Software Design Document

AA

AIR TICKET RESERVATION

REQUEST FOR CANCELLATION

Ticket
Cancellation

ACKNOWLEDGEMENT

Cancellation request

Status

1.4 Data Structures


S.No.
1

Data type
-

Data Structure
struct

Identifier
airway

char

array

name

char

array

nat

Description
It contains variables for
airline reservation.
Stores name of passenger.
Stores the nationality of
passenger.

1.5 Constant Definition


Constants are not used in designing in this software.

11
Software Design Document

AA

AIR TICKET RESERVATION

Low Level Module Description ( For C++)


1.6 Module Name: AIR
This module is used to create the object to carry out all the operations on air ticket reservation.
1.6.1

Class Name: AIR

Class To Control All The Functions Related To Air Reservation.

1.6.1.1 Class Dependencies


This class is not depends on any other class.
1.6.1.2 Functions in the Class
1.6.1.2.1 Function Name: GETDATA
Function to get Passenger Info from User for Addition and Modification
1.6.1.2.1.1 Declaration
void getdata(int);
Parameters List
Parameter Type
integer

Parameter Name
p

Parameter Description
Input for taking passenger number

1.6.1.2.1.2 Return values


This function has no any return values.
1.6.1.2.1.3 Algorithm / Pseudo code

12
Software Design Document

AA

AIR TICKET RESERVATION

Step 1: start
Step 2: enter details of customer
Step 4: end
1.6.2

Flow Chart
Start

Enter Passengers information

No
Is Valid
Data ?
Yes

Save data into file

Return

13
Software Design Document

AA

AIR TICKET RESERVATION

1.6.2.1.1

Function Name: PINFO

Function to get full details of a particular Passenger


1.6.2.1.1.1 Declaration
void pinfo()
Parameters List
Parameter Type
NA

Parameter Name
NA

Parameter Description
NA

1.6.2.1.1.2 Return values


This function has no any return values.
1.6.2.1.1.3 Algorithm / Pseudo code
Step 1: start
Step 2: Enter passenger number
Step 3: Detailed match
Step 4: Display details of passenger
Step 5: end

14
Software Design Document

AA

AIR TICKET RESERVATION

1.6.3

Flow Chart

Start
Start

Start

Start

Enter passenger number

Found

No
Yes

Display Details of reservation

Display Error

15
Software Design Document
Stop

AA

AIR TICKET RESERVATION

1.6.3.1.1

Function Name: LIST

Function to show passenger list flight wise.


1.6.3.1.1.1 Declaration
void list();
Parameters List
Parameter Type
NA

Parameter Name
NA

Parameter Description
NA

1.6.3.1.1.2 Return values


This function has no any return values.
1.6.3.1.1.3 Algorithm / Pseudo code
Step 1: start
Step 2: show list of all customer
Step 3: end
1.6.4

Flow Chart
START

16
Software Design Document

AA

AIR TICKET RESERVATION

Enter flight number

Show list of all passengers

STOP
1.6.4.1.1

Function Name: CANCEL

Function to cancel a ticket.


1.6.4.1.1.1 Declaration
void cancel();
Parameters List
Parameter Type
NA

Parameter Name
NA

Parameter Description
NA

1.6.4.1.1.2 Return values


This function has no any return values.
1.6.4.1.1.3 Algorithm / Pseudo code
Step 1: start
Step 2: Enter required details
Step 3: detailed match
Step 4: Ticket cancelled
Step 4: update database
17
Software Design Document

AA

AIR TICKET RESERVATION

Step5: end

1.6.5

Flow Chart

START

IF DETAILS MATCH
NO

PASSENGER DOESNT
EXIST

YES
TICKET CANCELLED

UPDATE DATABASE

STOP
18
Software Design Document

AA

AIR TICKET RESERVATION

1.6.5.1.1

Function Name: MOD

Function to get modify ticket details entered during reservation.


1.6.5.1.1.1 Declaration
void mod()
Parameters List
Parameter Type
NA

Parameter Name
NA

Parameter Description
NA

1.6.5.1.1.2 Return values


This function has no any return values.
1.6.5.1.1.3 Algorithm / Pseudo code
Step 1: start
Step 2: enter details of passenger
19
Software Design Document

AA

AIR TICKET RESERVATION

Step 3: detailed match


Step 4: enter new details
Step 5: update data base
Step 6: end

1.6.6

Flow Chart

START

ENTER DETAILS OF
PASSENGER

IF DETAILS MATCH
NO

PASSENGER DOESNT
EXIST

YES
20
Software Design Document

AA

AIR TICKET RESERVATION

ENTER NEW DETAILS

UPDATE DATABASE

STOP

Definitions and Acronyms


Abbreviation

SDD
SRS
S/W

Description

Software design document.


Software requirement specification
Software

21
Software Design Document

AA

AIR TICKET RESERVATION

7.0 References
[1]
[2]
[3]
[4]
[5]

McGraw-Hill Series in Computer Science (FIFTH EDITION)


SOFTWARE ENGINEERING by Roger S. Pressman
www.cppforschool.com/project/air-ticket-reservation.html
C++ By E. Balagurusamy
www.itprojectz.com/itprojectz_new/c-projects-on-air-ticket reservation-2/

22
Software Design Document

Вам также может понравиться