ONLINE BUS RESERVATION SYSTEM

CITY COLLEGE

1. ABSTRACT

The system entitled as “ONLINE BUS RESERVATION SYSTEM” is an internet based on-line reservation process which enforces the following features. This Web Application provides facility to reserve online bus tickets. It saves time as it allows number of users to Book Tickets at the same time. Administrator has a privilege to add New Buses, new places, generate Reports and keep a track of all the users. User can register, login and book tickets with their specific id, and can also Cancel and Print Tickets.

1

ONLINE BUS RESERVATION SYSTEM 2.

CITY COLLEGE

SYSTEM ANALYSIS

Existing System
The Current System Is Time Consuming. It is irritating for passengers to book tickets spending a lot of time standing in queue.

PROPOSED SYSTEM
The online system is easy to use, self-service system which enables the customer buys tickets and pays the cost through credit card in online. In comparison to the present system the proposed system will be less time consuming and is more efficient

MODULES

Administrator User 1. Administrator Module: This Module is used to maintain user details and manage the records of the users with their reports. 2. User Module: This Module is used to maintain user details and manage the daily transactions such Reservation, Cancellation and Registration for new Users.

2

ONLINE BUS RESERVATION SYSTEM

CITY COLLEGE

CONTEXT DIAGRAM

RESPO NSE Ad min UPDA TION MANA GE
1st LEVEL-DFD

Online Bus Reservati on System

Us er

REQUE ST

3

ONLINE BUS RESERVATION SYSTEM 2nd LEVEL-DFD CITY COLLEGE 4 .

it saves time of going too far away reservation office and also they can view their status. and whether the system can be organized so that it always delivers this information at the right place and on time. Economic feasibility concerns returns from the investments in a project. Scope: The main objective of this project is to provide better work efficiency. The error occurred could be reduced to nil and working conditions can be improved. it is necessary to place actual money values against any purchases or activities needed to implement the project.security. 5 . if any. Acceptance revolves around the current system and its personnel. Benefits: This website reduces the manual work. One is a technical performance aspect and the other is acceptance within the organization. To carry out economic feasibility study. feasibility. Technical performance include issues such as determining whether the system can provide the right information for the organizations personnel. OPERATIONAL FEASIBILITY Operational feasibility covers two aspects. maintaining accuracy. accuracy. For user. Operational feasibility must determine how the proposed system will fit in with the current operations and what.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE SOFTWARE REQUIREMENT SPECIFICATION (SRS) Features The following subsections of the SRS document provide an overview of the entire SRS. reliability. It determines whether it is worthwhile to invest the money in the proposed project or whether something else should be done with it. FEASIBILITY STUDY ECONOMIC FEASIBILITY It determines whether the investment needed to implement the system will be recovered. increasing efficiency and saving time. job restructuring and retraining may be needed to implement the system.

STRUCTURECHART ONLINE BUS RESERVATION HO ME LOG-IN CANCELLAT ION FEEDB ACK REGISTRAT ION USER USER/AGE NT WEB ARCHITECTURE AGENT 6 .ONLINE BUS RESERVATION SYSTEM CITY COLLEGE TECHNICAL FEASIBILITY Since the processing speed is very high it is technically feasible.

Behind Lang : : : Windows XP Microsoft Visual Studio 2008 (ASP. SYSTEM REQUIREMENTS HARDWARE REQUIRMENT: Processor RAM Hard Disk Key Board Mouse : : : : : 32 BIT.NET) Visual C# Back – End Server Scripting Language : : : SQL Server 2005 IIS Server Java Script (Client side Scripting) 7 . Intel Pentium – IV Processor & above 1 GB 80 GB 108 Keys keyboard 2 or 3 button optical mouse SOFTWARE REQUIREMENT Development Platform Front – End Code .ONLINE BUS RESERVATION SYSTEM CITY COLLEGE 3.

A database is a collection of interrelated data stored with minimum redundancy to serve many users quickly and effectively.the key here is to locate the data critical to your business. The database serves as the repository of data. so a welldesigned database can lead to a better program structure and reduce procedural complexity. Data independence.DATABASE DESIGN DATA GATHERING: The first step toward building a productive data mining program is. refine it and prepare it for the data mining process. Database should be modified without interfering with established ways of using the data. The process of data gathering for the project entitled “Online Bus-Ticket Reservation” involves the following objectives of Data Base Design: Controlled redundancy. Adding new data without to rewrite application programs. In a database environment. of course. which controls redundancy and improves system performance. common data are available and used by several users.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE 4. 8 . to gather data! Most businesses already perform these data gathering tasks to some extent -. A unique aspect of database is storing data only once.

Normalization can be explain based on table which are as follows: 1NF (first normal form) 2NF(second normal form) 1NF(FIRST NORMAL FORM) The only values permitted by 1NF are single atomic values.MONTH. 2NF in our project is as follows: C_ID T_NO D_CANCEL B_ID SEAT_NO AMOUNT 9 . which must be re-joined or linked each time a query is issued.YEAR} 2NF (SECOND NORMALFORM) It is based on the concept of full functional dependency. Normalization generally involves splitting existing tables into multiple ones. 1NF shown in our project as follows: U_EMAIL U_NAME U_PNO U_GENDER U_PWD U_DOB CHKD U_DOB-> {DATE.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE NORMALIZATION Database normalization is the process of removing redundant data from the tables to improve storage efficiency. and scalability. data integrity.

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE SCHEMA DIAGRAM 10 .

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE 11 .

The data dictionary contains the following information’s. ADMIN TABLE: FIELD NAME Admin name Password DATA TYPE Varchar(50) Varchar(50) DESCRIPTION Admin login id Admin login password BUS DETAILS: B_id B_name B_seat B_depttime B_avltime B_source B_destination B_bp1…. It means that it contains the actual database descriptions used by the DBMS.bp4 B_fare B_type B_tripdays Chkd Int Varchar(50) Int Time(7) Time(7) Varchar(50) Varchar(50) Varchar(50) Varchar(50) Varchar(10) Varchar(70) Varchar(5) Bus id number Bus name Bus seat number Bus departure time Bus arrival time Source place Destination place Boarding points Amount Type of the bus Trips Checked CANCELLATION: C_id T_no D_cancel B_id Seat_no Amount Int Varchar(50) Datetime Int Varchar(5) Float Cancellation id Ticket number Date of cancellation Bus identity number Seat number Amount to be return 12 . the data dictionaryis active and integrated. It means that the DBMS checks the data dictionary every time the database is accessed. In most DBMSs. It contains data about data (or metadata).ONLINE BUS RESERVATION SYSTEM CITY COLLEGE DATA DICTONARY: The datadictionary (or data repository) or system catalog is an important part of the DBMS.

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE FEEDBACK: Id Name Email_id Mobile Subject Comment Int Varchar(50) Varchar(50) Nvarchar(50) Varchar(50) Varchar(50) User id User name User mail id User mobile number Feedback subject comments PLACE: P_id Name Int Varchar(50) Place id number Place name PAYMENT: Id U_mail Card_type Bank Card_no Cvv Amount Int Varchar(50) Varchar(50) Varchar(50) Varchar(50) Nchar(10) Nvarchar(10) User id User email id Type of card Name of the bank Card expiry date CVV number of the card Amount RESERVATION: T_no U_mail Jdate Jtime B_id Bpoint Bookingdate Noofpassenger Passenger1…4 Gender Seat_no Amount Varchar(50) Varchar(50) Date Time(7) Int Varchar(50) Date Varchar(50) Ticket number User email id Journey date Journey time Bus identity number Boarding point Date of booking Number of passenger to travel Varchar(50) Varchar(6) Varchar(5) Int Passenger up to 4 Gender Seat number Amount 13 .

Relationships imply how entities relate to each other. the records can be associated with each other in queries or view definitions. The parent entity has a key value (primary key) that uniquely identifies a record in one table with any other tables or entities that are considered children. so that you can join the two entities during the query process.ONLINE BUS RESERVATION SYSTEM Mobile Nvarchar(50) CITY COLLEGE Phone number of the passenger Email Address Id_type Id_no Id_name Chkd Varchar(50) Varchar(50) Varchar(50) Int Varchar(50) Varchar(6) Email address Address of the passengers Passenger id card type Id card number Id card name Checked USER TABLE: U_mail U_name U_pno U_gernder U_pwd U_dob Chkd Varchar(50) Varchar(50) Nvarchar(50) Varchar(50) Varchar(50) Varchar(50) Varcahr(6) User email id User name User phone number Gender User password User date of birth Checked RELATIONSHIP A relationship in database design is similar to a relationship that parent and a child has within a family. With the help of relationships. 14 . This is a column that holds the value of the parent entity. The child table or entity has what is called foreign key.

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE 15 .

T_NO NOOFPASSNGERS JDATE BOOKINGDATE JTIME BPOINT B_ID 16 .ID CARD DETAILS AMOUNT U_MAIL PASSENGER.AGE.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE ER-DIAGRAM U_GENDER U_PNO U_PWD U_DOB USER U_EMAIL C_ID T_NO D_CANCEL B_ID SEAT_NO U_NAME AMOUNT BOOKING CANCELLATIO N RESERVATION MOBILE.G ENDER.SEATNO.

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE TESTING: Test Plan Test Planning will be done at the onset of project in project planning phase. Test plan will outline the types of test to be performed. Functional Testing The objective of this test is to ensure that each element of the application meets the functional requirements of the business as outlined in the: Requirements Catalogue Business Design Specification Functional Requirement Specification Document GUI standards. For unit testing. a field of computer science. the developers themselves are made responsible for the quality of the module we are developing. In other words. Unit Testing This test shall prove that each and every Modules comply with each other correctly and that there are no gaps in the data flow. an elegant mathematical proof concludes that it is impossible to solve the halting problem. and overall consistency with the rest of the application will be tested according to the agreed Client interface. that actual value with expected one. the question of whether an arbitrary computer program will enter an infinite loop. valid. which aim to test the individual processes and data flows. And each module is able to fetch the proper data from the database as per as the requirements. or halt and produce output. tools and responsibilities for test related activities. screen & field look and appearance. testing is criticism or comparison. invalid and limit data input. With that in mind. testing can never establish the correctness of arbitrary computer software to its fullest. security and quality of developed computer software. Integration Testing 17 . resources. The next step includes specific Functional testing – these are low-level tests. completeness. Testing is the process used to help identify the correctness. In computability theory.

the development was highly iterative and after iterations. Performance Testing Looking at the criticality of the application and constraints imposed by the technology it is very difficult to test the entire system. So it need to test each and every module iteratively and Integrate each module to another to avoid the conflict. regression test was to be performed for uncovering new errors occurring after new patches. As we have gone for the prototyping strategy. Risk Involved during Integration Test During Integration Test the main risk is that if the integration between one or more module is not possible then there is possibility of displaying wrong information as well as the web application will go to the debug mode. Performance testing can be done by using following strategies: Testing Strategies followed during the Testing Functional Specifications Requirements Document is thoroughly reviewed for completeness and correctness with respect to Requirements coverage. Final Integration Test shall prove that system works as integrated unit when all the fixes are complete.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE This test shall prove that all the Modules complies with each other correctly and that there are no gaps in the data flow. Review the design of system components and their integration to give business solution. Regression Testing The main objective of regression testing is to uncover error if any that occurred after applying new changes to the current system. Testing for the existence and use of standards in naming various objects of the application. 18 . The following activities are involved: Study of Design specification and Review for Requirement coverage. This help to identify each and every requirement of the Client according to the Functionality aspects of the system.

Test Items List Design Specification The Study of design documents for completeness and Correctness of program specifications with respect to requirement Coverage. Use of standard naming conventions. This help to identify each and every requirement of the Client according to the Design aspects of the system. Check for Edit style of the in respect to the proper font and visual. Check the Client Interface level in terms of the Data base level whether the data Coming is place in the proper position and all the content is displayed. Conducting string testing.ONLINE BUS RESERVATION SYSTEM Existence and correct implementation of constraints to enforce business rules. Client Interface Check visual aspects of the Each and Every Page. 19 . Check for the data-type mismatch and truncation. Check each and every field is place in the proper position. CITY COLLEGE Preparation of checklists and test case specifications for units subject to testing. Code Review Complete and proper implementation of design. Creation and maintenance of test environment that is not a part of system. Use of the Object Oriented features during the coding. Setting up guidelines for testing each application unit. Check for appropriate format mask. Variable and parameter declarations. Identification of units of application for testing. Check the field width at Client interface level with that at the data base level.

Comments and indentation. 20 . Check for the Client friendliness in the system. Checking for code optimization. Data flow among the units involved and the performance are tested.ONLINE BUS RESERVATION SYSTEM Initialization & resetting of variables. Check for the correct navigation order. Ensure the modules within the system function as per the Client requirements at high performance standards. Integration & System Testing CITY COLLEGE The units within a module are tested to ensure that they work in tandem.

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE SCREEN SHOT HOME PAGE LOGIN PAGE 21 .

ONLINE BUS RESERVATION SYSTEM CITY COLLEGE ACCOUNT SEAT 22 .

ONLINE BUS RESERVATION SYSTEM BOOKING CITY COLLEGE PAYMENT 23 .

ONLINE BUS RESERVATION SYSTEM PRINT CITY COLLEGE CANCELATION 24 .

ONLINE BUS RESERVATION SYSTEM ADD BUS CITY COLLEGE ADD PLACE 25 .

The script or code is then processed and the appropriate content is generated for transmission back to the browser/client. Each part of an application can be referenced and accessed using a standard procedure ASP. Developing of all the other resources that might be required for a particular ASP.NET is the part that provides the features necessary to easily tie all this capability together for coherent web-based applications. although this not the most efficient method to use. NET ASP. database programs and HTML editors. the server routes those files to ASP. component usage and the ordinary programmatic functionality available with scripting languages. 26 . a new computing platform from Microsoft optimized for creating applications that are highly distributed across the Internet. but it brings added functionality that makes the communication process much richer. ASP. as well as the data.NET Framework. may reside anywhere on the Internet rather than all being contained inside one software program somewhere. If any files have the appropriate extension or contain code. Because processing takes place before the results are delivered to the user. may involve range of specialized tools including image-editing programs. especially for the user interface.NETis a part of the . Highly distributed means of the components of the application.NET still use HTTP to communicate to the browser and back.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE APPENDIX ASP. all manner of functionality can be built-in such as database access.NET applications can be coded using a plain text edited such as notepad. ASP. It is a programming framework.NET for processing prior to sending them out to the client. and one of the primary differences between it and traditional ASP is that it uses a Common Language Runtime (CLR) capable of running compiled code on a web server to deploy powerful wed-based applications.NET Application.

web service files. FEATURES OF ASP. ASP. such as scripts written in a previous of ASP.NET is compiled and not interpreted.NET in .NET applications can be coded using a plain text edited such as notepad. ASP.ASP.NET are based on the . 27 . The advance features of ASP.NET Framework.side scripts that are interpreted.NET. especially for the user interface. is built on Microsoft .NET IDE (Visual Studio . ASP.NET are based on the .NET application include WEB Forms. Therefore changing the HTML deign does not affect the program that retrieve data from the databases. Similarly. server-side scripting ensures that changing data sources does not require a change in HTML documents.NET Framework to help developers create globally distributed software with Internet functionality and interoperability. which is the .NET applications faster to execute than other server. ASP.NET Framework.NET also enables you to separate HTML design from the data retrieval mechanism.NET Framework. Developing all the other resources that might be required for a particular ASP. The advance features of ASP.NET Application.NET Framework ASP.NET also enables you to separate HTML design from the data retrieval mechanism.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE ASP. Microsoft introduced the . although this not the most efficient method to use. Web forms enable of functionality can be built-in such as database access.NET Compiled Code . database programs and HTML editors. This makes ASP. Enriched Tool Support-The ASP. ASP. may involve range of specialized tools including image-editing programs. server-side scripting ensures that changing data sources does not require a change in HTML documents.NET integrated development environment).NET has a number of advance features that help you develop robust web applications.NET has a number of advance features that help you develop robust web applications. Similarly. component usage and the ordinary programmatic functionality available with scripting languages. Therefore changing the HTML deign does not affect the program that retrieve data from the databases.NET version of ASP.Code written in ASP. configuration files and XML.NET Framework is provided with a rich toolbox and designer in VS.

In addition. Manageability.ASP. Security.NET ARCHITECTURE ASP.NET Framework. Power and Flexibility.NET applications are based on Common Language Runtime (CLR). It has features that help improve performance in a multiprocessor environment.ASP. At the bottom of the Architecture is Common Language Runtime. such as automatic reference counting and garbage collection. Simplicity .ASP. Scalability.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE Some of the features of this powerful tool are the WYSIWTG (What You See Is What You Get) editor.NET is based on the fundamental architecture of .NET provides a number of options for implementing security and restricting user access to a web application. Visual studio provides a uniform way to combine the various features of this Architecture. CLR simplifies application development by using managed code services.NET IDE.ASP. NET Framework common language runtime resides on top of the operating system services. drag-and-drop server controls and automatic deployment. This code is 28 .ASP. All these options are configured within the configuration file.NET enables you to build user interfaces that separate application logic from presentation content. You can open the XML file in the visual Studio .NET has been designed with scalability in mind. ASP. The common language runtime loads and executes code that targets the runtime. Architecture is explained form bottom to top in the following discussion.NET enables you to manage Web application by storing the configuration information in an XML file.

0. One of the obvious themes of . the product shipped with improved features for developing secured and scalable applications along with high quality documentation and code samples 29 . in parallel. the Web application model. are designed in such a way that code written in one language can not only seamlessly be used by another language." Actually.NET Frameworks in general. object-oriented language that enables programmers to quickly build a wide range of applications for the new Microsoft . NET Framework provides a rich set of class libraries. The 4th layer of the framework consists of the Windows application model and. certain rules must be laid and all the languages must follow these rules. In other words we cannot have languages running around creating their own extensions and their own fancy new data types.NET can be programmed in any of the .NET is Microsoft’s ActiveX Data Object (ADO) model for the . however. which provides tools and services that fully exploit both computing and communications. With each release. "C# is a modern. The runtime gives you. ADO. In order to achieve this.NET Framework. C# The C# [4] programming language (pronounced "C-Sharp") is one of the most powerful object-oriented programming languages developed by Microsoft. According to them. the ability for crosslanguage integration.NET is unification and interoperability between various programming languages. C# was originally codenamed "Cool" before being released as a beta in 2000. The Web application model-in the slide presented as ASP.NET is not simply the migration of the popular ADO model to the managed environment but a completely new paradigm for data access and manipulation. ADO.NET compatibility) must follow. Hence ASP. Microsoft then released different versions of the language including the latest release of C# 2. The CLR and the .NET.NET-includes Web Forms and Web Services. These include base classes. CLS is the collection of the rules and constraints that every language (that seeks to achieve . like networking and input/output classes.NET. .NET platform.NET comes with built-in Web Forms controls.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE therefore called managed code. ASP. Managed C++ or JScript. for example.NET compatible language whether it is VB. which are responsible for generating the user interface. C#.

C# has been based according to the current trend and is very powerful and simple for building interoperable. In C# there is no usage of "::” or "->" operators. relational database management solution. Since it’s on .ONLINE BUS RESERVATION SYSTEM CITY COLLEGE Some of the notable features of the C# programming language are namespaces. scalable. interfaces. industrial strength. versioning. indexers. C# supports Data Encapsulation.NET. robust applications. Unsafe operations such as direct memory manipulation are not allowed. In C# we cannot perform unsafe casts like convert double to a Boolean. jagged arrays. C# includes native support for the COM and windows based applications. typesafe variables. it inherits the features of automatic memory management and garbage collection. as well as XML support. 30 . operator overloading. Integration with COM components developed using Visual Studio 6. XML based documentation with special comment tags. It contains all the features expected of high-end DBMS systems. attributes and overriding. C# includes built in support to turn any component into a web service that can be invoked over the Internet from any application running on any platform. inheritance. C# also comes with features like "pass by reference" and "pass by value" for parameters.0. FEATURES OF C# Pointers are missing in C#. polymorphism. delegates. SQL Server SQL Server is an enterprise-scale. multi-dimensional arrays.

consider that: Permission to create a database defaults to members of the sysadmin and dbcreator fixed server roles. use the MAXSIZE parameter of the CREATE DATABASE statement or the Restrictfile growth (MB) option when using the Properties dialog box in SQL Server Enterprise Manager to create the database. Three types of files are used to store a database: Primary files These files contain the startup information for the database. The name of the database must follow the rules for identifiers. A maximum of 32. It is recommended that you specify a maximum size to which the file is permitted to grow. There must be at least one transaction log file for each database. Before creating a database. Secondary files These files hold all the data that does not fit in the primary data file. its size. until disk space is exhausted. This prevents the file from growing. and the files and file groups used to store it. Transaction log These files hold the log information used to recover the database. To specify a maximum size for the file. Some databases may be large enough to need multiple secondary data files. as data is added. Every database has one primary file. Databases do not need secondary data files if the primary file is large enough to hold all the data in the database. or they may use secondary files on separate disk drives to spread the data across multiple disks. The user who creates the database becomes the owner of the database.767 databases can be created on a server. The minimum size for a log file is 512 kilobytes (KB). although there may be more than one. although permissions can be granted to other users.ONLINE BUS RESERVATION SYSTEM INTRODUCTION TO SQL SERVER: CITY COLLEGE To create a database determines the name of the database. 31 . The primary files are also used to store data. its owner (the user who creates the database).

In the latter case. The complexity and detail of a database design is dictated by the complexity and size of the database application as well as the user population. regardless of its size and complexity. to handle all the banking transactions for hundreds of thousands of clients. 32 . In planning the database. Identify the objects.ONLINE BUS RESERVATION SYSTEM CITY COLLEGE CREATING DATABASE PLAN: The first step in creating a database is creating a plan that serves both as a guide to be used when implementing the database and as a functional specification for the database after it has been implemented. the design may be a formal document with hundreds of pages that contain every possible detail about the database. In the first case. use these basic steps: Gather information. Model the objects. the database design may be little more than a few notes on some scratch paper. can vary greatly. as well as the process of planning it. Identify the types of information for each object. Identify the relationships between objects. or it can be large and complex and designed. A database can be relatively simple and designed for use by a single person. The nature and complexity of a database application. for example.

Net Professional Secret SQL Server 2005 complete reference 33 .ONLINE BUS RESERVATION SYSTEM CITY COLLEGE BIBLIOGRAPHY Books referred for gathering the data: Sam Series Unleashed ASP.Net ASP.

Sign up to vote on this title
UsefulNot useful