PRS Project

Embed Size (px)

DESCRIPTION

prs project

Citation preview

SUMMER TRAINING REPORT

ON

Passenger Reservation System(PRS)SUBMITTED IN PARTIAL FULFILLMENT FOR AWARD OF DEGREE OF

BACHELOR OF TECHNOLOGY

IN

INFORMATION TECHNOLOGY

Submitted by:Under the supervision of :-DHANANJAY KUMARRoll No.:---- 08-IT-14

ARAVALI COLLEGEOF ENGINEERING & TECHNOLOGYFaridabad

JULY 2011

Acknowledgement

It gives me great pleasure & satisfaction to present Summer Training report entitled-----------------------------------------------------------------------------------------------------------------------------.The completion of any task is not only the reward to the person actively involved in accomplishing it, but also the person involved in inspiring and guiding. I am highly indebted to my supervisor ---------------------------------------for his/her invaluable support and guidance throughout the work.I extend my heartful thanks to Dr. A K Pathak, Director ARAVALI COLLEGE OF ENGINEERING AND MANAGEMENT, Faridabad for providing me this opportunity to carry out the Summer Training .I am also thankful to HOD of for his/her support without which the work would have never been realized. Last but not the least, I would like to thank my faculty member _________ (Name of the Faculty) who guided me in the completion of work.

(Signature of the Student)

DECLARATION

I hereby certify that the Summer Training entitled ________________________________________________________________________ (write Summer Training namehere) by _________________________________________________________ (students name to be written here), College Roll No. ________________________ in partial fulfillment of the requirement for the award of degree of B.Tech. ___________________(Branch Name) submitted in the Department of _______________(Branch Name) at ARAVALI COLLEGE OF ENGINEERING & MANAGEMENT, FARIDABADaffiliated to MaharshiDayanand UniversityRohtak is an authentic record of my own work carried out under the supervision of _______________________ (write guides name here),_______________________________(writedesignation here). The matter presented here has not been submitted by me in any otherUniversity / Institute for the award of any other degree.

(Signature of the Student)Student Name :College Roll No.:

TopicPage No.

1. Acknowledgement 2

2. Declaration 3

3. Abstract 5

4. Objective 6

5. Organization Profile 7

6. Project description9-12

7. Proposed System13-14

Overview

Advantages Of Proposed System

Module Description

8. Context Data Flow Diagram 15

Top Level View

9. Data Flow Diagram 16-17

10. E-R Diagrams Symbols 18-19

Entity Relationship Diagram

11. Screen Designing20-32

12. System Testing And Implementation 33

13. Maintenance 34

14. Conclusion 34

15. Scope35

16. Source Codes36-60

Compurerization of the Passenger Reservation system is aimed to provide the smooth functioning Enviroment.The project Titled Passenger reservation system is designed to take down all types of report related to the reservation system,reports are of daily wise,monthly,periodical etc.This Software Will Help Center For Railway Information System(CRIS)To Get the Defined Standard and Reduce the working Load of Employees. It Will Provide Better Communication Channel Among All The Departments As Well As Security.

The project titled Passenger Reservation System is a desktop project. It will help CRIS to achieve the defined standard. It will automate all the works. With this interconnection of five PRS centres, Centre for Railway Information Systems (CRIS), New Delhi, achieved the distinction of establishing the largest PRS network in the world.The main objective of this project is to provide the flexible tools to maintain and manage the daily updation and increases the quality of the PRS and reduces the extra work load.The project has been designed in such a way to help in the process of the report management system. Before the invention of computer, everything regarding the enquiry,report taking and observing the situation of reservation system and mant more were maintained in paper files and was hard to keep them safe for longer period.But now since computers have come in the horizon and dominate most part of our life, it has become easier for us to store large number of information, in the case of stock detail and other detail of any kind related to permanent reservation system.Benefits of PRS to the Railways Increased efficiency Optimal utilisation of berths Real time availability of Accounting Reports Planning through MIS reports Better environment for employees Analysis of traffic pattern for better overall planning Reduction in Revenue losses Saving on Manpower Eliminate possibilities of fraud

CRIS Set up by Ministry of Railways as an in-house IT wing of the Indian Railways. Using synergy of IT professionals and Domain experts Key people from Railways are inducted in CRIS Guidance in the Domain Knowledge Policy issues are formulated and put up to the Rly. Board for approvals Team of IT professionals working on large projects of national/ international recognition.PRS Started as a pilot project in PRS New Delhi (1985) Five major standalone regional PRS computing centres at Delhi, Bombay, Calcutta, Madras, Secunderabad came up to cater to the entire reservation activities of the the respective regions. (1988). For reservation across the regions (especially for return and onward bookings ), remote terminals were provided in major cities.Functional autonomy to be retained for each PRS Centre.

System Study

System Analysis is The Process of Gathering and Interpreting Facts. Diagnosing Problems and Using the Information to Recommend Improvements on the System. System Analysis is a Problem Solving Activity That Requires IntensiveCommunication between the System Users and System Developers.System Analysis is An Important Phase of Any Development Process. The System is Studied and Analyzed in Detail. The System Analyst Plays a Role of An Interrogator And Dwells Deep into The Working of The Present System. The System is viewed as a Whole and the Inputs to the System Are Identified. The Output from the Organizations is traced through the Various Processing That Inputs Phase through the Organization.The Objective of System Analysis is to develop the Computer Software to Satisfy the Defined Requirements.1. System Analysis: The Methodology Used in System Analysis is That of System Design Life Cycle (SDLC), The Waterfall Model. They Are As Follows:-

Preliminary InvestigationThis is An Activity to Make a Request to Receive Assistance from Information Systems. This Activity Has Two Parts: Request Clarification Request Approval

Many Requests From Employees And Users in Organization Are Not Clearly Stated. Therefore, Before Any System Investigation Can Be Considered, The Project Request Must Be Examined To Determine Precisely What The Originator Wants.The Project Requirement Specifications is a Document Describing the Customer Requirements. Many a Times The Customer or Employees of the Organization Are Not Able To State the Request Clearly. As Such An Analysis Was Done On The Existing System Through Discussions, Interviews, Observations And Questionnaires.

Request ApprovalNot All The Requested Projects Are Desirable or Feasible. So As We Have Done All the Feasibility Study in The Second Stage of the Preliminary Investigation, We Came to know That Our Project is Completely Feasible on All the Aspects. After a Project Request are Approved, Its Cost, Priority and Completion Time Are Estimated.

DiscussionsWe Had a Series Of Discussions With The People Who Take Care Of The Sales Department To Know The Working of The Organization. We Also Gathered Information About What They Expect From The System Proposed By Us.

InterviewsAsking Questions To The People in The Organization Who Are The Users of The Current System Help Us To Know The Existing System And The Problem They Are Facing While Using The System. We Had a Series of Interviews With The Senior Manager And Executive Who Deals With The System.

ObservationsThrough Observations We Can Obtain First Hand Information About How Activities Are Carried Out. We Observed The Activities of The Sales Which Helped Us To Know How Processes Are Actually Carried Out And Whether The Specified Steps Are Actually Followed.In My Project for Request Clarification We Met With Our Company Guide and Discussed His Requirements and Process.

Feasibility StudyThe Feasibility Study is used to determine if the Project Should Get the Go-Head, or is Feasible from the Start. If The Project is To Proceed, the Feasibility Study Will Produce a Project Plan and Budget Estimates for the Future Stages of Development. There Are Three Aspects in Feasibility Study and They Are as Follows:

Technical FeasibilityAccording To the System Study of The Company it is found that it fulfills the Hardware and Software Requirements and the System is Technically Feasible for the Development of The Software.

Economical FeasibilityThe Main Objective of Making the Software for Outlook is To Provide Them with an Atmosphere to Work Easily rather Than the Present Working System. Since The System is Getting Automated, the Cost of Entering Data by many Data Entry Operators Can Be reduced in a Considerable Manner. The Software Used in The System is Readily Available and the over All System is economically feasible.

Operational FeasibilitySince The Software is UserFriendly, Robust, Secure and flexible, the System can is used after its Development and Implementation. Security is provided for the Administrative Log-In.

Softwere and hardwere Requirement Hardware - Itanium Operating System - Open VMS 7.0 and above Middleware - RTR from Digital Programming Language - Mostly in VAX C& C++ Database sytems - CRIS proprietry using flat files Communications - Cisco routers driving 64 kbps lines Network Protocol - DecNet Network topology - Fully connected Network

.

Advantages of Proposed SystemThe proposed system will provide the smooth and fast functioning for all processes like Increased efficiency Optimal utilisation of berths Real time availability of Accounting Reports Planning through MIS reports Better environment for employees Analysis of traffic pattern for better overall planning Reduction in Revenue losses Saving on Manpower Eliminate possibilities of fraudFollowing Are The Advantages Of The Proposed System: User Friendly To Reduce The Work Load Easy Querying And Editing Tools To Make Decision Making Easy To Increase The Quality Of The Organization To Achieve The Defined Standard Flexibility Cost EffectiveThe PRS Modules Are

Daily Report Periodic Report Monthly Report Yearly Report Regional Report Help Exit

With The Following Function Are:-

Automatic Daily,Weekly,Monthly and many more Report Generation More User Friendly Easy Updating and Querying Tools

Module Description Daily Report:- Here the reports of the locations are taken on Daily basis. Priodical Report: Here the reports of different types are taken according to the provided dates and month. Monthly Report:- Here the Reports are taken of different types according to the requirements by providing the month,i.e the reports are taken monthly wise. Regional Report:-

Help-: Here you will get the help about the module of the program, and you will get to know about the working of the menu.

Report MenuMenuMain MenuLocationReportInput Location

Daily

Monthly

PRS REPORTSMain PreocessHelpRegionalYearly

1.0Location Input

Input/EquiryLocationLl

2.0Report Input

ReportMain Menu

Report3.0Report Type Input

Report Menu

4.0Report Process Report

Report View/View

ProcessLocation

Report Type

CONCERT Interconnect Bus

DBDBDBDBDelhiServersMumbaiServersChennaiServersSecBadServersCalcuttaServers

ER-Diagram Symbols

ER-Diagrams

TakesPeriodicallMonthlyDaily Report MenuLocaton

Regional

StatementYearly

Gives

summeryDaily

SummeryIRCTC Cash

Gross

CashMonthly

Gross

GrossStatement

Daily Summery

Class wiseFair DistributionPeriodical

StatementsRegionalEarning

SummeryRefunds

PRINT /VIEWProducesCash

Unit TestingUnit Testing is a Testing in Which We Test Each Path and Variables. Unit Testing is basically done by the Programmer. In This Software Also, It is done by the Programmer. In Unit Testing There is No Problem Found. Every Line Of Code Including Loops Also Has Been Tested Successfully.Interface TestingInterface Testing is a Testing Methodology in Which We Test Each Screen Whether They Are Linked properly or not.In Interface Testing We Also Test Whether Screens Are Appearing in Proper Manner or Not. For This Software I Have Done the Interface Testing and Found No Error in Screen Linking and Appearance.Module TestingIn Module Testing We Test All The Global Variable And Module Dependency. In Module Testing We Test Whether Shared Module Are Working Well With Other Module Or Not. According To The Test Script Or Module Dependency This Software Has Been Tested Successfully.Integration TestingIn Integration Testing We Integrate All the Module and Try to Test Whether it is working As System whole or not. In Integration Testing We Dont Found Any Error. This Software Has Been Tested By The Help Of My Two Friends. They Could Not Found Any Fault.System ImplementationDuring The Installation And Acceptance Stage, All Test Cases Are Run To Verify The Correctness And Completeness Of The Software. Successful Execution of the Test Suite is a Prerequisite to Acceptance of the Software by the Customer. After Customer Personnel Have Verified That the Initial Production Data Load is Correct and the Test Suite Has Been Executed with Satisfactory Results.

MAINTENANCE

Inevitably the System will Need Maintenance. Software will Definitely Undergo Change Once it is delivered to the Customer. There Are Many Reasons For The Change. Change Could Happen Because Of Some Unexpected Input Values Into The System. In Addition, The Changes in The System Could Directly Affect The Software Operations. The Software Should Be Developed To Accommodate Changes That Could Happen During the Post Implementation Period.

CONCLUSIONHence we can conlude here that this system has been digined by CRIS in order to look at the working of the PRS and by the help of this CRIS can easily detect any type error or bug in the system.This system would also provide a platform to look after any type of curreption in the railway reservation system,And no fake or cheat work can be made.

SCOPEWe have tried our level best, and to an extent successful in designing and developing the software, which can fulfill the user needs and is also capable of producing accurate results and reports. However, as it is a human tendency to make errors and taking into an account our limited knowledge and skills so also lack of experience, I do admit that there may be some drawbacks and limitations of the proposed software. In future, further enhancement of the software modules can be done at any point of time. This is a first version of the software. Through this software they will be able to browse the information regarding their requirements etc.

Web Site Visited:

www.cplusplus.comwww.kat.ph/let-us-c++-pdf/www.faadooengineers.comwww.books.google.com/books/Let_Us_C++.

WORKING SOURCE CODES

//**********************************************************//CENTRE FOR RAILWAY INFORMATION SYSTEM

//**********************************************************

//**********************************************************//BY DNANANJAY KUMAR// Project For 6th Smester//**********************************************************

#include #include #include #include #include #include #include #include #include #define no_of_codes 2

//**********************************************************// THIS CLASS CONTAINS FUNCTIONS RELATED TO DRAW BOX ETC.//**********************************************************

class shape{public :void line_hor(int, int, int, char) ;void line_ver(int, int, int, char) ;void box(int,int,int,int,char) ;} ;

//**********************************************************// THIS CLASS CONTROL ALL THE FUNCTIONS IN THE MENU//**********************************************************

class control{public :void location_input(void);void main_menu(void) ;char get_key(void);char *get_string(int type,int max_len);void main_screen(void);void help(void) ;void periodical_menu(void);void monthly_menu(void);private :void edit_menu(void) ;void print_view(void) ;} ;

//**********************************************************// THIS CLASS CONTAINS FUNCTIONS RELATED TO INITIAL DEPOSIT//**********************************************************

class initial{public :

void display_list(void) ;

void modify(void) ;int last_accno(void) ;int found_account(int) ;char *return_name(int) ;char *return_address(int) ;float give_balance(int) ;int recordno(int) ;void display(int) ;private :void modify_account(int, char t_name[30], char t_address[60]) ;void box_for_list(void) ;

int accno ;char name[30], address[60] ;float balance ;} ;

//**********************************************************// THIS CLASS CONTAINS FUNCTIONS RELATED TO TRANSACTIONS//**********************************************************

class account{public :void new_account(void) ;void new_monthly(void);

void display_account(void) ;

void clear(int,int) ;private :void add_to_file(int, int, int, int, char, char t_type[10], float, float, float) ;void delete_account(int) ;int no_of_days(int, int, int, int, int, int) ;float calculate_interest(int, float) ;void display(int) ;void box_for_display(int) ;int accno ;char type[10] ; // Cheque or Cash //int dd, mm, yy ; // Date //char tran ; // Deposit or Withdraw //float interest, amount, balance ;} ;

//**********************************************************// FUNCTION TO DRAW HORIZONTAL LINE//**********************************************************

void shape :: line_hor(int column1, int column2, int row, char c){for ( column1; column1