Está en la página 1de 86

INDUSTRIAL VISIT TOUR PLANNER

CHINMAYA COLLEGE OF ARTS COMMERCE AND SCIENCE


Layam Road, Tripunithura-682301

(Affiliated to Mahatma Gandhi University, Kottayam)

BACHELOR OF COMPUTER APPLICATIONS


MAIN PROJECT
ON
INDUSTRIAL VISIT TOUR PLANNER
Submitted By,
Nisha M R
Reg. No: 160021109675

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

CHINMAYA COLLEGE OF ARTS COMMERCE AND SCIENCE


Layam Road, Tripunithura-682301

(Affiliated to Mahatma Gandhi University, Kottayam)

CERTIFICATE
This is to certify that the Project Report entitled
INDUSTRIAL VISIT TOUR PLANNER
has been submitted by

Nisha M R
Reg No: 160021109675

In partial fulfillment of the requirements for the award of the degree


BACHELOR OF COMPUTER APPLICATIONS
MAHATMA GANDHI UNIVERSITY
during the academic year 2018-2019
Submitted for the university examination held on…………..…

PROJECT GUIDE HEAD OF DEPARTMENT

PRINCIPAL EXTERNAL EXAMINER

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

ACKNOWLEDGMENT

By blessings and permission of almighty God, I was able to complete this work.

Sincere thanks to all the respected people who co-operated with me. I proudly pay my tribute and
thanks to our Principal Mr. M N Radhakrishnan for his overwhelming and moral support
extended towards us.
I express grateful thanks to Mrs. Andal (our respected guide), Mrs. Nisha, Mrs. Manjusha (our
respected HOD), Mrs. Sharmila for providing a healthy environment and for all timely assistance,
advice, constant encouragements and invaluable guidance, offered to us make this project a
success.
Finally, I thank my parents for their boundless support and for making our lives so easy and for
helping to tackle all those difficulties in our life.

NISHA M R

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

DECLARATION

I NISHA M R, hereby declare that the project entitled “INDUSTRIAL VISIT TOUR
PLANNER” submitted to Mahatma Gandhi University , Kottayam in partial fulfillment of the
requirements for the Bachelor’s degree in Computer Application is a record of original work
done by me during the period of study at Chinmaya College of Arts , Commerce and Science ,
Tripunithura under the guidance of Mrs. Andal V , Department of BCA and that this project
work has not formed the basis for the reward of any diploma/associates-ship/fellowship or
similar title to any candidates of any university.

Place: Thripunithura NISHA M R

Date: Reg No: 160021109675

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

SYNOPSIS

The project entitled “INDUSTRIAL VISIT TOUR PLANNER” and is developed and automated for
N’ROUTE, located at Edapally to have a systemized and computerized them in an ordered manner.
Currently the system which is now being used is manual.

Industry Visit Tour Planner is a specific webbased reservation system designed to make it easier for
people or college to book industrial tour packages online. The most important part of the Industry Visit
tour project is its database. The database is full of Buses, Trains, Airplane timings and availability.
Online travel agency is a webbased project where a user may search and apply for a travel service or
package. The system allows the user to check various travel destinations and choose his destination
accordingly. The software system checks for user choice and then queries the database for various
available mediums to travel to that destination. The system then loads all that data and puts those
choices in front of the user. The user can now choose various ways to reach his destination. When the
user chooses the Bus, train or Airplane option, the system also allows the user to book tickets to the
destination for the desire day and timings. Thus, this software system automates the working of a travel
agency and allows users to check and book his college trip online through this website. One more
important functionality available in this project if needed is that the receipt of holiday booking is sent to
the user’s mobile phone on successful booking of his holiday. This feature is optional and can be
provided in the project if needed.

The front end of the project is JAVA and back end is MYSQL. Java is a general-purpose computer-
programming language that is concurrent, class-based, object-oriented,[15] and specifically designed to
ave as few implementation dependencies as possible. It is intended to let application developers "write
once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support
Java without the need for recompilation. MySQL was created by a Swedish company, MySQL AB,
founded by David Axmark, Allan Larsson and Michael "Monty" Widenius. Original development of
MySQL by Widenius and Axmark began in 1994.[27] The first version of MySQL appeared on 23 May
1995.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

Table of Contents page no


1. Introduction 1
2. System Analysis 4
2.1. Problem Analysis 6
2.1.1. Existing System 7
2.1.2. Proposed System 8
2.1.3. Feasibility Study 9
2.1.3.1. Economic Feasibility 10
2.1.3.2. Technical Feasibility 11
2.1.3.3. Behavioral Feasibility 12
2.2. Requirement Specification 12
2.2.1. Software Requirement Specification 14
2.3. Hardware and Software selection and Justification 16
2.4. Use Case Diagram 15
2.5. Data Flow Diagram 16
2.6. ER Diagram 19
3. System Design 20
3.1. Structured Design Methodologies 21
3.2. User Interface Design 21
3.3. Output Design 22
3.4. Database Design 23
3.4.1. Data and Integrity Constraints 28
4. Coding 32
5. Implementation of Security 34
5.1. Data Security 33
5.2. Users and Access Rights 33
6.SystemTesting 34
6.1.UnitTesting 36
6.2.Integration Testing 36
6.3.User Acceptance Testing 37

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

6.4. Test Case Design 37


6.5.TestReport and Debugging 47
7. System Implementation and Maintenance 39
8. Scope of the project 43
9. Future Enhancement 44
10. Conclusion 46
11. Bibliography 48
Appendix A-Coding 50
Appendix B-Forms 70
Appendix C-Reports 110

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


INDUSTRIAL VISIT TOUR PLANNER

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


1
INDUSTRIAL VISIT TOUR PLANNER

1. INTRODUCTION

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


2
INDUSTRIAL VISIT TOUR PLANNER

1.1 PROJECT OVERVIEW

Industry Visit Tour Planner is a specific web-based reservation system designed to make it easier for
colleges to book industrial tour packages online. The most important part of the Industry Visit tour
project is its database. The database is full of Company details, Buses, Trains, Airplane timings and
availability. Online travel agency is a web-based project where a user may search and apply for a travel
service or package. The system allows the user to check various industries, travel destinations and
choose his destination and industry accordingly. The software system checks for user choice and then
queries the database for various available mediums to travel to that destination. The system then loads
all that data and puts those choices in front of the user. The user can now choose various ways to reach
his destination. When the user chooses the Bus, train or Airplane option, the system also allows the user
to book tickets to the destination for the desire day and timings. Thus, this software system automates
the working of a travel agency and allows users to check and book his college trip online through this
website.

 Admin access the modules such as adding company type, college type, package details.
 System allows admin to view all the booking details as well as the user details.
 User need to register in order to login and access the inner modules.
 User may login and view various industries and travel destinations with the package details and
pricing for each person.
 If user wants to take multiple people on tour, then he/she needs to specify the no. of people for
the tour.
 Based on no. of people, the system will automatically calculate the cost which is payable by the
user using online mode.
 Each one’s amenities type is shown in the system with image and respective costing.
 User can view all their previous and current booking details.

This web application is secured from unauthorized acces because only users of the system can access the
system and only by logging in using their username and password. The administrator enters the
username and password to login to the web application. If the details are correct, it will open the next

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


3
INDUSTRIAL VISIT TOUR PLANNER

form. If the details are incorrect it will show error message. The admin can access all the features of the
system developed. Admin play major role in the whole system.

All the details are stored in the database created for the application. So the details can be easily retrieved
using the primary key of the table and manipulations in the data can be also easily done using the
primary key. The application does not allow to enter the invalid data and if the user tries to enter the
invalid data if will be reported by an error message and all the data stored inside the tables are also
normalized thus reducing the chance or cause of redundancy.

The “INDUSTRIAL VISIT TOUR PLANNER” process reduces human errors and increases the
efficiency. The main focus of this project is to reduce human efforts. With all these capabilities this
project is feasible and can satisfy any requests of the customers. The “INDUSTRIAL VISIT TOUR
PLANNER” application covers almost all processes in a hardware Industrial visit planner. The project
is being developed using Java as its Front End and MySQL as its Back End.

MODULE:

 Tour Packages
 Package Booking
 IV Booking
 IV Company and Services
 IV Schedule

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


4
INDUSTRIAL VISIT TOUR PLANNER

2. SYSTEM ANALYSIS

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


5
INDUSTRIAL VISIT TOUR PLANNER

2. SYSTEM ANALYSIS
System Analysis refers to the process of examining a situation with the intention of improving it
through better process and methods. System analysis is therefore, the process of gathering and
interpreting facts, diagnosing problem and using the information to recommend information in system
or in other words, it means a detailed explanation or description. Before computerizing a system under
consideration, it has to be analyzed. We need to study how it functions currently, what are problems
and what are requirements that proposed software should meet.

The main components of making software are:


• System and software requirements analysis
•Design and implementation of software
•Ensuring, verifying and maintaining software integrity

2.1 PROBLEM ANALYSIS


o Problem analysis is the process of understanding real-world problems such as difficulty in
finding the correct tour package for colleges and user's needs and proposing solutions to meet
those needs.
o The goal of problem analysis is to gain a better understanding, before development begins, of the
problem being solved.
o To identify the root cause, or the problem behind the problem, ask the people directly involved.
o Identifying the actors on the system is a key step in problem analysis.

2.1.1 EXISTING SYSTEM

The existing system uses manual method for searching the industries and near by places to visit. College
students mostly go for industrial visits and tripping every year. They need to any industry of a particular
subject like software based or mechanical based etc. It’s difficult for student to find the apt one and
along with find different tour spots for visiting. Current system doesn’t provide the features acces both
the industries or companies as well as the tourist spots for visiting.
There are many disadvantages in existing system:

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


6
INDUSTRIAL VISIT TOUR PLANNER

 Inaccuracies:
Since all the data entry is done manually, inaccuracies can occur. Cause of error is more in
manual system.
 Modification:
The transactions are executed in off-line mode, hence on-line data capture and modification is
not possible.
 Inefficiency:
The existing system only provides text-based interface, which is not as user-friendly as Graphical
user Interface. Inefficiency in the existing system is also caused by the lack of proper
communication between the people of the organization.
 Time and effort:
Large amount of time and efforts may require. For searching a particular data, we have to search
all the paper documents, its corresponding book and find the data.
 All the searching are done manually:
In the existing system, all the work like entering the company details, college details, booking
details etc. is done manually. This is really time consuming.

2.1.2 PROPOSED SYSTEM


The aim of the proposed system is to address the limitations of the current system. The requirements for
the system have been gathered from the defects recorded in the past and also based on the feedback from
users of previous metrics tools.

All the operations and activities related to the “INDUSTRIAL VISIT TOUR PLANNER” can be carried
out efficiently. The project maintains well organized database for storing the resources that they are
provided by the INDUSTRIAL VISIT TOUR PLANNER. This helps us to eliminate the entering of
invalid data. Most problems of manual system can be solved by this system.

The computerization of the system allows the easy maintenance of the details. Large amount of data can
be stored easily. Addition and updating other changes can be done easily. The information can be
retrieved with high speed and accuracy. The use of GUI oriented software makes the system user
friendly. Since all work is computerized, the calculations are effortless and less time consuming. Speed,
accuracy, storage capacity, versatility, automation etc. are the advantages of using a computerized
system.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


7
INDUSTRIAL VISIT TOUR PLANNER

2.1.3 FEASIBILITY STUDY

The “INDUSTRIAL VISIT TOUR PLANNER” is a software package which provides guidance for all
the industrial visits. This project will provide for computerization of all small enterprise whose main
goal is to keep the details of industries, tour packages and its rates etc and wants to change from manual
enquiry process to a single click web application that handles everything.

Feasibility study is test of system proposal according to its workability, impact on organization, ability
to meet the needs, effective use of resources. During the study, the problem definition is crystallized and
aspects of the problem to be included in this system are determined. The result of the feasibility study is
a formal proposal. If the proposal is accepted, we continue with the project.

User needs a data-based system, which will remove all the mentioned problems that, the user is facing.
The user wants a data-based system, which will reduce the bulk of paper work, provide ease of work,
flexibility, fast record finding, modifying, adding, and removing.

We proposed our perception of the system, in accordance with the problems of existing system by
making a full layout of the system on paper. We tallied the problems and needs by existing system and
requirements. We were further updating in the layout in the basis of redefined the problems.

2.1.3.1 ECONOMICAL FEASIBILITY


The proposed system “INDUSTRIAL VISIT TOUR PLANNER” is economically feasible one. We do
not want to keep lot of books for storing the data. By manipulating data using computer reduces cost.
We do not want lot of employees; we simply want one to operate it, Administrator.

Economic analysis is most frequently used method for evaluating the effectiveness of a candidate
system. More commonly known as cost/benefit analysis, the procedure is to determine the benefits and
savings that are expected from a candidate system and compare them with costs.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


8
INDUSTRIAL VISIT TOUR PLANNER

The only possible fixed costs involved with the system would be paying for people to write the code. It
is possible that faculty would be willing to write the code for free, or students would be willing to work
on it as a project. There are no variable costs associated with this system- since it operates on the
servers, the department does not pay anything for each use of the system. The tangible benefits will
mostly be in time savings for the current administrators, as well as a simplified process for activities.
The intangible benefits would be increased system involvement among faculty members and decreased
workload on the current administrators.

2.1.3.2 TECHNICAL FEASIBILITY


The project “INDUSTRIAL VISIT TOUR PLANNER” can be said to be technically feasible because
there are very fer errors or no errors because the whole project will be divided into modules such as
packages, industries, bookings etc and so the errors if found, can be debugged very well and all the bugs
can be removed.

Technical feasibility centres on the existing computer system and to what extend it can support the
proposed system. It involves financial considerations to accommodate technical enhancements. If the
budget is a serious constraint, then the project is judged not feasible. Here we need only a computer
working in low speed to accomplish the task. Since the system uses database to implement, it is
technically practical for all operators. The system can be implemented on the servers that the department
currently has access too. The system requires no special expertise to operate, although some expertise
will be required to code it.

2.1.3.3 BEHAVIORAL FEASIBILITY


The proposed system “INDUSTRIAL VISIT TOUR PLANNER” can be easily accepted as it is very
easy to understand and is very user-friendly. The operations and other features of the proposed system is
designed in such a way that the user can easily find the data, insert the data etc. The organization will
not be disturbed by the use of this system because, the users will be provided with prompts which will
enable them to use this software very easily.
People are inherently resistant to change and computer has been known to facilitate changes. An
estimate should be made of how strong the user is likely to move towards the development of

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


9
INDUSTRIAL VISIT TOUR PLANNER

computerized system. These are various levels of users in order to ensure proper authentication and
authorization and security of sensitive data of the organization. Therefore, it is understandable that the
introduction of a candidate system requires special efforts to educate and train the staff. The software
that is being developed is user friendly and easy to learn. In this way, the developed software is truly
efficient and can work on any circumstances, tradition. Operational study strives on ensuring that the
equilibrium of the organization and status quo in the organization neither are nor disturbed and changes
are readily accepted by the users.

2.2 REQUIREMENT SPECIFICATION


In the required system all the operations and activities related to “INDUSTRIAL VISIT TOUR
PLANNER” should be carried out efficiently. It should maintain a well-organized database for storing
the resources that are provided by the “INDUSTRIAL VISIT TOUR PLANNER”. This helps us to
eliminate the entering of invalid data. Most problems of manual system can be solved by this required
system. The system should cover almost all the functional areas of the “INDUSTRIAL VISIT TOUR
PLANNER”. The “INDUSTRIAL VISIT TOUR PLANNER” should be a database system that can store
the information regarding packages, payments, bookings etc

A requirement definition is a statement, in a natural language plus diagrams, of what services the system
is expected to provide and the constraints under which it must operate.

2.2.1 SOFTWARE REQUIREMENT AND SPECIFICATION


An SRS is basically an organization’s understanding (in writing) of a customer or potential client’s
system requirements and dependencies at a particular point in time (usually) prior to any actual design or
development work. It’s a twoway insurance policy that assures that both the client and the organization
understand the others requirements from that perspective at a given point in time.

Software requirements for the “INDUSTRIAL VISIT TOUR PLANNER” software deals with the
recording details of industries, tour packges, etc. All these details are needed tocomputerized. This
should also minimize the duplication of entries made by the administrator.

A required specification is a structured document, which sets out the system services in detail. This
document, also called a functional specification, which should be precise. It may serve as a contract

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


10
INDUSTRIAL VISIT TOUR PLANNER

between the system buyer and the software developer. The requirement specifications define the basic
specifications of the user for the new system.

The software required for developing the “INDUSTRIAL VISIT PLANNER” are Windows 7 as Os,
JAVA as front end for designing GUI, MySQL for data storage.

The SRS document itself states in precise and explicit language those functions and capabilities a
software system must provide, as well as states any required constraints by which the system must abide.
The SRS also functions as a blueprint for completing a project with as little cost growth as possible. The
SRS is often referred to as “parent” document because all subsequent project management documents,
such as design specifications, statement of works, software architecture specifications, testing and
validation plans, and documentation plans, are related to it.

It’s important to note that an SRS contains functional and non-functional requirements only; it doesn’t
offer design suggestion, possible solutions to technology or business issues, or any other information
other than what the development team understands the customer system requirement to be.

A well designed, well written SRS accomplishes four major goals:

 It provides feedback to the customer. An SRS is the customer’s assurance that the development
organization understands the issues or problems to be solved and the software behavior
necessary to address problems. Therefore, the SRS should be written in natural language in an
unambiguous manner that may also include charts, tables, data flow diagrams, and decision
tables and so on.
 It decomposes the problem into component parts. The simple act of writing down software
requirements in a well-designed format organizes information, places borders around the
problem, solidifies ideas, and helps break down the problem into its component parts in an
orderly fashion.
 It serves as an input to the design specification. As mentioned previously, the SRS serves as the
parent document to subsequent documents, such as the software design specification and
statement of work. Therefore, the SRS must contain sufficient detail in the functional system
requirement so that a design solution can be devised.
 It serves as a product validation check. The SRS also serve as the parent document for testing
and validation strategies that will be applied to the requirements for verification.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


11
INDUSTRIAL VISIT TOUR PLANNER

2.3 HARDWARE AND SOFTWARE SELECTION AND


JUSTIFICATION
HARDWARE SPECIFICATION

The selection of hardware is very important in the existence and proper working of any
software. When selecting hardware, the size and capacity requirements are also important. Below is
some of the hardware that is required by the system

Processor : Single core processor of 2.0 GHz or more


RAM : 512 MB of RAM
Hard Disk Space : 300 MB free hard disk space
Input Devices : Mouse, Keyboard
Output Devices : Monitor, Printer

SOFTWARE SELECTION AND JUSTIFICATION

We require much different software to make the application which is in making to work efficiently. It is
very important to select the appropriate software so that the software works properly.

Below are the software that are required to make the new system.

1. Windows XP or higher versions

2. MySQL

3. JAVA

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


12
INDUSTRIAL VISIT TOUR PLANNER

WINDOWS 7

Windows 7 (codenamed Vienna, formerly Blackcomb) is a personal computer operating


system developed by Microsoft. It is a part of the Windows NT family of operating systems. Windows 7
was released to manufacturing on July 22, 2009, and became generally available on October 22, 2009,
less than three years after the release of its predecessor, Windows Vista. Windows
7's server counterpart, Windows Server 2008 R2, was released at the same time.

Windows 7 was primarily intended to be an incremental upgrade to the operating system intending to
address Windows Vista's poor critical reception while maintaining hardware and software compatibility.
Windows 7 continued improvements on Windows Aero (the user interface introduced in Windows
Vista) with the addition of a redesigned taskbar that allows applications to be "pinned" to it, and new
window management features. Other new features were added to the operating system, including
libraries, the new file sharing system HomeGroup, and support for multitouch input. A new "Action
Center" interface was also added to provide an overview of system security and maintenance
information, and tweaks were made to the User Account Control system to make it less intrusive.
Windows 7 also shipped with updated versions of several stock applications, includingInternet Explorer
8, Windows Media Player, and Windows Media Center.

JAVA
Java is a general-purpose computer-programming language that is concurrent, class-based, object-
oriented,[15] and specifically designed to have as few implementation dependencies as possible. It is
intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java
code can run on all platforms that support Java without the need for recompilation. Java applications are
typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer
architecture. As of 2016, Java is one of the most popular programming languages in use, particularly for
client-server web applications, with a reported 9 million developers.[22] Java was originally developed
by James Gosling at Sun Microsystems (which has since been acquired by Oracle Corporation) and
released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much
of its syntaxfrom C and C++, but it has fewer low-level facilities than either of them.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


13
INDUSTRIAL VISIT TOUR PLANNER

The original and reference implementation Java compilers, virtual machines, and class libraries were
originally released by Sun under proprietary licenses. As of May 2007, in compliance with the
specifications of the Java Community Process, Sun relicensed most of its Java technologies under
the GNU General Public License. Others have also developed alternative implementations of these Sun
technologies, such as the GNU Compiler for Java (bytecode compiler), GNU Classpath (standard
libraries), and IcedTea-Web (browser plugin for applets).

The latest version is Java 9, released on September 21, 2017, and is one of the two versions currently
supported for free by Oracle. Versions earlier than Java 8 are supported by companies on a commercial
basis; e.g. by Oracle back to Java 6 as of October 2017 (while they still "highly recommend that you
uninstall"[citation needed] pre-Java 8 from at least Windows computers).

One design goal of Java is portability, which means that programs written for the Java platform must run
similarly on any combination of hardware and operating system with adequate runtime support. This is
achieved by compiling the Java language code to an intermediate representation called Java bytecode,
instead of directly to architecture-specific machine code. Java bytecode instructions are analogous to
machine code, but they are intended to be executed by a virtual machine (VM) written specifically for
the host hardware. End users commonly use a Java Runtime Environment (JRE) installed on their own
machine for standalone Java applications, or in a web browser for Java applets.

.MY SQL

MySQL was created by a Swedish company, MySQL AB, founded by David Axmark, Allan Larsson
and Michael "Monty" Widenius. Original development of MySQL by Widenius and Axmark began in
1994.[27] The first version of MySQL appeared on 23 May 1995. It was initially created for personal
usage from mSQL based on the low-level language ISAM, which the creators considered too slow and
inflexible. They created a new SQL interface, while keeping the same API as mSQL. By keeping the
API consistent with the mSQL system, many developers were able to use MySQL instead of the
(proprietarily licensed) mSQL antecedent.[citation needed][dubious – discuss]

MySQL can be built and installed manually from source code, but it is more commonly installed from a
binary package unless special customizations are required. On most Linux distributions, the package
management system can download and install MySQL with minimal effort, though further configuration
is often required to adjust security and optimization settings.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


14
INDUSTRIAL VISIT TOUR PLANNER

Though MySQL began as a low-end alternative to more powerful proprietary databases, it has gradually
evolved to support higher-scale needs as well. It is still most commonly used in small to medium scale
single-server deployments, either as a component in a LAMP-based web application or as a standalone
database server. Much of MySQL's appeal originates in its relative simplicity and ease of use, which is
enabled by an ecosystem of open source tools such as phpMyAdmin. In the medium range, MySQL can
be scaled by deploying it on more powerful hardware, such as a multi-processor server with gigabytes of
memory.

There are, however, limits to how far performance can scale on a single server ('scaling up'), so on larger
scales, multi-server MySQL ('scaling out') deployments are required to provide improved performance
and reliability. A typical high-end configuration can include a powerful master database which handles
data write operations and is replicated to multiple slaves that handle all read operations.[82] The master
server continually pushes binlog events to connected slaves so in the event of failure a slave can be
promoted to become the new master, minimizing downtime. Further improvements in performance can
be achieved by caching the results from database queries in memory using memcached, or breaking
down a database into smaller chunks called shards which can be spread across a number of distributed
server clusters.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


15
INDUSTRIAL VISIT TOUR PLANNER

2.4 USE CASE DIAGRAM

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


16
INDUSTRIAL VISIT TOUR PLANNER

2.5 DATA FLOW DIAGRAM


A DFD also known as ‘bubble chart’ has the purpose of clarifying system requirements and identifying
major transformations. It shows the flow of data through a system. It is a graphical tool because it
presents a picture. The DFD may be partitioned into levels that represent increasing information flow
and functional detail. Four simple notations are used to complete a DFD. These notations are given
below:-

DATA FLOW
The data flow is used to describe the movement of information from one part of the system to another
part. Flows represent data in motion. It is a pipe line through which information flows. Data flow is
represented by an arrow.

PROCESS
A circle or bubble represents a process that transforms incoming data to outgoing data. Process shows a
part of the system that transforms inputs to outputs.

EXTERNAL ENTITY
A square defines a source or destination of system data. External entities represent any entity that
supplies or receive information from the system but is not a part of the system.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


17
INDUSTRIAL VISIT TOUR PLANNER

DATA STORE
The data store represents a logical file. A logical file can represent either a data store symbol which can
represent either a data structure or a physical file on disk. The data store is used to collect data at rest or
a temporary repository of data. It is represented by open rectangle.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


18
INDUSTRIAL VISIT TOUR PLANNER

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


19
INDUSTRIAL VISIT TOUR PLANNER

ER DIAGRAM

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


20
INDUSTRIAL VISIT TOUR PLANNER

3. SYSTEM DESIGN

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


21
INDUSTRIAL VISIT TOUR PLANNER

3. SYSTEM DESIGN
System design focuses on the detailed implementation of the feasible system. Its emphasis on translating
design specifications to performance specification. System design has two phases of development
logical and physical design. During logical design phase the analyst describes inputs (sources), out puts
(destinations), databases (data sores) and procedures (data flows) all in a format that meets the uses
requirements. The analyst also specifies the user needs and at a level that virtually determines the
information flow into and out of the system and the data resources. Here the logical design is done
through data flow diagrams and database design. The physical design is followed by physical design or
coding. Physical design produces the working system by defining the design specifications, which tell
the programmers exactly what the candidate system must do. The programmers write the necessary
programs that accept input from the user, perform necessary processing on accepted data through call
and produce the required report on a hard copy or display it on the screen.

3.1 STRUCTURED DESIGN METHODOLOGIES

Design methodology refers to the development of a system or method for a unique situation. Design
methodology stresses the use of brainstorming to encourage innovative ideas and collaborative thinking
to work through each proposed idea and arrive at the best solution. Meeting the needs and requirements
of the end user is the most critical concern. To employ design methodology various analyses and testing
have been done so as to meet the desired user needs. Every input that the user input is being tested in
this software. That means the validity of each data is being checked and if found invalid necessary
warning and prompting messages are displayed. The output forms are also tested in detail to see whether
the desired output is met or not. Also, the output forms are made clearer and more meaningful for the
user to understand.

3.2 USER INTERFACE DESIGN


User interface design is one of the major functions in developing a system. It is a good understanding of
the user needs very clearly. Because the user is the person who has to interact with system being
developed. So that it should seek the needs of the user before developing it. The system is designed in a
very user-friendly manner that makes the user with little knowledge of computer and of the organization
can work very easily with the system.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


22
INDUSTRIAL VISIT TOUR PLANNER

The input forms that are used to enter the data are made clearer and easier to understand. Every time the
user enters data the system is designed to check the validity of the data and if found as invalid
meaningful prompting and warning messages are displayed. This makes the user comfortable to interact
with the system.
Also, when a user login to the system it checks the username and password entered to see whether it is
valid user or not. It ensures security of the system and database. The data storage and data processing
are made more efficient so that accurate results are being displayed on the output forms. And also the
retrieval of specific records as demanded by the user is made very faster that saves the user time.

Main Input Forms are as Follows: -

Login: This form is used to enter the details of login. The details include username and password

Packages: This records the details of packages available for the industrial visit.

Bookings: Student or college books the package for the industrial visit.

3.3 OUTPUT DESIGN

Output design is used to provide outputs to the users of the system. Computer output is the most
important direct source of information to the user. Efficient intelligible output design improves the
system relationships with the user and help in decision making major form of the output is the hardcopy
from the printer and the screen reports. The output devices to consider depend on factors such as
compatibility of the devices with the system, expected print quality and number of copies needed.

Here, in this case, I make use of forms which contains the tables to show the outputs of the processed
data. The output design has been done so that the results of processing should be communicated to the
user. Effective output design will improve the clarity and performance of outputs. Output is the main
reason for developing the system and the basis on which they will evaluate the usefulness of the
application. Output design phase of the system is concerned with the Convergence of information to the
end user in a friendly manner. The output design should be efficient, intelligible so that system
relationship with the end user is improved and thereby enhancing the process of decision making

The major output forms are as follows:

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


23
INDUSTRIAL VISIT TOUR PLANNER

Packages: This displays the packages available.

Bookings: Admin can view the booking done.

3.4 DATABASE DESIGN

A database is a collection of interrelated data stored within minimum redundancy to serve many users
quickly and efficiently. It is a process of designing the database file, which is the key source of the
information in the system. The objective of database is to design is to provide storage and it contributes
to the overall efficiency of the system. The file should properly design and planned for collection,
accumulation, editing and retrieving the required information.

TABLE DESIGN

1. LOGIN
It is used to enter the details of user.
Primary key – userid
Foreign key - Nil

Field Name Data Type Constraints Description


Id Int Primary Key Id
Uid Varchar Not Null Userid
uname Varchar Not Null User name
upass Varchar Not Null User password
utype Varchar ot Null User type

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


24
INDUSTRIAL VISIT TOUR PLANNER

2. COLLEGE REGISTRATION
It is used to enter college details.
Primary key –Regid
Foreign key - Nil
Field Name Data Type Constraints Description
Regid Int Primary Key Register id
Type Varchar Not Null College type
Cname Varchar Not Null College name
Addr Varchar Not Null Address
Affi Varchar Not Null Affiliation
Clgid Varchar Not Null College id
Contact Int Not Null Contact
Email Varchar Not Null Email id
Uname Varchar Not Null User name
Pass Varchar Not Null Password

3. COLLEGE TYPE
It is used to enter the college type.
Primary key – tid
Foreign key - nil

Field Name Data Type Constraints Description


Tid Int Primary Key Type id
Ctype Varchar Not Null College type

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


25
INDUSTRIAL VISIT TOUR PLANNER

4. COMPANY REGISTRATION
It is used to enter the company details.
Primary key – rid
Foreign key - nil

Field Name Data Type Constraints Description


Rid Int Primary Key Registration id
Ctype Varchar Not Null Company type
Cname Varchar Not Null Company name
Addr Varchar Not Null Address
Contact Varchar Not Null Contact
Email Varchar Not Null Email id
Website Varchar Not Null Website

5. COMPANY CATEGORY
It is used to enter the company type.
Primary key – tid
Foreign key - nil

Field Name Data Type Constraints Description


Tid Int Primary Key Type id
Ctype Varchar Not Null Company type

6. COMPANY SERVICES
It is used to enter the company services.
Primary key – nil
Foreign key - nil

Field Name Data Type Constraints Description


Cname Varchar Not Null Company name
Dep Varchar Not Null Department
Sem Varchar Not Null Seminar
Work Varchar Not Null Workshop
Ctour Varchar Not Null Company tour
Tym Int Not Null Time
Pay Int Not Null Payment
Num Int Not Null Number of
students

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


26
INDUSTRIAL VISIT TOUR PLANNER

7. STUDENT REGISTRATION
It is used to enter the student details.
Primary key – sid
Foreign key - nil

Field Name Data Type Constraints Description


Sid Varchar Primary key Student id
Sname Varchar Not Null Student name
Inst Varchar Not Null Institution
Course Varchar Not Null Course
Sem Varchar Not Null Semester
Contact Int Not Null Contact
Mail Varchar Not Null Email id
Bno Int Not Null Booking number

8. BOOKING
It is used to enter the booking details.
Primary key – bno
Foreign key - rid

Field Name Data Type Constraints Description


Bno Int Primary key Booking number
Rid Varchar Not Null Company rid
Cname Varchar Not Null Company name
Ivdate Varchar Not Null Iv date
College Varchar Not Null College name
Nstud Int Not Null Number of
students
Status Varchar Not Null Status of booking

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


27
INDUSTRIAL VISIT TOUR PLANNER

9. TOUR PACKAGE
It is used to enter the booking details.
Primary key – id
Foreign key - nil

Field Name Data Type Constraints Description


Id Int Primary key Package id
Pck Varchar Not Null Package
Amt Int Not Null Amount
Pname Varchar Not Null Package name
Nod Varchar Not Null Number of days

10. TOUR PACKAGE BOOKING


It is used to enter the package booking details.
Primary key – bkid
Foreign key - pid

Field Name Data Type Constraints Description


Bkid Int Primary key Booking id
Pid Int Not Null Package id
Sdate Varchar Not Null Schedule date
Nos Int Not Null Number of
students
Clgid Int Not Null College id
Status Varchar Not Null Status
Adv Varchar Not Null Advance

11. SCHEDULE
It is used to enter the scheduling details.
Primary key – id
Foreign key - bno

Field Name Data Type Constraints Description


Id Int Primary key Schedule id
Bno Int Not Null Booking number
Entime Varchar Not Null Entry time
Extime Varchar Not Null Exit time

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


28
INDUSTRIAL VISIT TOUR PLANNER

3.4.1 DATA & INTEGRITY CONSTRAINTS


The primary objective of a database design are fast response time to inquiries ,more information at low
cost, control of redundancy, clarity and ease of use, accuracy and integrity of the system, fast recovery
and availability of powerful end-user languages. The theme behind a database is to handle information
as an integrated whole thus the main objective is to make information as access easy, quick, inexpensive
and flexible for the users. In this project, we mainly concentrated into relational databases.

Relational database stores data in tables, which is turn, are composed of rows also known as records,
columns also known as fields. The fields in the relational model are:-

Primary Key
The key which is uniquely identify records. They also notify the not null constraints.

Foreign Key
The key which reference the primary key, is the data inserted in the primary key column of the table.

Normalization
After the conceptual level, the next level of process of database design to organize the database structure
into a good shape called Normalization. The normalization simplifies the entries, removing redundancies
from the system data and finally builds a data structure, which is both flexible and adaptable to the
system. The different normal forms obtained during the database design are given below:

In the database design, we create a database with different tables that is used to store the data. We
normalize the data in the table. Database normalization is the process of organizing the fields and
tables in a relational database to minimize redundancy and dependency. Normalization usually involves
dividing large tables into smaller (and less redundant) tables and defining relationships between them.
The objective is to isolate data so that additions, deletions, and modifications of a field can be made in
just one table and then propagated through the rest of the database via the defined relationships.
In the project I have made used of the 3rd normal form, Third Normal Form (3NF) is a property of
database tables. A relation is in third normal form if it is in Second Normal Form and there are no
functional (transitive) dependencies between two (or more) non-primary key attributes. The overall
objective in the development of database technology has been to treat data as an organizational resource
and as an integrated whole. Database Management System allows data to be protected and organized

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


29
INDUSTRIAL VISIT TOUR PLANNER

separately from other resources. Database is an integrated collection of data. This is the difference
between logical and physical data.

In my project, I have made use of tables which are stored in the database named ticket. The tables are
used to store the values that are generated by the application. The main field names and the key
constraints of all the tables are shown above in detail.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


30
INDUSTRIAL VISIT TOUR PLANNER

4. CODING

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


31
INDUSTRIAL VISIT TOUR PLANNER

4.CODING
PROGRAM CODE PREPARATION
W hen c on s i d e r e d as a s t e pi n so f t w ar e en gi n e e ri n g, co d i n g i s vi e w ed as a n at ur a l
consequence of design. However, programming language characteristics and coding style
can profoundly affect software quality and maintainability. The coding step translates a detail
design representation into a programming language realization. The translation process continues
when a compiler accepts source code as input and produces machine-independent object code as output.
The initial translation step in detail design to programming language is a primary concern in the
software engineering context. Improper interpretation of a detail design specification can lead to
erroneous source code. Style is an important attribute of source code and can determine the
intelligibility of a program. The elements of a style include internal documentation, methods for data
declaration, procedures for statement construction, and I/O coding and declaration. In all
cases, simplicity and clarity are key characteristics. An offshoot of coding style is the
execution time and/or memory efficiency that is achieved. Coding is the phase in which we actually
write programs using a programming language. In t h e c odi n g ph as e, de si gn m u s t b e
t r ans l a t ed i n t o a m a chi n e - r e ad ab l e fo rm . If d esi gn i s performed in a detailed manner,
coding can be accomplished mechanistically. It was the only recognized development phase in
early or unsystematic development processes, but it is just one of several phases in a waterfall
process. The output of this phase is an implemented and tested collection of modules.

In my project I have made use of the JAVA to code the whole project and have made use of the MySQL
to act as a database to store the results of the processed data which is the output of the project.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


32
INDUSTRIAL VISIT TOUR PLANNER

5. IMPLEMENTATION OF SECURITY

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


33
INDUSTRIAL VISIT TOUR PLANNER

5. IMPLEMENTATION OF SECURITY
The software quality assurance is comprised of a variety of tasks associated with seven major activities.

 Application of technical methods


 Conduct of formal technical reviews.
 Software testing.
 Enforcement of standards.
 Record keeping and reporting.

The quality begins with a set of technical methods and tools that help the analyst to achieve high quality
specification and the designer to develop high quality design. The next activity involves assessment for
quality for the design that is created which is the formal technical review. Software testing combines a
multi-step strategy with a series of test case design methods that help ensure effective error detection.

5.1 DATA SECURITY


The software maintains a well-organized database for storing the details that are provided by the user.
This helps us to eliminate the entering of invalid data. Data is not accessible to unauthorized users. The
system analyst will provide the test data, specially designed to show that the system will operate
successfully in all its aspects and produce expected results under expected conditions. Preparation of test
data and the checking of results should be carried out in conjunction with the appropriate users and
operational departments. Also, the extent to which the system should be tested must be planned.

5.2 USER AND ACCESS RIGHTS


o Admin: Add Category: Can add company type, college type, etc which is educational,
related.
o Add Place: Admin can add all the industrial related places such as Infosys, L&T, Wipro, etc.
o Add / View Package Details: Admin can view/ add package details.
o View Booking Details: Admin can view all the booking details
o View User Details: Admin can view user details, users like college, company, etc.
o User: Registration / Login, View Places, View Packages: Can view all the packages,
which are added by the admin with their details.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


34
INDUSTRIAL VISIT TOUR PLANNER

6. SYSTEM TESTING

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


35
INDUSTRIAL VISIT TOUR PLANNER

6. SYSTEM TESTING

Testing is a process of executing a program with intent of finding errors. In software development,
errors can be injected at any stage of development. During testing, the program to be tested is executed
with a set of test cases and the output of the program for the test cases is evaluated to determine if the
program is performing as expected.

There are mainly two approaches of testing namely, functional testing and structural testing. Functional
testing is based on the functionality of the program and not the structure of the program. The test cases
are solely on the basis of specification or requirements of the program. This type of testing is also called
as black box testing.

Structural testing is also called as white box testing or glass box testing. Here the internal structure of
the program is tested. Test cases are designed by examining the logic of the program.

“INDUSTRIAL VISIT TOUR PLANNER” focuses on the functionality of the system and hence it
mainly does the functional/black box testing. The test cases of this system are completely based on the
specifications of the system.

The application was tested and found to be working as expected. There was no abnormal behaviour
reported during the testing of the program. Testing is a method by which we try reducing the testing
efforts and bringing out the maximum output. Testing helps us in knowing whether the logical
assumptions that we have taken for the system are correct, and if they are correct, we have obtained our
goal. We test the system to know the errors, to check the validity of the information, to also group the
modules with the aim that we meet the system requirements according to the system needs.

Testing is vital to the success of the system. System testing makes logical assumption that if all the parts
of the system are correct, we have achieved the mission successfully. System testing is the stage of
implementation that is aimed at assuring that the system works accurately and efficiently before the live
operation commences.

Testing includes several levels of testing. They are:


1. Unit testing
2. Integration testing

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


36
INDUSTRIAL VISIT TOUR PLANNER

3. System testing
4. Acceptance testing

6.1 UNIT TESTING


Unit testing is the first level of testing. In this process the code produced during the coding phase is
verified. The goal is to test the internal logic of the modules. This is also known as “module testing”.
The modules are tested separately; this testing is carried out during programming stage itself. In this
testing step each module such as packages, bookings, places is found to be working satisfactorily as
regard to the expected output from the module.

6.2 INTEGRATION TESTING


Integration testing is performed to check the correctness of the interface between the modules. The goal
is to see if the modules can be integrated properly. In this project all the modules are combined and then
entire program is tested as whole, thus in the integration step, all the errors uncovered for the next
testing steps

6.3 USER ACCEPTANCE TESTING


Acceptance testing is sometimes performed with realistic data of client to demonstrate that the software
is working satisfactorily.

The “INDUSTRIAL VISIT TOUR PLANNER” was tested and found to be working as expected. There
was no abnormal behaviour reported during the testing of the program. Testing is a method by which we
try reducing the testing efforts and bringing out the maximum output. Testing helps us in knowing
whether the logical assumptions that we have taken for the system are correct, and if they are correct, we
have obtained our goal. We test the system to know the errors, to check the validity of the information,
to also group the modules with the aim that we meet the system requirements according to the system
needs.

Testing is vital to the success of the system. System testing makes logical assumption that if all the parts
of the system are correct, we have achieved the mission successfully. System testing is the stage of

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


37
INDUSTRIAL VISIT TOUR PLANNER

implementation that is aimed at assuring that the system works accurately and efficiently before the live
operation commences.

6.4 TEST CASE DESIGN

Function Test condition Expected Actual result Status


tested result
name Entered non-characters Not allowed Not allowed Pass

Phone Entered more than 10 Not allowed Not allowed Pass


number digits
admin login Invalid username and Not allowed Not allowed Pass
password

e-mail Entered Invalid e-mail Not allowed Not allowed Pass

6.5 TEST REPORT AND DEBUGGING


Testing means verifying correct behaviour. Testing can be done at all stages of module development:
requirements analysis, interface design, algorithm design, implementation, and integration with other
modules. In the following, attention will be directed at implementation testing. Implementation testing is
not restricted to execution testing. An implementation can also be tested using correctness proofs, code
tracing, and peer reviews, as described below.

Debugging is a cyclic activity involving execution testing and code correction. The testing that is done
during debugging has a different aim than final module testing. Final module testing aims to
demonstrate correctness, whereas testing during debugging is primarily aimed at locating errors. This
difference has a significant effect on the choice of testing strategies.

 Report error conditions immediately - Much debugging time is spent zeroing in on the cause
of errors. The earlier an error is detected, the easier it is to find the cause. If an incorrect module
state is detected as soon as it arises then the cause can often be determined with minimal effort.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


38
INDUSTRIAL VISIT TOUR PLANNER

If it is not detected until the symptoms appear in the client interface then may be difficult to
narrow down the list of possible causes.

 Maximize useful information and ease of interpretation - It is obvious that maximizing useful
information is desirable, and that it should be easy to interpret. Ease of interpretation is important
in data structures. Some module errors cannot easily be detected by adding code checks because
they depend on the entire structure. Thus, it is important to be able to display the structure in a
form that can be easily scanned for correctness.

 Minimize useless and distracting information - Too much information can be as much of a
handicap as too little. If you have to work with a printout that shows entry and exit from every
procedure in a module then you will find it very difficult to find the first place where something
went wrong. Ideally, module execution state reports should be issued only when an error has
occurred. As a general rule, debugging information that says "the problem is here" should be
preferred in favor of reports that say "the problem is not here".

 Avoid complex one-use testing code - One reason why it is counterproductive to addmodule
correctness checks for errors that involve the entire structure is that the code to do so can be quite
complex. It is very discouraging to spend several hours debugging a problem, only to find that
the error was in the debugging code, not the module under test. Complex testing code is only
practical if the difficult parts of the code are reusable.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


39
INDUSTRIAL VISIT TOUR PLANNER

7. SYSTEM IMPLEMENTATION AND MAINTENANCE

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


40
INDUSTRIAL VISIT TOUR PLANNER

7. SYSTEM IMPLEMENTATION AND MAINTENANCE


Implementation is an activity that is contained throughout the development phase. It is the
process of bringing a developed system into operational use and turning it over to the
user. T h e n e w s ys t e m a n d i t s c o m p o n e n t s a r e t o b e t e s t e d i n a s t r u c t u r e d a n d
p l a n n e d m a n n e r . A successful system should be delivered and users should have the
confidence that the system would work efficiently and effectively. The more complex the
system being implemented the more involved will be the system analysis and design effort required
for implementation. I m p l e m e n t a t i o n i s t h e s t a g e o f t h e s ys t e m w h e n t h e t h e o r e t i c a l
d e s i g n i s t u r n e d i n t o working system. The implementation involves careful planning
investigation of the current s ys t e m a n d i t s c o n s t r a i n t s o n i m p l e m e n t i n g , d e s i g n o f
m e t h o d s t o a c h i e v e t h e c h a n g e o v e r , training of user over procedure and evaluation change
over method. There are three types of implementation:
1. Implementation of a computer system to replace a manual system. The problems involved are
converting files, training users, creating accurate files, and verifying printouts for integrity.
2. Implementation of a new computer system to replace an existing one. This is usually a
difficult conversion. If not properly planned, there can be many problems. Some larger systems have
taken as long as a year to convert.
3. Implementation of a modified application to replace an existing one using the same computer.
This type of conversion is relatively easy to handle, provided there are no major changes in files.

SYSTEM MAINTENANCE
Maintenance corresponds to restoring something to original conditions, covering a wide r a n g e o f
activities including correcting codes and design errors and updating user
s u p p o r t . Maintenance is performed most often to improve the existing software rather than to a crisis
or risk failure. The system would fail if not properly maintained. The software maintenance is an
important one in the software development because we have to spend more efforts for
maintenance. Software maintenance is to improve the softwa re quality according to the
requirements. After a system is successfully implemented, it should be maintained in a proper manner.
The need for system maintenance is to make the system adaptable to the changes in the
system environment. There may be social, economical or technical changes, which affect system being

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


41
INDUSTRIAL VISIT TOUR PLANNER

implemented. Software product enhancements may involve providing


n e w f u n c t i o n a l c a p a b i l i t i e s , i m p r o v i n g u s e r d i s p l a ys a n d m o d e o f i n t e r a c t i o n ,
u p g r a d i n g t h e p e r f o r m a n c e characteristics of the system. So only through proper system
maintenance procedures, the system can be adapted to cope with these changes. We may define
maintenance by describing four activities that are undertaken to after a program is released
for use. The first maintenance activity occurs because it is unreasonable to assume that software testing
will uncover all latent errors in a large software system. During the use of any
large p r o g r a m , e r r o r s w i l l o c c u r a n d b e r e p o r t e d t o t h e d e v e l o p e r . T h e p r o c e s s
t h a t i n c l u d e s t h e diagnosis and correction of one or more errors is called corrective maintenance.
The second activity that contributes to a definition of maintenance occurs because of the rapid change
that is encountered in every aspects of computing. Therefore, adaptive maintenance – an activity that
modifies software to properly interface with a changing environment is both necessary and
common place. The third activity that may be applied to a definition of
m a i n t e n a n c e o c c u r s w h e n a software package is successful. As the software is used,
recommendations for new capabilities, m o d i f i c a t i o n s t o e x i s t i n g f u n c t i o n s , a n d g e n e r a l
e n h a n c e m e n t s a r e r e c e i v e d f r o m u s e r s . T o satisfy requests in this category, perfective
maintenance is performed. This activity accounts for the majority of all efforts expended on software
maintenance.

The fourth maintenance activity occurs when software is changed to improve future
maintainability or reliability, or to provide a better basis for future enhancements. Often
called preventive maintenance, this activity is characterized by reverse engineering and re-engineering
techniques.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


42
INDUSTRIAL VISIT TOUR PLANNER

8. SCOPE OF PROJECT

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


43
INDUSTRIAL VISIT TOUR PLANNER

8. SCOPE OF PROJECT
The “INDUSTRIAL VISIT TOUR PLANNER” is a web application project, which is developed with
an intention to make the records stored in the database easier.

The “INDUSTRIAL VISIT TOUR PLANNER” is a time-saving and efficient project. The System can
use it to efficiently store all the data in a secure database. It is less prone to errors as the program checks
the data entered before saving it to database. If it finds any data to be unsatisfactory it shows a warning
to the user to correct the error.

It is extremely simple to use and quite powerful at the same time. It takes the load off the staff or admin
in the “INDUSTRIAL VISIT TOUR PLANNER” The system is very flexible and changes can be made
without much difficulty. The future extension in the system can be made in such a way that addition of
new modules can be done without much difficulty. The reconstruction of the system will increase the
flexibility of the system.

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


44
INDUSTRIAL VISIT TOUR PLANNER

9. FUTURE ENHANCEMENT

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


45
INDUSTRIAL VISIT TOUR PLANNER

9. FUTURE ENHANCEMENT
Any system which has been in use for a number of years gradually decays and become less effective
because of change in environment to which it has to be adapted. For the time being it is possible to
overcome problems by amendments and minor modifications to acknowledge the need of fundamental
changes.

“INDUSTRIAL VISIT TOUR PLANNER” satisfies the requirements of the management. The system is
developed in a user friendly manner. It has one module for manipulating the database. The application
can be enhanced in the future with the needs of the management. The database and the information can
be updated to the latest coming versions. There are also possibilities for enhancing and further
developing the project with the latest information and needs of the management, since the coding are in
procedural block formats, altering the code is also made easy.

All the functions have been done carefully and successfully in the software, and if any development is
necessary, in future it can be done without affecting the design by adding additional modules to the
system. Some of the enhancements that can increase the value of this application are the following:

“INDUSTRIAL VISIT TOUR PLANNER” is a system which is a first step to change the
“INDUSTRIAL VISIT TOUR PLANNER” of keeping the details of colleges and companies which are
as well as the other important information. This system will help the users to manage the advertisement
information and make sure that all the important data are able to be use in the future time

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


46
INDUSTRIAL VISIT TOUR PLANNER

10. CONCLUSION

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


47
INDUSTRIAL VISIT TOUR PLANNER

10. CONCLUSION
The project “INDUSTRIAL VISIT TOUR PLANNER” has been created with the intention of providing
a user with application which will suffice all needs for the details and other updates. All the
requirements specifications was followed as for as possible and few additional features were added that
can make the application more user friendly and less complicated. The project was successfully
completed within the time span allotted. All the modules are tested separately and put together to form
the main system. Finally the system is tested with real data and it worked successfully. Thus the system
has fulfilled the entire objective defined.

The project “INDUSTRIAL VISIT TOUR PLANNER” hSas been developed with the proper guidance.
A fully fledged user manual for this system is provided to the user for future working and functional
references. We hope the “INDUSTRIAL VISIT TOUR PLANNER” fulfils all the needs in possible
manner. The system has been developed in an interactive manner; the system is flexible, user friendly
and has its own full data security and all data recovery facility.

The Major Advantages Are:

 Easy retrieval of data available in database.


 Quick implementation of results.
 Very user friendly.
 Does not require large amount of memory.
 Very less manual work is needed.
 Very cost effective

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


48
INDUSTRIAL VISIT TOUR PLANNER

11. BIBLIOGRAPHY

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


49
INDUSTRIAL VISIT TOUR PLANNER

11. BIBLIOGRAPHY
Elias. M. Awad, “System Analysis and Design”, Galgoeia publications – Second Edition2005.
Henry Korth,” Data Base Design Concept”, Mc grew hill – Fifth Edition 2001.
Roger.S.Pressman,” Software Engineering “,Mc grew hill Fifth Edition 2006.
www.tutorialspoint.com

www.stackoverflow.com

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


50
INDUSTRIAL VISIT TOUR PLANNER

APPENDIX-A

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


51
INDUSTRIAL VISIT TOUR PLANNER

FORM 1: LOGIN

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>Login</h1>

<form action="logaction.jsp"><table>

<tr><td><input type="text" name="t1" placeholder="username" required="yes"/></td></tr>

<tr><td><input type="password" name="t2" placeholder="password"


required="yes"/></td></tr>

<tr><td> <input type="submit" value="LOGIN"/></td></tr>

<tr>

<td><a href="companyreg.jsp">Company Registration</a></td>

<td><a href="collegereg.jsp">College Registration</a></td></tr>

</table></form>

</body>

</html>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


52
INDUSTRIAL VISIT TOUR PLANNER

FORM 2: COLLEGE REGISTRATION

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>College Registration</h1>

<form action="collegeregaction.jsp" onsubmit="return check()"><table>

<tr><td>College type</td><td><select name="type">

<%

ResultSet rs=DB.executeQuery("select * from collegetype");

while(rs.next())

%>

<option value="<%=rs.getString("ctype") %>"><%=rs.getString("ctype")


%></option>

<%

%>

</select></td></tr>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


53
INDUSTRIAL VISIT TOUR PLANNER

<tr><td>College Name</td><td><input type="text" name="t2" id="t2"


required="yes"/></td></tr>

<tr><td>Address</td><td><textarea name="addr" cols="25" rows="5" id="addr"


required="yes"></textarea>></td></tr>

<tr><td>Affiliation</td><td><input type="text" name="t4" id="t4"


required="yes"/></td></tr>

<tr><td>College-Id</td><td><input type="text" name="cid" id="cid"


required="yes"/></td></tr>

<tr><td>Contact</td><td><input type="text" name="phone" id="phone"


required="yes"/></td></tr>

<tr><td>Email-Id</td><td><input type="email" name="email" id="email"


required="yes"/></td></tr>

<tr><td>User Name</td><td><input type="text" name="uname" id="uname"


required="yes"/></td></tr>

<tr><td>password</td><td><input type="password" name="pass" id="pass"


required="yes"/></td></tr>

<tr><td> <input type="submit" value="Register"/>

</table></form>

</body>

</html>

<script type="text/javascript">

var letters=/^[a-z A-Z]+$/;

var numbers=/^[0-9]+$/;

var phoneno = /^\d{10}$/;

function check()

if(!document.getElementById("phone").value.match(numbers))

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


54
INDUSTRIAL VISIT TOUR PLANNER

alert("Enter Numerics Only,Enter contact number !!!");

return false;

else if(!document.getElementById("t2").value.match(letters))

alert("Enter Alphabets Only,Enter College Name !!!");

return false;

else if(!document.getElementById("t4").value.match(letters))

alert("Enter Alphabets Only,Enter Affiliation !!!");

return false;

else if((!document.getElementById("phone").value.match(phoneno)))

alert("Enter Valid Phone number,please check your Phone number");

return false;

else

return true;

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


55
INDUSTRIAL VISIT TOUR PLANNER

</script>

<%@page import="java.sql.ResultSet"%>

<%@page import="DB.DB"%>

<%

String type = request.getParameter("type");

String cname = request.getParameter("t2");

String addr = request.getParameter("addr");

String affi = request.getParameter("t4");

String cid = request.getParameter("cid");

String phon = request.getParameter("phone");

String mail = request.getParameter("email");

String uname = request.getParameter("uname");

String pass = request.getParameter("pass");

String s = "insert into collegereg values(null ,'" + type + "','"+cname+"','"+ addr+"','"+ affi+"','"+
cid+"',"+ phon+",'"+mail+"')";

if (DB.executeUpdate(s))

ResultSet rs=DB.executeQuery("select max(regid) as id from collegereg");

rs.next();

String id=rs.getString("id");

if(DB.executeUpdate("insert into login values(null,'"+id+"','"+uname+"','"+pass+"','College')"))

response.sendRedirect("index.jsp");

else

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


56
INDUSTRIAL VISIT TOUR PLANNER

response.sendRedirect("collegereg.jsp");

%>

FORM 3: COMPANY REGISTRATION

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>Company Registration</h1>

<form action="companyregaction.jsp" onsubmit=" return check()"><table>

<tr><td>Company type</td><td><select name="type">

<%

ResultSet rs=DB.executeQuery("select * from companycate");

while(rs.next())

%>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


57
INDUSTRIAL VISIT TOUR PLANNER

<option value="<%=rs.getString("ctype") %>"><%=rs.getString("ctype")


%></option>

<%

%>

</select></td></tr>

<tr><td>Company Name</td><td><input type="text" name="t3" id="t3"


required="yes"/></td></tr>

<tr><td>Address</td><td><textarea name="addr" cols="25" rows="5" id="addr"


required="yes"></textarea></td></tr>

<tr><td>Contact</td><td><input type="text" name="phone" id="phone"


required="yes"/></td></tr>

<tr><td>Email-Id</td><td><input type="email" name="email" id="email"


required="yes"/></td></tr>

<tr><td>Website</td><td><input type="text" name="site" id="site"


required="yes"/></td></tr>

<tr><td>User Name</td><td><input type="text" name="uname" id="uname"


required="yes"/></td></tr>

<tr><td>Password</td><td><input type="password" name="pass" id="pass"


required="yes"/></td></tr>

<tr><td> <input type="submit" value="Register"/>

</table></form>

</body>

</html>

<script type="text/javascript">

var letters=/^[a-z A-Z]+$/;

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


58
INDUSTRIAL VISIT TOUR PLANNER

var numbers=/^[0-9]+$/;

var phoneno = /^\d{10}$/;

function check()

if(!document.getElementById("phone").value.match(numbers))

alert("Enter Numerics Only,Enter contact number !!!");

return false;

else if(!document.getElementById("t3").value.match(letters))

alert("Enter Alphabets Only,Enter Company Name !!!");

return false;

else if((!document.getElementById("phone").value.match(phoneno)))

alert("Enter Valid Phone number,please check your Phone number");

return false;

else

return true;

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


59
INDUSTRIAL VISIT TOUR PLANNER

</script>

<%

String id = request.getParameter("id");

String type = request.getParameter("type");

String text = request.getParameter("t3");

String address = request.getParameter("addr");

String pon = request.getParameter("phone");

String mail = request.getParameter("email");

String site = request.getParameter("site");

String username = request.getParameter("uname");

String password = request.getParameter("pass");

String s = "insert into companyreg values('"+id+"','"+ type+"','"+ text+"','"+ address+"',"+ pon+",'"+


mail+"','"+ site+"')";

if (DB.executeUpdate(s))

ResultSet rs=DB.executeQuery("select max(rid) as id from companyreg");

rs.next();

String cid=rs.getString("id");

if(DB.executeUpdate("insert into login


values("+"null"+",'"+cid+"','"+username+"','"+password+"','Company')"))

response.sendRedirect("index.jsp");

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


60
INDUSTRIAL VISIT TOUR PLANNER

else

response.sendRedirect("companyreg.jsp");

%>

FORM 4: BOOKING

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<center>

<h1>IV BOOKING</h1>

<form action="bookingaction.jsp">

<table>

<%

ResultSet rs=DB.executeQuery("select * from companyreg where


rid='"+request.getParameter("id")+"'");

rs.next();

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


61
INDUSTRIAL VISIT TOUR PLANNER

%>

<tr>

<td>Company Id:</td>

<td><input type="text" name="t1" value="<%=rs.getString("rid")%>"/></td>

</tr>

<tr>

<td>Company Name:</td>

<td><input type="text" name="t2" value="<%=rs.getString("cname")%>"/></td>

</tr>

<tr>

<td>IV Date:</td>

<td><input type="date" name="t3" required="yes"/></td>

</tr>

<%

ResultSet rs1=DB.executeQuery("select * from collegereg where


regid="+session.getAttribute("id1")+"");

rs1.next();

%>

<tr>

<td>College:</td>

<td><input type="text" name="t4" value="<%=rs1.getString("cname")%>"/></td>

</tr>

<tr>

<td>No of Students:</td>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


62
INDUSTRIAL VISIT TOUR PLANNER

<td><input type="number" name="t5" required="yes"/></td>

</tr>

<tr>

<td></td>

<td><input type="submit" value="Book Now"/></td>

</tr>

</table>

</form>

</center>

</body>

</html>

<%

String cid = request.getParameter("t1");

String cname = request.getParameter("t2");

String ivdte = request.getParameter("t3");

String college= request.getParameter("t4");

String nstud = request.getParameter("t5");

String s = "insert into booking


values("+"null"+",'"+cid+"','"+cname+"','"+ivdte+"','"+college+"',"+nstud+",'Waiting')";

if (DB.executeUpdate(s))

response.sendRedirect("companyregview_1.jsp");

else

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


63
INDUSTRIAL VISIT TOUR PLANNER

response.sendRedirect("booking.jsp");

%>

FORM 4: SCHEDULE

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<form action="scheduleaction.jsp">

<table>

<tr>

<td>Booking No:</td>

<td><input type="text" name="t1" value="<%=request.getParameter("id")%>"/></td>

</tr>

<tr>

<td>Entry Time:</td>

<td><input type="time" name="t2"/></td>

</tr>

<tr>

<td>Exit Time:</td>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


64
INDUSTRIAL VISIT TOUR PLANNER

<td><input type="time" name="t3"/></td>

</tr>

<tr>

<td></td>

<td><input type="submit" value="SUBMIT"/></td>

</tr>

</table>

</form>

</body>

</html>

<%

String bno = request.getParameter("t1");

String entime = request.getParameter("t2");

String extime = request.getParameter("t3");

String s = "insert into schedule values("+"null"+","+bno+",'" +entime+ "','"+extime+"')";

if (DB.executeUpdate(s))

response.sendRedirect("viewclgiv.jsp");

else

response.sendRedirect("viewclgiv.jsp");

%>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


65
INDUSTRIAL VISIT TOUR PLANNER

FORM 5: STUDENT REGISTRATION

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>Student Registration</h1>

<form action="studregaction.jsp"><table>

<tr><td></td><td><input type="hidden" name="t"


value="<%=request.getParameter("id")%>"/></td></tr>

<tr><td>Student Id/Reg No:</td><td><input type="text" name="t1"/></td></tr>

<%

ResultSet rs=DB.executeQuery("select * from collegereg where


regid="+session.getAttribute("id1")+"");

rs.next();

%>

<tr><td>Student Name</td><td><input type="text" name="t2"/></td></tr>

<tr><td>Institution</td><td><input type="text" name="t3"


value="<%=rs.getString("cname")%>"/></td></tr>

<tr><td>Course</td><td><input type="text" name="t4"/></td></tr>

<tr><td>Semester</td><td><input type="text" name="t5"/></td></tr>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


66
INDUSTRIAL VISIT TOUR PLANNER

<tr><td>Contact</td><td><input type="text" name="t6"/></td></tr>

<tr><td>Email-Id</td><td><input type="email" name="t7"/></td></tr>

<tr><td> <input type="submit" value="ADD"/>

</table></form>

</body>

</html>

<%

String bno= request.getParameter("t");

String id= request.getParameter("t1");

String name = request.getParameter("t2");

String inst = request.getParameter("t3");

String corse = request.getParameter("t4");

String sem = request.getParameter("t5");

String contact = request.getParameter("t6");

String email = request.getParameter("t7");

String s = "insert into studreg


values('"+id+"','"+name+"','"+inst+"','"+corse+"','"+sem+"',"+contact+",'"+email+"',"+bno+")";

if (DB.executeUpdate(s))

response.sendRedirect("studentreg.jsp?id="+bno);

else

response.sendRedirect("studentreg.jsp");

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


67
INDUSTRIAL VISIT TOUR PLANNER

%>

FORM 6: COMPANY SERVICE

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>Company Service</h1>

<form action="companyserviceaction.jsp" onsubmit="return check()"><table>

<%

ResultSet rs=DB.executeQuery("select * from companyreg where


rid='"+session.getAttribute("id")+"'");

rs.next();

%>

<tr><td>Company Name</td><td><input type="text" name="cname"


value="<%=rs.getString("cname")%>"/></td></tr>

<tr><td>Departments</td><td><input type="text" name="dep" id="dep"


required="yes"/></td></tr>

<tr><td>Seminar/Talk</td><td><input type="radio" name="radiobutton1" value="yes"/>Yes


&nbsp&nbsp

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


68
INDUSTRIAL VISIT TOUR PLANNER

<input type="radio" name="radiobutton1" value="no"/>No</td></tr>

<tr><td>Workshop</td><td><input type="radio" name="radiobutton2" value="yes"/>Yes

&nbsp&nbsp<input type="radio" name="radiobutton2" value="no"/>No</td></tr>

<tr><td>Company Tour</td><td><input type="radio" name="radiobutton3" value="yes"/> Yes

&nbsp&nbsp<input type="radio" name="radiobutton3" value="no"/>No</td></tr>

<tr><td>Duration</td><td><input type="text" name="time" id="time" required="yes"/></td></tr>

<tr><td>Payment</td><td><input type="number" name="pay" id="pay"


required="yes"/></td></tr>

<tr><td>Number of members</td><td><input type="number" name="num" id="num"


required="yes"/></td></tr>

<tr><td> <input type="submit" value="Submit"/>

</table></form>

</body>

</html>

<%

String id = request.getParameter("cname");

String department = request.getParameter("dep");

String m1 = request.getParameter("radiobutton1");

String m2 = request.getParameter("radiobutton2");

String m3 = request.getParameter("radiobutton3");

String time = request.getParameter("time");

String payment = request.getParameter("pay");

String number = request.getParameter("num");

String s = "insert into companyservice values('"+ id+"','"+ department+"','"+ m1+"','"+ m2+"','"+


m3+"','"+ time+"',"+ payment+","+ number+")";

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


69
INDUSTRIAL VISIT TOUR PLANNER

if (DB.executeUpdate(s))

response.sendRedirect("index.jsp");

else

response.sendRedirect("companyservice.jsp");

%>

FORM 7: COMPANY HOME

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<a href="companyservice.jsp">Company Services</a><br>

<a href="viewbooking.jsp">IV Bookings</a><br>

<a href="viewclgiv.jsp">IV Schedule</a><br>

</body>

</html>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


70
INDUSTRIAL VISIT TOUR PLANNER

FORM 8: USER HOME

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>User Home</h1>

<a href="company.jsp">Add company Type</a><br>

<a href="companyserviceview.jsp">company services</a><br>

<a href="collegecate.jsp">Add college Type</a><br>

<a href="companycate.jsp">Add company Type</a><br></br></br></br></br></br>

</body>

</html>

FORM 9: ADMIN HOME

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<h1>Admin home</h1>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


71
INDUSTRIAL VISIT TOUR PLANNER

<a href="companycate.jsp">Add company Type</a><br>

<a href="collegetype.jsp">Add college Type</a><br>

<a href="collegetypeview.jsp">college Type view</a><br>

<a href="companycate.jsp">Add company Type</a><br>

<a href="companycateview.jsp">college Type view</a><br>

<a href="companyregview.jsp">Company details</a><br>

<a href="collegeregview.jsp">College details</a><br>

</br></br></br></br></br>

</body>

</html>

FORM 10: BOOKING VIEW

<%@page import="DB.DB"%>

<%@page import="java.sql.ResultSet"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>JSP Page</title>

</head>

<body>

<form>

<table border="2">

<tr>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


72
INDUSTRIAL VISIT TOUR PLANNER

<th>Booking No</th>

<th>Company Id</th>

<th>Company Name</th>

<th>IV Date</th>

<th>College</th>

<th>No of Students</th>

<th>Entry Time</th>

<th>Exit Time</th>

<th>Status</th>

<th>

</th>

</tr>

<%

ResultSet rs=DB.executeQuery("select * from booking where college=(select cname from


collegereg where regid="+session.getAttribute("id1")+")");

// System.out.println("select * from booking where college=(select cname from collegereg


where regid="+session.getAttribute("id1")+")");

while(rs.next())

String a=rs.getString("bno");

%>

<tr>

<td><%=rs.getString("bno")%></td>

<td><%=rs.getString("rid")%></td>

<td><%=rs.getString("cname")%></td>

<td><%=rs.getString("ivdate")%></td>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


73
INDUSTRIAL VISIT TOUR PLANNER

<td><%=rs.getString("college")%></td>

<td><%=rs.getString("nstud")%></td>

<%

ResultSet rs1=DB.executeQuery("select * from schedule where bno="+a+"");

if(rs1.next())

%>

<td><%=rs1.getString("entime")%></td>

<td><%=rs1.getString("extime")%></td>

<%

else

%>

<td>Not scheduled</td>

<td>Not scheduled</td>

<%

}%>

<td style="color: red"><b><%=rs.getString("status")%></b></td>

<td><a href="bcancel.jsp?id=<%=rs.getString("bno")%>">Cancel</a> / <a


href="studentreg.jsp?id=<%=rs.getString("bno")%>">Add Students</a></td>

<td> <a href="studregview.jsp?id=<%=rs.getString("bno")%>">Students</a></td>

</tr>

<%}%>

</table>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


74
INDUSTRIAL VISIT TOUR PLANNER

</form>

</body>

</html>

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


75
INDUSTRIAL VISIT TOUR PLANNER

APPENDIX-B

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


76
INDUSTRIAL VISIT TOUR PLANNER

FORM 1: LOGIN

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA


77
INDUSTRIAL VISIT TOUR PLANNER

APPENDIX-C

CHINMAYA COLLEGE OF ARTS, COMMERCE AND SCIENCE BCA

También podría gustarte