Você está na página 1de 23

Software Design Document

(SDD)
For
[Project Name]

Version 1.0 08-April-2015

Department of Computer Science Engineering

Jodhpur Institute of Engineering and Technology


Session 2011-12

Air ticket Reservation System

APPROVAL and Compulsory Review LIST


Role
Name
Date
Lab Faculty/ Incharge
MR. BHARAT SINGH
08/04/2015

Version Tracking
Date
08/04/2015

Version
1.0.0

Comments

Author
ANKIT YADAV

Table of Contents
1.0

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

2.0

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

3.0

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

3.1

4.0

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

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

AA
AIR TICKET RESERVATION

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
SDD

AA
AIR TICKET RESERVATION

High Level Functional Description


Following tasks can be performed using this program :1. New Registration
2. Edit personal details
3. Shows passenger infomation
4. Shows passenger list
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.

3
SDD

AA
AIR TICKET RESERVATION

Functional block diagramAdministratorAdministrator will control all the feature of system.

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

New reservation
Passenger info.
Admin
User

Modify record
Display info of a
passenger

Display required
output

Exit
Cancellation
Exit

INPUT

OUTPUT

PROCESS

Flow chart: 4
SDD

AA
AIR TICKET RESERVATION
START

New reservation

Passenger info.

Modify record

Display info of a
passenger

Cancellation of record

Exit

STOP

5
SDD

AA
AIR TICKET RESERVATION

High Level Functional Partitions

1.1 Functional Block Diagram

New reservation
Passenger info.
Admin
User

Modify record
Display info of a
passenger

Display required
output

Exit
Cancellation
Exit

6
SDD

AA
AIR TICKET RESERVATION
1.2 Flow Chart

START

Enter choice:
New Registration
Passenger info.
Modify record
Shows passenger list
Cancellation
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
Cancellation

If
c=6

EXIT

Update database

STOP

7
SDD

AA
AIR TICKET RESERVATION

Data Description
1.3 Data Flow Diagram
0 level DFD :
Reservation

Display

User

Airline
reservation
System

Modify
record

Passenger list

Cancellation

1 level DFD of RSERVATION:

User

Reservation

Reserve in
the file

Accept the
details

Passenger
Database

8
SDD

AA
AIR TICKET RESERVATION

2 level DFD of DISPLAY:

User

Displa
y

Enter search
details

Customer
database

Display
Passenger
details

3 level DFD :

User

Displa
y

Read Passenger
details

Customer
database

Display in
tabular
form
9
SDD

AA
AIR TICKET RESERVATION

4 level DFD of CANCELLATION:

User

Accept the
details

Cancellatio
n

Cancel in
the file

Passenger
Database

1.4 Data Structures


Array
Structures

1.5 Constant Definition


Constants are not used in designing in this software.

10
SDD

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
Function Name: GETDATA
Function to get Passenger Info from User for Addition and Modification
1.6.1.2.1

1.6.1.2.1.1 Declaration

void getdata(int p)
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

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

11
SDD

AA
AIR TICKET RESERVATION
1.6.2

Flow Chart

Star
t

Enter Passengers information

Is Valid
Data ?

No

Yes

Save data into file

Return

12
SDD

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

13
SDD

AA
AIR TICKET RESERVATION

1.6.3

Flow Chart

Start
Star
t
Star

St
Enter passenger
ar number
t
t

Found
No
Yes
Display Details of reservation

Display Error

Stop

1.6.3.1.1

Function Name: LIST


14

SDD

AA
AIR TICKET RESERVATION

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

Enter flight
number

Show list of all passengers

STOP
15
SDD

AA
AIR TICKET RESERVATION
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
Step5: end

1.6.5

Flow Chart

16
SDD

AA
AIR TICKET RESERVATION

START

IF
DETAILS
MATCH

NO

PASSENGER DOESNT
EXIST

YES
TICKET CANCELLED

UPDATE DATABASE

STOP

1.6.5.1.1

Function Name: MOD

17
SDD

AA
AIR TICKET RESERVATION
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
Step 3: detailed match
Step 4: enter new details
Step 5: update data base
Step 6: end

1.6.6

Flow Chart

START
18
SDD

AA
AIR TICKET RESERVATION

ENTER
DETAILS OF
PASSENGER

IF
DETAILS
MATCH

NO

PASSENGER DOESNT
EXIST

YES
ENTER NEW DETAILS

UPDATE DATABASE

STOP

19
SDD

AA
AIR TICKET RESERVATION

Definitions and Acronyms


Abbreviation

SDD
SRS
S/W

Description

Software design document.


Software requirement specification
Software

20
SDD

AA
AIR TICKET RESERVATION

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

www.123projectlab.com/bank-management-system-vb-project/
McGraw-Hill Series in Computer Science (FIFTH EDITION)
SOFTWARE ENGINEERING by Roger S. Pressman
www.cppforschool.com/project/banking-system-project.html
C++ By E. Balagurusamy
www.itprojectz.com/itprojectz_new/c-projects-on-banking-management-system-2/

21
SDD

Você também pode gostar